Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New raid install boot problem [SOLVED]
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
SweepingOar
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 263
Location: LA

PostPosted: Tue Jul 17, 2007 7:37 am    Post subject: New raid install boot problem [SOLVED] Reply with quote

I'm on my second try with a raid 1 gentoo installation. I'm following the gentoo manual and the howto here:
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID
When I reboot, Grub comes up with the splash ok, but then I get the following error:
Code:
  Booting 'Gentoo Linux 2.6.21-r4'

root (hd0,0)
 Filesystem type is reiserfs, partition type 0xfd
kernel /bzImage root=/dev/md3

Error 15: File not found

Press any key to continue...


I'm thinking that either I set up fstab wrong or maybe the kernel /bzImage was an example and not something I should have just typed right in.

I'm using this partition scheme:
Code:
/dev/hda1      /boot         32MB
/dev/hda2      swap          >=2*RAM
/dev/hda3      /             10GB
/dev/hda4      /home         180GB


with the same for my second drive (hdc).

Any help would be appreciated. I'm not sure I'll be able to figure out how to restart the system from the minimal cd and then re-mount the raid without recreating it so I can edit either my grub.conf or fstab, so advice there would be great as well. Thanks.
_________________
-SweepingOar


Last edited by SweepingOar on Tue Jul 17, 2007 5:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
neysx
Retired Dev
Retired Dev


Joined: 27 Jan 2003
Posts: 795

PostPosted: Tue Jul 17, 2007 10:48 am    Post subject: Reply with quote

Error 15: File not found means there's no kernel named bzImage at the given location (hd0,0)
See http://www.gentoo.org/doc/en/grub-error-guide.xml#doc_chap4

You don't have to boot from a LiveCD, but you can. Just reassemble your raid, do not create it again (-A or --assemble instead of -C or --create)

The easiest is to enter interactive grub. Press 'e' to edit your boot entry and change the kernel line to point to your actual kernel, use tab completion.
If you did copy it to /boot, /[tab] will list the files in the /boot directory, pick the right one.
If you forgot to copy it, edit the kernel line and use something like (hd0,2)/usr/src/linux/arch/i386/boot/bzImage root=/dev/md3

FYI, http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml


Hth
Back to top
View user's profile Send private message
SweepingOar
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 263
Location: LA

PostPosted: Tue Jul 17, 2007 5:41 pm    Post subject: Reply with quote

Thanks, that solved it. For anyone else, here are the steps I used:

When I got to the grub screen I hit 'e' to edit. Then I edited kernel line using tab completion (which ended up being the path neysx suggested above) and was able to boot the system. Once booted I took care of the step that I apparently forgot:
Code:
cp arch/i386/boot/bzImage /boot/kernel-2.6.19-gentoo-r5

(but of course had to use the full path (/usr/src/linux/arch/i386/boot/bzImage) since I wasn't in the exact spot I would have been while installing.
Then I edited /boot/grub/grub.conf to have the right file name on the kernel line.
Now it boots...onto the other issues.
_________________
-SweepingOar
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