Gentoo linux a.k.a How I wasted 3 hours!

agnitrate

Diamond Member
Jul 2, 2001
3,761
1
0
Ok, I am on the last step of installing gentoo. Here we go, installing grub and now I am finally booting!

Error 15: File not found

Me: Oh crap! I didn't move the bzImage from the /usr/src/linux/arch/i386/boot directory!
Me: Oh crap! I didn't config grub for the right kernel info then!
Me: Oh crap! Grub certainly won't let me specify kernel /usr/src/linux/arch/i386/boot for the image because all linux wants me to die!

Is there any way I can make grub work so it detects my bzImage file in the previously stated directory?
Or is there any way I can get access to my root partition so I can move the bzImage to its proper /boot directory?

I really don't want to spend another ~3 hours compiling all this just because I forgot one step. Linux gurus, I need you please!

-silver
 

dalnar

Senior member
May 7, 2001
222
0
0
Ok ... try this.

Boot off the install CD. When you get to the prompt mount your / and /boot partitions.
(same as the install repeated below)

mkdir /mnt/gentoo
mount /dev/hdax /mnt/gentoo (replace x with the correct number of course)
mkdir /mnt/gentoo/boot
mount /dev/hdax /mnt/gentoo/boot

then you should be able to copy /mnt/gentoo/usr/src/linux...bzImage to /mnt/gentoo/boot

You could also use nano to edit you menu.lst file if that is needed ... hope that helps.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
If /boot and / are the same partition just hit 'e' on the Grub menu and specify the kernel path, you can even use tab completion for filenames.
 

agnitrate

Diamond Member
Jul 2, 2001
3,761
1
0
Thanks both of you, dalnar and Nothinman!

You guys saved my life!

I did what you said dalnar and mounted the boot and / dirs and copied the file over. Then I checked my fstab file to be sure everything was spiffy and low and behold, for some odd reason hda3 (my / partition) was shown to be an xfs partition, the default partition. I found it odd that gentoo would have that as a default but whatever.

It's all loaded up now thanks to you guys! Thanks!

-silver
 

Chatterjee

Senior member
Nov 16, 1999
855
0
0
remember that /boot is not mounted automatically. you must issue "mount /boot" if you want to copy over a newly compiled bzImage



chatterjee
 

rahvin

Elite Member
Oct 10, 1999
8,475
1
0
Originally posted by: agnitrate
Thanks both of you, dalnar and Nothinman!

You guys saved my life!

I did what you said dalnar and mounted the boot and / dirs and copied the file over. Then I checked my fstab file to be sure everything was spiffy and low and behold, for some odd reason hda3 (my / partition) was shown to be an xfs partition, the default partition. I found it odd that gentoo would have that as a default but whatever.

It's all loaded up now thanks to you guys! Thanks!

-silver

One of the installation steps is to configure the fstab. It come with one by default that shows a line for each type of filesystem people might use to help them with the syntax. You followed all the directions right?
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |