[Bug 922041] [NEW] lucid: update-grub does not work with 4 character disk names in /dev

Jochen Barth barth at ub.uni-heidelberg.de
Thu Jan 26 12:06:17 UTC 2012


Public bug reported:

We're using Lucid 10.04.3 (Server, 64 Bit) and have a lot of attached disks.
During installation, there has been only one drive named /dev/sda, everything worked fine.
Now we've attached all storage, update-grub (which calls grub-probe) does not work anymore:

root at xxx:/root# grub-probe -v -t fs_uuid -d /dev/sdby
grub-probe: info: »/boot/grub/device.map« kann nicht geöffnet werden.
grub-probe: info: /dev/sdby starts from 0.
grub-probe: info: opening /dev/sdb.
grub-probe: info: the size of /dev/sdb is 4194304000.
grub-probe: error: unknown filesystem. 

Have a look at the /dev - names: in the third output line grub-probe is
talking about "sdb" instead of "sdby".

We made an inconvenient (not easily transferable) workaround using udev:
root at ...:# cat /ect/udev/rules.d/61-persistent-local-drive.rules 
KERNEL=="sd*", ENV{DEVTYPE}=="disk", ENV{ID_SERIAL}=="3600508e000000000f92b957d13e3870a", NAME="sda"
KERNEL=="sd*", ENV{DEVTYPE}=="partition", ENV{ID_SERIAL}=="3600508e000000000f92b957d13e3870a", NAME="sda%n"


Version of grub-pc is 1.98-1ubuntu5

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/922041

Title:
  lucid: update-grub does not work with 4 character disk names in /dev

Status in “grub2” package in Ubuntu:
  New

Bug description:
  We're using Lucid 10.04.3 (Server, 64 Bit) and have a lot of attached disks.
  During installation, there has been only one drive named /dev/sda, everything worked fine.
  Now we've attached all storage, update-grub (which calls grub-probe) does not work anymore:

  root at xxx:/root# grub-probe -v -t fs_uuid -d /dev/sdby
  grub-probe: info: »/boot/grub/device.map« kann nicht geöffnet werden.
  grub-probe: info: /dev/sdby starts from 0.
  grub-probe: info: opening /dev/sdb.
  grub-probe: info: the size of /dev/sdb is 4194304000.
  grub-probe: error: unknown filesystem. 

  Have a look at the /dev - names: in the third output line grub-probe
  is talking about "sdb" instead of "sdby".

  We made an inconvenient (not easily transferable) workaround using udev:
  root at ...:# cat /ect/udev/rules.d/61-persistent-local-drive.rules 
  KERNEL=="sd*", ENV{DEVTYPE}=="disk", ENV{ID_SERIAL}=="3600508e000000000f92b957d13e3870a", NAME="sda"
  KERNEL=="sd*", ENV{DEVTYPE}=="partition", ENV{ID_SERIAL}=="3600508e000000000f92b957d13e3870a", NAME="sda%n"

  
  Version of grub-pc is 1.98-1ubuntu5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/922041/+subscriptions




More information about the foundations-bugs mailing list