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

From: Mark D Robinson <mrobinso_at_fpkc.com>
Date: Thu, 29 Jul 2004 16:16:47 -0500
Message-Id: <200407292126.i6TLQId07363@vkh.joeykelly.net>

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]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(3)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(0)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

to this:

[boot loader]
timeout=30
default=multi(0)disk(1)rdisk(0)partition(3)\WINNT
[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:
http://support.microsoft.com/?kbid=99743
http://www.winguides.com/registry/display.php/1268/

HTH

Mark Robinson

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

"John D. Tiedeman" <jdtiede@sstar.com> 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*.

HTH,

Mark.

-- 
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 <http://www.winterspeak.com/>
___________________
Nolug mailing list
nolug@nolug.org
Received on 07/29/04

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