Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New fresh kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
farmer.ro
Apprentice
Apprentice


Joined: 20 Aug 2016
Posts: 179

PostPosted: Wed Nov 23, 2016 9:56 am    Post subject: New fresh kernel Reply with quote

I messed up my genkernel-next and would like a default clean fresh kernel
I removed the gentoo sources + the kernel files in /usr/src - /lib/modules - /boot
And used the make mrproper

The problem is everythime i run
Code:
genkernel --luks --lvm --busybox --menuconfig all

It keeps remembering the old kernel setup and i can not get a clean default kernel, how do i do that?
Back to top
View user's profile Send private message
farmer.ro
Apprentice
Apprentice


Joined: 20 Aug 2016
Posts: 179

PostPosted: Wed Nov 23, 2016 10:11 am    Post subject: Reply with quote

I removed /etc/genkernel.conf and now i have no working kernel and i can not compile a new kernel because of the missing genkernel.conf so my computer is dead
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21782
Location: here

PostPosted: Wed Nov 23, 2016 10:30 am    Post subject: Reply with quote

farmer.ro wrote:
I removed /etc/genkernel.conf and now i have no working kernel and i can not compile a new kernel because of the missing genkernel.conf so my computer is dead

You can re-emerge genkernel for re-creating genkernel.conf
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
farmer.ro
Apprentice
Apprentice


Joined: 20 Aug 2016
Posts: 179

PostPosted: Wed Nov 23, 2016 10:57 am    Post subject: Reply with quote

i got the genkernel.conf back but the problem is i can not get a fresh default kernel:

every time i "genkernel --luks --lvm --busybox --menuconfig all" it seems to remember my previous selected kernel options, and i can not get a default kernel setup
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21782
Location: here

PostPosted: Wed Nov 23, 2016 11:00 am    Post subject: Reply with quote

Try with option
man genkernel wrote:
--[no-]mrproper
Runs, or does not run, "make mrproper" before compilation - this erases both any compiled object files in the kernel source tree as well as the kernel configuration.

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
farmer.ro
Apprentice
Apprentice


Joined: 20 Aug 2016
Posts: 179

PostPosted: Wed Nov 23, 2016 11:15 am    Post subject: Reply with quote

fedeliallalinea wrote:
Try with option
man genkernel wrote:
--[no-]mrproper
Runs, or does not run, "make mrproper" before compilation - this erases both any compiled object files in the kernel source tree as well as the kernel configuration.


that does not help, genkernel keeps using my old kernel setup
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21782
Location: here

PostPosted: Wed Nov 23, 2016 11:21 am    Post subject: Reply with quote

farmer.ro wrote:
that does not help, genkernel keeps using my old kernel setup

I think beacuse in genkernel.conf you have setted OLDCONFIG="yes" and this option force --no-clean --no-mrproper,
man genkernel wrote:
--oldconfig
Implies --no-clean, and thus --no-mrproper, running a "make oldconfig".

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum