Dave Barton wrote:
I have just upgraded a PC for a colleague, who, after much badgering and
encouragement, conceded to have a dual boot install of OpenSUSE 10.3
on a second drive. Installed XP Pro on hd0, no problem. Created a FAT32 partition on hd1 using 50% of the disk capacity, leaving remainder unallocated for Linux partitions. Booted to the 10.3 installation DVD and the install to hd1, including on-line updates, went perfectly, until the first reboot, where I get:

GRUB Loading stage1.5
Grub loading, please wait...
Error 21

At which point everything grinds to a standstill.

Restart from the installation DVD and finalize the installation via the
"Other Options -> Boot Installed System" option. Then I can log in to a
fully operational KDE desktop, where everything appears to be working
perfectly.

The GRUB files read:

/boot/grub/device.map

(fd0)    /dev/fd0
(hd0)    /dev/sda
(hd1)    /dev/sdb

/boot/grub/menu.lst

# Modified by YaST2. Last modification on Fri Jan 18 08:55:09 EST 2008
default 0
timeout 8
gfxmenu (hd1,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3
    root (hd1,5)
kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/disk/by-id/scsi-SATA_ST3250824A_5ND3YLCZ-part6 vga=0x317 resume=/dev/sdb5 splash=silent showopts
    initrd /boot/initrd-2.6.22.5-31-default

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

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
    rootnoverify (hd1,5)
    chainloader (fd0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3
    root (hd1,5)
kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/disk/by-id/scsi-SATA_ST3250824A_5ND3YLCZ-part6 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
    initrd /boot/initrd-2.6.22.5-31-default

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

Have checked the BIOS and hardware jumpers are set correctly.

I have never experienced any GRUB issues with any previous installs, consequently I have not had reason to educate myself about GRUB configuration. I have unsuccessfully searched for and tried a few Googled suggestions. I need to get this machine back to my colleague soon and I would hate to hand it back as a Windows only box.

Can any of you folks here help me out with this?

TIA

Dave


Dave,

I guess the only other way I can help is to post a working grub config from one of my dual boot machines hand hope it helps. Here goes:

The drives I have are sda (windows) sdb and sdc (linux raid) with md0, md1 and md2 as follows:

ripper:/home/david # df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md1              20641788   6299548  13293604  33% /
udev                    517984       128    517856   1% /dev
/dev/md0                 69960     15487     50861  24% /boot
/dev/md2             286877332    220164 272084616   1% /home
/dev/sda1             61440560  54750856   6689704  90% /windows/C
/dev/sda6             17928508     66556  17861952   1% /windows/D

Just substitute /sdb for /md above and below for your setup (your partition numbers may vary) My swap is /dev/sda5

The device.map is:

ripper:/boot # cat grub/device.map
(fd0)   /dev/fd0
(hd0)   /dev/sda
(hd2)   /dev/sdc
(hd1)   /dev/sdb

What does yours show for (hd1)? I ask because in your first menu.lst definition for 10.3 you have root (hd1,5) and then root=/dev/disk/by-id/scsi-SATA_ST3250824A_5ND3YLCZ-part6. This may be right, but it is worth a double check. You may want to try setting this to /dev/sdb# where # is what is shown as / in response to df.

the working menu.lst I have is:


# Modified by YaST2. Last modification on Tue Jan  1 22:39:43 CST 2008
default 2
timeout 8
gfxmenu (hd1,0)/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.22.13-0.3
    root (hd1,0)
kernel /vmlinuz-2.6.22.13-0.3-default root=/dev/md1 vga=0x31a resume=/dev/sda5 splash=silent showopts
    initrd /initrd-2.6.22.13-0.3-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.22.13-0.3
    root (hd1,0)
kernel /vmlinuz-2.6.22.13-0.3-default root=/dev/md1 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
    initrd /initrd-2.6.22.13-0.3-default

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

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
    rootnoverify (hd1,0)
    chainloader (fd0)+1


--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to