[Bug 893614] [NEW] grub-probe fails if /dev/disk/by-uuid is missing

Neil Wilson neil at aldur.co.uk
Tue Nov 22 14:56:10 UTC 2011


Public bug reported:

grub-probe can fail with 'grub-probe: error: cannot stat `/dev/disk/by-
uuid/xxxx`' if the mounted disk has had its UUID changed via 'tune2fs'.

tune2fs caused the /dev/disk/by-uuid directory to update and the old
link to be removed, but the entries in /proc/self/mountinfo have not
been updated.

This can cause fun and games when rebranding virtual machine disks
created from images.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: grub2 1.99~rc1-13ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-12.51-virtual 2.6.38.8
Uname: Linux 2.6.38-12-virtual x86_64
Architecture: amd64
Date: Tue Nov 22 14:51:07 2011
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug natty

-- 
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/893614

Title:
  grub-probe fails if /dev/disk/by-uuid is missing

Status in “grub2” package in Ubuntu:
  New

Bug description:
  grub-probe can fail with 'grub-probe: error: cannot stat `/dev/disk
  /by-uuid/xxxx`' if the mounted disk has had its UUID changed via
  'tune2fs'.

  tune2fs caused the /dev/disk/by-uuid directory to update and the old
  link to be removed, but the entries in /proc/self/mountinfo have not
  been updated.

  This can cause fun and games when rebranding virtual machine disks
  created from images.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: grub2 1.99~rc1-13ubuntu3
  ProcVersionSignature: Ubuntu 2.6.38-12.51-virtual 2.6.38.8
  Uname: Linux 2.6.38-12-virtual x86_64
  Architecture: amd64
  Date: Tue Nov 22 14:51:07 2011
  ProcEnviron:
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list