Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] restart from a previous config
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
augustin2
Apprentice
Apprentice


Joined: 16 Mar 2012
Posts: 244
Location: France

PostPosted: Thu Nov 15, 2012 7:51 am    Post subject: [SOLVED] restart from a previous config Reply with quote

Hi,
I am trying to install Gentoo and as I am far from being an expert, I humbly start with
Code:
genkernel all
.
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
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Nov 15, 2012 3:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Fri Nov 16, 2012 4:23 am    Post subject: Reply with quote

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
View user's profile Send private message
augustin2
Apprentice
Apprentice


Joined: 16 Mar 2012
Posts: 244
Location: France

PostPosted: Fri Nov 16, 2012 9:55 am    Post subject: Reply with quote

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
View user's profile Send private message
augustin2
Apprentice
Apprentice


Joined: 16 Mar 2012
Posts: 244
Location: France

PostPosted: Fri Nov 16, 2012 10:54 am    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Nov 16, 2012 11:03 am    Post subject: Re: How to restart from a previous config let by genkernel a Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Nov 16, 2012 11:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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