I complately agree with you. I've used the hive method to clearly identify my windows partitions. I fact we should stop to "hardcode" the partition names in /usr/lib/os-probes/mounted/20microsoft. Instead we should use the hive method and use it's result to identify windows partitions. It's not a big deal I think except that we should have everything (script, library,...) available at installation time. As I said earlier this bug affects all distributions using os-prober. As Debian is on the path to realease their next stable for me it's a critical bug as it will confuse all user who don't have a big knowledge of linux dists.
2010/11/12 Daniel Bair <[email protected]> > This is the MAIN problem... assumption #2 > 2. The last entry in the /Boot/BCD file is related to the partition being > probed > > This is a false assumption in the case of my Toshiba Satellite system > and for many others also. > > -Daniel > > > On Fri, Nov 12, 2010 at 7:37 AM, Daniel Bair <[email protected]> > wrote: > > Ah, sorry, comment #7 is on the other bug report linked to this bug > > report in launchpad. > > Here is a quick link... > > https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/476625/comments/7 > > And I can confirm that using the hive method is the only way that > > reliably works for me. > > The reason why is in comment #4... > > https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/476625/comments/4 > > > > > > -Daniel > > > > > > On Wed, Nov 10, 2010 at 6:20 PM, Jérôme De Greef > > <[email protected]> wrote: > >> God, as I said it was only a temporary fix and we already face a case > where > >> it doens't work. > >> > >> What's the BCD of your recovery partition ? > >> > >> And btw what's comment #7 ? I don't see any number identifying the > comments > >> here. > >> > >> I assume this is not easy to fix as we depend on the way recovery > partition > >> are named and this is up to the distributor to choose a name (Windows > Setup, > >> Windows Recovery, Windows Recover Initial Setup, Windows Help It's > Crashed, > >> whatever, you name it). Were're trying to deal with an os that as no > >> standard and that's not easy. > >> > >> A solution would be to identify Windows 95, 200x, XP, Vista, Seven and > put > >> anything else as revovery or unindentify (fat, fat32, htfs) but that > will > >> only work until the next version of Windows, grrrrr. > >> > >> -- > >> Grub2 affected when os-prober incorrectly identifies Windows and > Recovery partitions > >> https://bugs.launchpad.net/bugs/476625 > >> You received this bug notification because you are a direct subscriber > >> of the bug. > >> > > > > -- > Grub2 affected when os-prober incorrectly identifies Windows and Recovery > partitions > https://bugs.launchpad.net/bugs/476625 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in “grub2” package in Ubuntu: Invalid > Status in “os-prober” package in Ubuntu: Fix Released > > Bug description: > Binary package hint: grub > > The grub os-prober mis-identifies the Compaq recovery partition as Windows > XP and the Windows XP partition as "ubuntu linux". Choosing Windows XP from > the grub boot menu runs the Compaq recovery program - a BAD idea. Choosing > ubuntu linux on the other hand launches Windows XP correctly (or at least it > did before today's update!). Substantiating information below: > > Grub was updated 6Nov 10:30AM but that doesn't change the behavior from > before the update. > > <<< Output from fdisk -l with added comment identifying partition usage >>> > > Device Boot Start End Blocks Id System > /dev/sda1 1 617 4664488+ b W95 FAT32 > Compaq recovery partition > /dev/sda2 * 618 5372 35947800 7 HPFS/NTFS > Windows XP > /dev/sda3 5373 7269 14341320 83 Linux > Ubuntu / > /dev/sda4 7270 20671 101319120 f W95 Ext'd (LBA) > /dev/sda5 7270 7404 1020568+ 82 Linux swap / > Solaris /swap > /dev/sda6 7405 20671 100298488+ 83 Linux > /home > > <<< Partial content of /boot/grub/grub.cfg showing relevant sections >>> > > ### BEGIN /etc/grub.d/30_os-prober ### > menuentry "Windows NT/2000/XP (on /dev/sda1)" { > insmod fat > set root=(hd0,1) > search --no-floppy --fs-uuid --set 4452-51a8 > drivemap -s (hd0) ${root} > chainloader +1 > } > menuentry "ubuntu Linux (on /dev/sda2)" { > insmod ntfs > set root=(hd0,2) > search --no-floppy --fs-uuid --set 3c78b47778b4318e > drivemap -s (hd0) ${root} > chainloader +1 > } > ### END /etc/grub.d/30_os-prober ### > > <<< Partial list of grub.cfg generated by grub before today's update >>> > > ### BEGIN /etc/grub.d/30_os-prober ### > menuentry "Windows NT/2000/XP (on /dev/sda1)" { > insmod fat > set root=(hd0,1) > search --no-floppy --fs-uuid --set 4452-51a8 > drivemap -s (hd0) ${root} > chainloader +1 > } > menuentry "ubuntu Linux (on /dev/sda2)" { > insmod ntfs > set root=(hd0,2) > search --no-floppy --fs-uuid --set 3c78b47778b4318e > drivemap -s (hd0) ${root} > chainloader +1 > } > ### END /etc/grub.d/30_os-prober ### > > ProblemType: Bug > Architecture: i386 > Date: Fri Nov 6 10:45:25 2009 > DistroRelease: Ubuntu 9.10 > InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5) > NonfreeKernelModules: nvidia > Package: grub (not installed) > ProcEnviron: > LANG=en_US.UTF-8 > SHELL=/bin/bash > ProcVersionSignature: Ubuntu 2.6.31-14.48-generic > SourcePackage: grub > Uname: Linux 2.6.31-14-generic i686 > XsessionErrors: > (gnome-settings-daemon:1705): GLib-CRITICAL **: g_propagate_error: > assertion `src != NULL' failed > (gnome-settings-daemon:1705): GLib-CRITICAL **: g_propagate_error: > assertion `src != NULL' failed > (polkit-gnome-authentication-agent-1:1752): GLib-CRITICAL **: > g_once_init_leave: assertion `initialization_value != 0' failed > (nautilus:1737): Eel-CRITICAL **: eel_preferences_get_boolean: assertion > `preferences_is_initialized ()' failed > (gnome-appearance-properties:1832): Gdk-CRITICAL **: gdk_display_sync: > assertion `GDK_IS_DISPLAY (display)' failed > > To unsubscribe from this bug, go to: > https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/476625/+subscribe > -- Grub2 affected when os-prober incorrectly identifies Windows and Recovery partitions https://bugs.launchpad.net/bugs/476625 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
