Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
another grun problem :(
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
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Tue Sep 03, 2002 7:48 pm    Post subject: another grun problem :( Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Sep 03, 2002 7:51 pm    Post subject: Re: another grun problem :( Reply with quote

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
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Tue Sep 03, 2002 8:06 pm    Post subject: Re: another grun problem :( Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Sep 03, 2002 8:16 pm    Post subject: Reply with quote

What does Grub output for the find command? From the Grub menu, 'find /boot/bzImage'
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Tue Sep 03, 2002 8:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
rommel
Veteran
Veteran


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

PostPosted: Tue Sep 03, 2002 9:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Tue Sep 03, 2002 9:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Tue Sep 03, 2002 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Sep 03, 2002 10:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Tue Sep 03, 2002 11:24 pm    Post subject: Reply with quote

thanks
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