bug-grub
[Top][All Lists]
Advanced

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

[bug #28527] update-grub fails to create Windows 2000 entry correctly


From: Kurt Frank
Subject: [bug #28527] update-grub fails to create Windows 2000 entry correctly
Date: Fri, 08 Jan 2010 23:13:48 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.6) Gecko/20091206 SeaMonkey/2.0.1

URL:
  <http://savannah.gnu.org/bugs/?28527>

                 Summary: update-grub fails to create Windows 2000 entry
correctly
                 Project: GNU GRUB
            Submitted by: kurt_aust
            Submitted on: Fri 08 Jan 2010 11:13:47 PM GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Kurt_Aust
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 1.97
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

First I installed Linux Mint 8 x32 (uses GNU GRUB version 1.97~beta4) on a
120GB HDD on the IDE primary master with the following partition scheme:
32GB Primary Ext4 /
 8GB Primary Swap
80GB Primary Ext4 /home

I then removed the drive and placed a 40GB HDD on IDE primary master and
installed Windows 2000 Professional (single 40GB primary NTFS partition).

Then I moved the 40GB W2K HDD to the primary slave and put the 120GB Linux
Mint HDD back on the primary master.

I proceeded to boot Linux Mint and then ran "update-grub" with the following
result:

L7S7A2 user # update-grub
Generating grub.cfg ...
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows 2000 Professional on /dev/sdb1
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1.  Check your
device.map.

done
L7S7A2 user #


The appropriate section of "grub.cfg" read as follows:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows 2000 Professional (on /dev/sdb1)" {
        drivemap -s (hd0) ${root}
        chainloader +1
}
### END /etc/grub.d/30_os-prober ###


Trying to boot Windows 2000 resulted in the following error:

error: invalid signature
Press any key to continue...


Reading through the "grub.cfg" file I (correctly) guessed that it was missing
the command that defined "root", specifically:
set root=(hd1,1)

Hence GRUB will boot W2K successfully if the 'grub.cfg" section is modified
to:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows 2000 Professional (on /dev/sdb1)" {
        set root=(hd1,1)
        drivemap -s (hd0) ${root}
        chainloader +1
}
### END /etc/grub.d/30_os-prober ###




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28527>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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