Click to See Complete Forum and Search --> : GRUB: Dual booting Linux and WinXP with SCSI involved


Judicator
07-29-2003, 05:25 PM
Ok, I have a WD1200JB, WD400BB, and IBM 120GXP 60 GB drive, along with two Fujitsu MAN3184MP drives, and a MAM3364MC. Linux is installed on /dev/sdc1, with swap being /dev/sdc5, I believe. Windows is on /dev/hda1, just where it likes to be. Problem is....I can't get ANY bootloader to work. I'm posting this from linux, because I got Linux to install, and if I boot from the slack CD with my root mounted, then I can get into Linux. However, I would like my WinXP back, and I'd like to get either LILO or GRUB working, preferably GRUB. So...without further adieu, my menu.lst.

# Generated by grubconf-0.5
default=1
timeout=10
color=red/black yellow/red

title Linux
#:0 <-- type: 0 => linux, 1 => windows, 2 => other
root (hd5,0)
kernel /boot/vmlinuz root=/dev/sdc1
title Windows
#:1 <-- type: 0 => linux, 1 => windows, 2 => other
root (hd0,0)
makeactive
chainloader +1

What's happening is I'm getting an Error 25 from GRUB, which supposedly means it can't read from the disk. I tried rootnoverify for the WinXP partition also.

When I try LILO, I get an "L" by itself, then "02 BB 02 BB" repeating over and over at the rate of about one per second. For those of you who are interested, my lilo.conf

boot="/dev/hda"
prompt
timeout="50"
message=/boot/message
root=/dev/sdc1
default="WindowsXP"
vga="773"

image="/boot/vmlinuz"
label="vmlinuz"
root="/dev/sdc1"
read-only

other=/dev/hda1
label="WindowsXP"

image="/dev/hda1"
root="/dev/sdc1"

I don't know what's going wrong here. Linux gods, please help me! I would very much like to be able to keep my linux on my SCSI, since it is far more deserving of the speed than WinXP.

mdwatts
07-30-2003, 08:30 AM
Originally posted by Judicator

# Generated by grubconf-0.5
default=1
timeout=10
color=red/black yellow/red

title Linux
#:0 <-- type: 0 => linux, 1 => windows, 2 => other
root (hd5,0)
kernel /boot/vmlinuz root=/dev/sdc1
title Windows
#:1 <-- type: 0 => linux, 1 => windows, 2 => other
root (hd0,0)
makeactive
chainloader +1


First of all I do apologize that nobody has responded to your question. I was tired yesterday and logged off before you posted your question and I'm sorry to have kept you waiting for so long.

Have you installed Grub in the mbr of hda?

So Linux is installed on the sixth (3 ide and 3 scsi) HD?

root (hd5,0) would be correct for the sixth HD while /dev/sdc1 is correct for the first partition on that drive.

You can install Grub in the mbr with

grub-install /dev/hda

Also try searching the JL forums for 'grub dualboot windows' or 'grub windows' and you should find previous threads to give you additional ideas.

Judicator
07-30-2003, 10:04 AM
That is exactly what I'm trying to do. However, I suspect that the drive may need a low-level format, because after playing with it for several hours last night, I eventually tried to do a windows fdisk on the drive, and the "verifying drive integrity" portion was stuck at 0%. I'll have my SCSI card to the low level format, and we'll see what happens from there.