Re: [Nolug] configuring grub for a second hard drive

From: Mark D Robinson <>
Date: Thu, 29 Jul 2004 16:16:47 -0500
Message-Id: <>

Maybe not. You may be able to get by with editing the boot.ini file on
the windows partition. It's a read-only hidden system file in the root
directory. You need to change the "disk" parameters.

So you'd change this:

[boot loader]
[operating systems]
multi(0)disk(0)rdisk(0)partition(0)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

to this:

[boot loader]
[operating systems]
multi(0)disk(1)rdisk(0)partition(0)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

You can also add extra lines in the operating systems section so you can
still boot Windows even when you shift the drive or partitions around.
Then you'll get a menu to choose which one to boot from (change the
OS labels between the quotes).

Another issue could be the drive letters, but since windows doesn't
understand Linux partitions, the first visible NTFS or FAT16/32
partition should still be C:. Although, if I remember correctly, grub
will let you hide partitions, too.

Boot.ini References:


Mark Robinson

-----Original Message-----
(CCing nolug so this will be in the archives and, hopefully, able to
help others.)

"John D. Tiedeman" <> writes:

> W2K came up on the boot menu, but when I tried to boot it I got "NTLDR
> not found" or words to that effect. Had to use boot disc to get back
> into Linux and eedit. I changed hd,1to hd1,1 and got "no such
> partition." So I went o back to hd1,0, and deleted the +1 from
> chainloader and got "Filename just be either an absolute pathname or
> blocklist." I must need something to tell it where to look for NTLDR.

Let me guess.... the disk was originally the "C" drive, right?

I'm gonna bet that you'll need to put the drive as the primary
master to get it to work.

Once you have that working, you can try installing grub on the mbr.
Grub will need to be told that the configuration information is on
your second drive.

Also You'll have to fix your /etc/fstab under Fedora so it looks at
/dev/hdc* (secondary master) instead of /dev/hda*.



A choice between one man and a shovel, or a dozen men with teaspoons
is clear to me, and I'm sure it is clear to you also.
    -- Zimran Ahmed <>
Nolug mailing list
Received on 07/29/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST