LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Grub Hangs With Suse 10.1 (https://www.linuxquestions.org/questions/linux-desktop-74/grub-hangs-with-suse-10-1-a-506969/)

vollup 12-02-2006 08:43 PM

Grub Hangs With Suse 10.1
 
Hi,

I used to run a dual boot with XP&FC5. Just replaced Feodra with Suse 10.1, and it seems to have killed grub.

Basically when I bootup I get:
--------------
GRUB Loading stage 1.5

GRUB Loading, please wait
--------------
And it never loads.


I can boot via the Suse install disk, and have tried reinstalling grub using grub-install, after confirming my device map was good, I tired manually placing stage1 into the MBR on my primary drive (which is where I had it before) with "root (hd0,5), setup (hd0)", which did not work. I have tried booting off a windows disk, and using "fixmbr", which did nothing but wipe the mbr so my PC was hanging at a blank screen instead of saying Loading Grub. And I have tried configuring the bootloader via YaSt, to no avail. Also I do not have a floppy drive (which may or may not be usefull information).

It's almost like stage 1 occurs nicely, but then it doesn't have access to, or can't find stage 2.

Any assistance is greatly appreciated.

bigjohn 12-02-2006 09:07 PM

Quote:

Originally Posted by vollup
Hi,

I used to run a dual boot with XP&FC5. Just replaced Feodra with Suse 10.1, and it seems to have killed grub.

Basically when I bootup I get:
--------------
GRUB Loading stage 1.5

GRUB Loading, please wait
--------------
And it never loads.


I can boot via the Suse install disk, and have tried reinstalling grub using grub-install, after confirming my device map was good, I tired manually placing stage1 into the MBR on my primary drive (which is where I had it before) with "root (hd0,5), setup (hd0)", which did not work. I have tried booting off a windows disk, and using "fixmbr", which did nothing but wipe the mbr so my PC was hanging at a blank screen instead of saying Loading Grub. And I have tried configuring the bootloader via YaSt, to no avail. Also I do not have a floppy drive (which may or may not be usefull information).

It's almost like stage 1 occurs nicely, but then it doesn't have access to, or can't find stage 2.

Any assistance is greatly appreciated.

Well theres probably loads of suggestions on how this should be really done if you google for the actual grub site - personally I'm really lazy and just re-run the installation when I get problems like this - it usually works for me!

regards

John

bigrigdriver 12-03-2006 05:46 AM

Boot from the SuSE install cd, then copy /etc/fstab and /boot/grub/menu.lst and post them here. We only need to see the disk partitions and mount points from fstab, and the menu entry (3 lines) for SuSE from menu.lst.

Grub clearly doesn't know where to find /boot and the files therein. The fix may be as simple as editing menu.lst to correct the path to the /boot folder.

vollup 12-04-2006 02:08 AM

Hi,

Code:

~> cat /etc/fstab
/dev/hda6            /                    reiserfs  acl,user_xattr        1 1
/dev/hda7            /home                reiserfs  acl,user_xattr        1 2
/dev/hda1            /windows/C          ntfs      ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda1            /windows/D          ntfs      ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5            swap                swap      defaults              0 0
proc                /proc                proc      defaults              0 0
sysfs                /sys                sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts              /dev/pts            devpts    mode=0620,gid=5      0 0


And..

Code:

# cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sun Dec  3 16:22:20 UTC 2006
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
#vga=0x317
title SUSE Linux 10.1
    root (hd0,5)
    kernel /boot/vmlinuz root=/dev/hda6 vga=normal resume=/dev/hda5  splash=silent showopts
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
    root (hd0,5)
    kernel /boot/vmlinuz root=/dev/hda6 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
    initrd /boot/initrd

And even...

Code:

# cat /etc/grub.conf
setup --stage2=/boot/grub/stage2 (hd0,5) (hd0,5)
setup --stage2=/boot/grub/stage2 (hd0) (hd0,5)
quit

Many Thanks.

vollup 12-04-2006 02:41 AM

I should probably mention that LILO is not installing as it is complaining about some RAID errors. Heading over to check my BIOS again, but this should be OK...

Ok RAID is disabled on my SATAII disk.

Basically the setup I have is
hd0 IDE Disk - XP and Suse are both on this one
hd1 SATAII Disk - Just storage
no floppy


All times are GMT -5. The time now is 08:47 AM.