The example grub.conf containts hide/unhide entries, however, when booting
into Windows 2000, i can still see Windows XP partition as drive F:.

The box has 2 scsi disks, and the 2nd one is now hd0, that's where XP is
installed. Windows 2000 is on
hd1.

Has this feature been tested when using multiple disks, or does it perhaps
work only when hiding a partition on the same disk? I assume hiding is
accomplished by changing partition type to something Windows doesn't
recognize. However, after booting into 2000, and then into Linux, i see
that XP partition's type is 17, Hidden HPFS/NTFS.

I know that documentation says this should work, but trying to make
sure if this is known to work across disks.

Thanks.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd1,1)
#          kernel /vmlinuz-version ro root=/dev/sdb3
#          initrd /initrd-version.img
#boot=/dev/sdb2
default=2
timeout=5
#splashimage=(hd1,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667smp)
        root (hd0,4)
        kernel /vmlinuz-2.6.9-1.667smp ro root=LABEL=/ rhgb quiet nofb
        initrd /initrd-2.6.9-1.667smp.img 
title Fedora Core-UP (2.6.9-1.667)
        root (hd0,4)
        kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet nofb
        initrd /initrd-2.6.9-1.667.img 
title Windows 2000, Cedara 6.0
        unhide (hd1,0)
        unhide (hd1,1)
        hide (hd0,1)
        map (hd0) (hd1)
        map (hd1) (hd0)
        rootnoverify (hd1,0)
        chainloader +1
        makeactive
title Windows XP
        hide (hd1,0)
        hide (hd1,1)
        unhide (hd0,1)
        rootnoverify (hd0,1)
        chainloader +1
        makeactive
_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to