View previous topic :: View next topic |
Author |
Message |
LittleKing n00b
Joined: 04 Jul 2002 Posts: 15 Location: TN, USA
|
Posted: Sat Aug 17, 2002 12:50 am Post subject: Loaded wrong kernel during install |
|
|
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 |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sat Aug 17, 2002 6:15 am Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat Aug 17, 2002 6:21 am Post subject: |
|
|
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 |
|
|
LittleKing n00b
Joined: 04 Jul 2002 Posts: 15 Location: TN, USA
|
Posted: Sat Aug 17, 2002 10:43 pm Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat Aug 17, 2002 10:58 pm Post subject: |
|
|
Go for it. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
|