Opensuse 11.2 is there a way of getting suse to rewrite the config file.

Hi Team,

I have a question during a new kernel compilation (I made a backup of my .config) file) However I ran into issues during the make oldconfig process and unfortunately I issued a make clean followed by a mrproper which cleared my existing .config file.
Since I have a backup of my previous .config file is there of restoring without changing the permission rights to file?

-r–r–r-- 1 root root 27754 2010-09-03 22:39 /proc/config.gz

I’ve tried fail safe with no luck?

I don’t know, can’t you change the permission, restore then change the permission back?

Also, you should post this question in the programming/script forum, where I would reply the same as above.

On 2010-09-04 08:06, suselizard32 wrote:
>
> Hi Team,
>
> I have a question during a new kernel compilation (I made a backup
> of my .config) file) However I ran into issues during the make oldconfig
> process and unfortunately I issued a make clean followed by a mrproper
> which cleared my existing .config file.
> Since I have a backup of my previous .config file is there of restoring
> without changing the permission rights to file?
>
> -r–r–r-- 1 root root 27754 2010-09-03 22:39 /proc/config.gz

That file is not a file. Not a real one. It is generated in memory from the configuration of the
running kernel. If you run “make cloneconfig” that pseudofile will be copied over .config in the
kernel source tree.

Don’t ever use mrproper on suse kernel sources from the rpm, it destroys things. I would install the
kernel-source.rpm again


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

thanks for info,

fixed thank you so much!