Public bug reported:

After most recent update update-grub finally completes.  When I run it I
see the following:

rol...@logikaldesktop:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-3-generic
Found initrd image: /boot/initrd.img-2.6.31-3-generic
Found memtest86+ image: /boot/memtest86+.bin
Found FreeDOS on /dev/sdb1
done

The problem is it creates the following entry:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "FreeDOS (on /dev/sdb1)" {
        set root=(hd1,1)
        search --no-floppy --fs-uuid --set 3137-16f9
        drivemap -s (hd0) ${root}
        chainloader +1
}
### END /etc/grub.d/30_os-prober ###

Neither Grub nor Karmic are seeing the SATA drives in the same order as
the BIOS.  FreeDOS was installed on the first hard drive, which is a
SATA 250.  The other two hard drives are SATA 1TB.  Both grub and Karmic
are seeing the drives as 1TB, 250, 1TB.  Sorry, I don't have a different
sized SATA to install so we can easily identify which drive Grub/Karmic
are seeing first.

The order is completely consistent.

As a result of this discombobulation, FreeDOS cannot be booted.  It is
trying to map the drives via the BIOS and the Grub mapping really hoses
things.

rol...@logikaldesktop:~$ lsb_release -rd
Description:    Ubuntu karmic (development branch)
Release:        9.10

rol...@logikaldesktop:~$ apt-cache policy grub-pc
grub-pc:
  Installed: 1.96+20090725-1ubuntu2
  Candidate: 1.96+20090725-1ubuntu2
  Version table:
 *** 1.96+20090725-1ubuntu2 0
        500 http://us.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[Karmic] update-grub creates incorrect entry for FreeDOS
https://bugs.launchpad.net/bugs/414184
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to