View previous topic :: View next topic |
Author |
Message |
ubbaken n00b
Joined: 02 May 2004 Posts: 28 Location: Canada
|
Posted: Fri Jul 16, 2004 7:49 pm Post subject: grub error {solved} |
|
|
I got things seemingly alright up until the point I reboot, when I was saddened to find out neither win xp or gentoo would boot.
Here is the /boot/grub/grub.conf file:
Code: | default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Ken's Linux(2.6.7-gentoo-r11)
root (hd0,0)
kernel /kernel-2.6.7-gentoo-r11 root=/dev/hda1 vga=792
title=Win XP Pro
rootnoverify (hd0,3)
chainloader +1 |
And the /etc/fstab (when I reboot into the livecd to fix things, the fstab is back to the default...I don't know why):
Code: | /dev/hda1 /boot reiserfs noatime,notail 1 2
/dev/hda1 / reiserfs noatime,notail 0 1
/dev/hda2 none swap sw 0 0
#/dev/hda3 /mnt/media FAT user 0 0
#haven't setup and formatted yet
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /proc/bus/usb usbfs defaults 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
|
my partition layout is as follows
/dev/hda1 - reiserfs -- /
/dev/hda2 - swap
/dev/hda3 - FAT32 - /mnt/media (D:/)
/dev/hda4 - FAT32 - C:/
The error is: Code: | Booting 'Ken's Linux (2.6.7-gentoo-r11)'
root (h0,0)
Filesystem type is reiserfs, partition type 0x83
kernel /kernel-2.6.7-gentoo-r11 root=/dev/hda1 vga=792
Error 15: File not found
Press any key to restart... |
And for the win xp attempt:
Code: | Booting 'Win XP Pro'
rootnoverify (hd0,3)
chainloader +1
Remove disks or other media
Press any key to restart... |
For both of these, the grub menu shows up with bootsplash and everything, but then it switches to a black screen when it outputs that error.
I installed XP first, then went back to install linux, and put GRUB in the MBR (hd0)
If there is any other information needed, I will put it up, but I think that should do.
Thanks for any help.
Last edited by ubbaken on Tue Aug 10, 2004 8:03 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri Jul 16, 2004 8:05 pm Post subject: |
|
|
ubbaken,
I'll leave the XP to the windows users.
You really dont want to mount /dev/hda1 as both root ("/") and /boot
You don't appar to have a real boot partition, which is OK, but you need to allow for that in grub.conf so your Quote: | kernel /kernel-2.6.7-gentoo-r11 root=/dev/hda1 vga=792 | should be Code: | kernel /boot/kernel-2.6.7-gentoo-r11 root=/dev/hda1 vga=792
|
Play with grubs command line editor to check it out/ When its right the system will boot and you can fix it properly. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
butters Guru
Joined: 13 May 2002 Posts: 427 Location: Poughkeepsie, NY
|
Posted: Fri Jul 16, 2004 10:10 pm Post subject: |
|
|
There's another problem with what you're doing... thanks for mentioning the "odd" fstab behavior. When you boot from the LiveCD, you are NOT in your native gentoo environment, you are in the LiveCD environment. In order to change things, you need to follow the install guide directions for chrooting into your gentoo install, starting from mount /dev/hda1 /mnt/gentoo.
Don't put an entry for /boot if you don't have a separate boot partition. If your kernel is REALLY in your / directory, then your grub.conf looks fine, but the directions tell you to place it in /boot.
My guess as to the windows problem is that you fixed the LiveCD's grub.conf and your real grub.conf entry for windows is different (and incorrect). The one you have in your post looks OK to me.
Good luck!! _________________ If tugboats were bigger, they'd be the ones getting tugged. |
|
Back to top |
|
|
|
|
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
|
|