Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
creating a general kernel image (non genkernel)
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
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Thu Sep 01, 2011 8:45 am    Post subject: creating a general kernel image (non genkernel) Reply with quote

Hello,

I'm about to upgrade my e8400 to a i7-2600, hw change includes new cpu, mb, memory and gpu addition to existing one.
I plan to pass all three hds with gentoo on it to the new comp.

my main goal is to create a gen kernel which I use to startup the new build first, then reconfigure my existing kernel and reboot again with the new modified kernel.\

as I don't use genkernel, I'd like to refrain from using it, I just wanted to verify, will defconfig give me what I need? or should I use allmodconfig or allyesconfig instead?

Thanks.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 874

PostPosted: Thu Sep 01, 2011 9:42 am    Post subject: Reply with quote

i think it's best to work from a live-cd in a chroot.
build your new box with everything, then boot the live-cd, mount everything and chroot inside. from there you can recompile the kernel; basically you only have to change the cpu and chipset stuff and maybe some newer features your old processor did not have.
depending on your CFLAGS it might be good to emerge -eDN system/world before.
it did the same thing some time ago and there were no (serious) problems.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Thu Sep 01, 2011 10:16 am    Post subject: Reply with quote

DawgG wrote:
i think it's best to work from a live-cd in a chroot.
build your new box with everything, then boot the live-cd, mount everything and chroot inside. from there you can recompile the kernel; basically you only have to change the cpu and chipset stuff and maybe some newer features your old processor did not have.
depending on your CFLAGS it might be good to emerge -eDN system/world before.
it did the same thing some time ago and there were no (serious) problems.
GOOD LUCK!


I know of this way, I'd rather not do that as I need to got an look for a new kernel release livecd
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 874

PostPosted: Thu Sep 01, 2011 2:47 pm    Post subject: Reply with quote

Quote:
I need to got an look for a new kernel release livecd

no, you don't. just use a recent systemrescuecd www.sysresccd.org or sth. like it. (of course, it should be able to boot your system). chroot will do the rest for you.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
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