View previous topic :: View next topic |
Author |
Message |
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Thu Nov 15, 2012 7:51 am Post subject: [SOLVED] restart from a previous config |
|
|
Hi,
I am trying to install Gentoo and as I am far from being an expert, I humbly start with
.
All seems to be well and I can manage to start my new gentoo
Where things turn out to be more difficult is when I intend to install the X server. I am told to make complements to the kernel config I got without any merit at all, with genkernel.
I say to myself go to /usr/src/linux et launch a Code: | genkernel --menuconfig all | , so we will restart from our previous conf and take into account modification.
Things seem to be different as my kernel compile crashes.
My question is how to restart from the config a genkernel all has let in order to improve it step by step ?
Thanks.
Last edited by augustin2 on Fri Nov 16, 2012 4:43 pm; edited 2 times in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Nov 15, 2012 3:21 pm Post subject: |
|
|
genkernel --menuconfig all is the correct answer to "How do I modify a genkernel kernel?".
Did you change any entries outside the Graphics support section?
Suggest posting a photo of the crash screen on a free photo site and posting the url here.
Suggest boot cd, mount gentoo partitions, enter chroot, nominally: Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1" | then Code: | emerge linux-firmware pciutils usbutils gentoolkit wgetpaste
lspci -k | wgetpaste
wgetpaste /usr/src/linux/.config
emerge --info | wgetpaste | post the url's returned.
General opinion would be that a manual kernel based on http://www.kernel-seeds.org is best. Unfortunately Pappy's site is down as I write this. _________________ Defund the FCC. |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri Nov 16, 2012 4:23 am Post subject: |
|
|
DONAHUE wrote: |
General opinion would be that a manual kernel based on http://www.kernel-seeds.org is best. Unfortunately Pappy's site is down as I write this. |
FWIW - his seeds page is mirrored at
kernelseeds.bloodnoc.org
kernel-seeds.audiodef.com
(and there may be others) _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Fri Nov 16, 2012 9:55 am Post subject: |
|
|
Many thanks to you both.
I am presently reading pappy s' site.
May be I will come back here after a while. |
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Fri Nov 16, 2012 10:54 am Post subject: |
|
|
Hi,
just one things that is not perfectly clear to me.
In order to start with a seed from Pappy 's site where should I place it , should I rename it , and what command to run first ? |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Nov 16, 2012 11:03 am Post subject: Re: How to restart from a previous config let by genkernel a |
|
|
augustin2 wrote: | My question is how to restart from the config a genkernel all has let in order to improve it step by step ? | The answer to this specific question is, include the --no-clean option, as in Code: | genkernel --no-clean --menuconfig all | This also has the effect of keeping genkernel from erasing all work products and starting completely over, which'll save you a lot of time while tweaking the kernel. This option (and many others) can be set in the /etc/genkernel.conf file. I recommend setting --no-clean in there so you don't forget and erase your in-progress kernel .config. You'll also probably want to set- MAKEOPTS
- MOUNTBOOT
- SYMLINK
Have a look around.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Nov 16, 2012 11:08 am Post subject: |
|
|
augustin2 wrote: | In order to start with a seed from Pappy 's site where should I place it , should I rename it , and what command to run first ? | Place it it /usr/src/linux, named ".config", and include the --oldconfig option on the genkernel command line just once.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|