bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using 'map' and 'hide' together


From: Robert Mosher
Subject: Using 'map' and 'hide' together
Date: Thu, 6 Jun 2002 14:34:21 -0400 (EDT)

I am attempting to use the map and hide commands in conjunction to run 
Windows 98 off a hard drive as the Slave on my Primary controller. My 
setup is

hd0,0   fat32   currently unused
hd0,1   fat32   currently unused
hd0,6   ext2    Debian
hd0,7   ext2    Mandrake
hd1,0   fat32   Windows 98
hde (not sure what it would be referred to as in grub) fat32 File Storage 

The quick question, is how can I have Windows boot, and hide everything 
on hd0.

The long explanation of what I attempted is as follows:

Originally my options in my menu.lst file for loading windows were
root    (hd1,0)
map     (0x81) (0x80) #0x80 and 0x81 were the parameters give by  Mandrake.
map     (0x80) (0x81)
makeactive            
chainloader     +1

This worked fine, except that the two unused fat32 partitions show 
up in Windows and confused it as to where things were installed. So I 
decided to hide the partitions. To do this I added the following two lines 
under the map lines:

hide    (hd0,0)
hide    (hd0,1)

Then when I booted into windows again, it loaded up fine, except that when
I went into My Computer, it did not show any drives and was continually
searching for a drive. Though I did have access to the C drive. Then
Windows failed to shutdown properly (nothing out of the normal), but then
when I rebooted grub died before I got to the boot menu. I used a grub
boot disk, and it was identifying both hd0 and hd1 as having two fat32
partitions and nothing more. I tried to use a rescue disk to boot into
linux, but first it couldn't find the specified root partition. Eventually
though I was able to get one of my rescue disks to find the partition.
Unexpectedly on one reboot, the grub menu came back on it's own without me 
running update-grub at all.

I then thought maybe since I had mapped the drives to each other I would 
have to refer to them by their mapped name. I changed the two hide 
statements to this:

hide    (hd1,0)
hide    (hd1,1)

but then Windows couldn't even boot not knowing where it's files where 
located. After this I decided I should stop and get more information.
Any help on understanding how to get this setup working would be much 
appreciated. If you need any more information, let me know.

Thanks,
Rob Mosher



reply via email to

[Prev in Thread] Current Thread [Next in Thread]