Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Loaded wrong kernel during install
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
LittleKing
n00b
n00b


Joined: 04 Jul 2002
Posts: 15
Location: TN, USA

PostPosted: Sat Aug 17, 2002 12:50 am    Post subject: Loaded wrong kernel during install Reply with quote

Hello all,

When I was going through the install I emerged a different kernel than I wanted. I was wanting the openmosix, but I was just blindly following the steps and loaded the gentoo-sources kernel instead. I didn't realize this until I'd copied the bzImage to /boot.

Code:
# emerge sys-kernel/gentoo-sources
# cd /usr/src/linux
# make menuconfig
# make dep && make clean bzImage modules modules_install
# cp /usr/src/linux/arch/i386/boot/bzImage /boot


I'm not very familiar with how kernels work, or in other words, I haven't complied kernels that often to understand how to replace them. My question to you is at this point how would I get the openmosix kernel complied and installed? Would all I have to do is follow the above code entires again but just load the correct kernel this time?

Thanks for the feedback,
LK
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Sat Aug 17, 2002 6:15 am    Post subject: Reply with quote

so are you still working from the install cd?

if you are...
Code:
#rm -rf /usr/src/linux
and
Code:
#rm -rf /usr/src/linux-2.blahblahblah
the second being the actually directory, the first is a symlink to it. then emerge the sources you wanted in the first place recompile the kernel cp to boot..it will overwrite the old (wrong) bzImage
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Aug 17, 2002 6:21 am    Post subject: Reply with quote

No, don't rm -rf it. You want to "emerge unmerge gentoo-sources" -- that way Portage won't try to download updates for it in a future emerge -u world. Then just emerge openmosix-sources, and you should be all set.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
LittleKing
n00b
n00b


Joined: 04 Jul 2002
Posts: 15
Location: TN, USA

PostPosted: Sat Aug 17, 2002 10:43 pm    Post subject: Reply with quote

Code:
emerge unmerge gentoo-sources


When I did this it said it "Could not find any matching installed packages".

Should I asume it is safe to continue to emerge the correct kernel?

Thanks,
LK
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Aug 17, 2002 10:58 pm    Post subject: Reply with quote

Go for it.
_________________
I don't believe in witty sigs.
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