Automatic detections seems counting wrong:
==========================================

Original file menu.lst that works perfect:

title           Debian GNU/Linux, kernel 2.6.26-1-amd64
unhide          (hd0,0)
unhide          (hd0,1)
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.26-1-amd64 root=/dev/sda3 ro quiet
initrd          /boot/initrd.img-2.6.26-1-amd64
# savedefault


title           Debian GNU/Linux, kernel 2.6.26-1-amd64 (single-user mode)
unhide          (hd0,0)
unhide          (hd0,1)
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.26-1-amd64 root=/dev/sda3 ro single
initrd          /boot/initrd.img-2.6.26-1-amd64
# savedefault


title           Windows XP Test P01
unhide          (hd0,0)
hide            (hd0,1)
root            (hd0,0)
# savedefault
makeactive
chainloader     +1


title           Windows XP Test P02
hide            (hd0,0)
unhide          (hd0,1)
root            (hd0,1)
# savedefault
makeactive
chainloader     +1

----------------------------------------

Generated grub.cfg:

### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,3)
search --fs-uuid --set b16c8e5f-54fb-48f0-8305-056d919691d2
menuentry "Debian GNU/Linux, linux 2.6.26-1-amd64" {
        linux   /boot/vmlinuz-2.6.26-1-amd64 
root=UUID=b16c8e5f-54fb-48f0-8305-056d919691d2 ro
        initrd  /boot/initrd.img-2.6.26-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-amd64 (single-user mode)" {
        linux   /boot/vmlinuz-2.6.26-1-amd64 
root=UUID=b16c8e5f-54fb-48f0-8305-056d919691d2
ro single
        initrd  /boot/initrd.img-2.6.26-1-amd64
}
### END /etc/grub.d/10_linux ###


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
menuentry "Microsoft Windows XP Professional" {
        set root=(hd0,0)
        chainloader +1
}

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda2
menuentry "Windows NT/2000/XP (loader)" {
        set root=(hd0,1)
        chainloader +1
}

--------------------------

grub 2 seems to count partitions beginning with 1 and not with 0 as in the 
version
before.
So the generating-script is working wrong!

But it doesn't help to alter the wrong entries manually.
Windows will not boot with grub 2!

And the question still remains how to realize the hide-mechanism ?
grub 2 is only more complicated to configure and seems not to run as easy and
perfect as the old version 0.96.

I set the good old version now on hold with
echo "grub hold" | dpkg --set-selections





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to