Windows volume label should be used

Bug #804072 reported by Roger Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-prober (Ubuntu)
New
Undecided
Unassigned

Bug Description

When a Windows partition is detected it is listed in grub.cfg like this:

  "Windows 7 (loader) (on /dev/sda1)"

However the entry generated uses the volume id to find the disk:

  search --no-floppy --fs-uuid --set=root BA5435BA543579E9

This is very misleading since it means that instance of Windows will be used no matter which drive it is on. I had rearranged my drives in order to do some work and Windows was still booted much to my surprise. (The machine with the issue has 3 hard drives.)

I suggest using the volume label instead of the partition so the line would look like this since it is accurate (volume label is Mondo). It also helps when there is more than one Windows installation, when drives are moved around within or between machines etc.

  "Windows 7 (on volume Mondo)"

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: os-prober 1.44ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Thu Jun 30 13:40:32 2011
EcryptfsInUse: Yes
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: os-prober
UpgradeStatus: Upgraded to natty on 2011-04-16 (74 days ago)

Revision history for this message
Roger Binns (ubuntu-rogerbinns) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.