View previous topic :: View next topic |
Author |
Message |
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Tue Sep 03, 2002 7:48 pm Post subject: another grun problem :( |
|
|
I have 1 disk on which only gentoo will be installed.
I have set drive up as follows
partition 1 primary = boot
partition 2 primary = swap
partition 3 extended
partition 5 logical = /
partition 6 logical =/home
i have set grub as
root (hd0,0)
setup (hd0)
menu.lst is entries are
root (hd0,0)
kernel /boot/bzImage root=/dev/hda5
when i boot i see splash screen, but when i select my entry it says
error 15 file not found
any ideas where i am going wrong?
Last edited by carpman on Tue Sep 03, 2002 8:06 pm; edited 1 time in total |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Sep 03, 2002 7:51 pm Post subject: Re: another grun problem :( |
|
|
carpman wrote: | kernel /boot/bzImage/ root=/dev/hda5 | /boot/bzImage/ should probably lose the trailing /
root=/dev/hda4 _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Tue Sep 03, 2002 8:06 pm Post subject: Re: another grun problem :( |
|
|
kanuslupus wrote: | carpman wrote: | kernel /boot/bzImage/ root=/dev/hda5 | /boot/bzImage/ should probably lose the trailing /
root=/dev/hda4 |
Thanks for reply, sorry that was typo, there is no slash in real entry but i have tried just to see, and it is not hda4 as you suggest, logical partition so has to be 5. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Sep 03, 2002 8:16 pm Post subject: |
|
|
What does Grub output for the find command? From the Grub menu, 'find /boot/bzImage' _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Tue Sep 03, 2002 8:20 pm Post subject: |
|
|
kanuslupus wrote: | What does Grub output for the find command? From the Grub menu, 'find /boot/bzImage' |
error 15 file not found |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Tue Sep 03, 2002 9:53 pm Post subject: |
|
|
do you have a grub floppy?...if so have you tried booting using it and telling it the info it needs...basically what you would do is eneter in the info that is in your menu.lst but it doesnt look for the stage1,1.5&2 files since they are on the floppy....so if it loads you should try reinstalling grub to the hard drive using the grub floppy |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Tue Sep 03, 2002 9:58 pm Post subject: |
|
|
carpman wrote: | kanuslupus wrote: | What does Grub output for the find command? From the Grub menu, 'find /boot/bzImage' |
error 15 file not found |
That would definately be the reason why you get that file not found error when booting then. a "find /boot/bzImage" looks for the file. if it's not there, then you get the file not found. you probably need to copy over the file from /usr/src/linux/arch/i386/boot/bzImage to /boot/bzImage. |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Tue Sep 03, 2002 10:42 pm Post subject: |
|
|
seems the BzImage was not created when the kernel was compiled. i have look for but cannot find it, i booted install cd rom and ran through mount commands and entered chroot to do this, what is best way to recompile kernel and ensure that BzImage is created and put in right place?
many thanks |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Sep 03, 2002 10:51 pm Post subject: |
|
|
carpman wrote: | what is best way to recompile kernel and ensure that BzImage is created and put in right place? |
Code: | # chroot /mnt/gentoo /bin/bash
# env-update
# cd /usr/src/linux
# make menuconfig
make sure you are happy, exit, save if necessary
# make dep
# make clean
# make bzImage
# ls arch/i386/boot/bzImage
# make modules
# make modules_install
these last two only if you have any kernel modules
# mount /boot
# cp arch/i386/boot/bzImage /boot/bzImage |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Tue Sep 03, 2002 11:24 pm Post subject: |
|
|
thanks |
|
Back to top |
|
|
|