[Bug 1017542] Re: grub2 update-grub puts wrong UUID in grub.cfg for system with separate /, /boot partitions when detected by os-prober

ccpizza 1017542 at bugs.launchpad.net
Mon Sep 14 18:27:28 UTC 2015


I confirm that updating the UUID in the grub.cfg file of the other Linux
installation (Arch linux) fixed the root device UUID inserted by os-
prober on my Ubuntu.

The root UUID returned by the os-prober is not detected, but instead is
taken from the existing grub.cfg of the detected Linux partition. Fixing
the UUID in the Arch grub.cfg also made os-prober run just several
seconds, compared to over a minute before (with the non-existing UUID).

My assumption is that the UUID on the target system changed after I set
a new partition label -- apparently setting/modifying a partition label
changes its UUID.

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

Title:
  grub2 update-grub puts wrong UUID in grub.cfg for system with separate
  /, /boot  partitions when detected by os-prober

Status in os-prober package in Ubuntu:
  Fix Released

Bug description:
  It is putting in the UUID for the boot partition and not the / (root)
  partition.

  It's grub2 (1.99-21ubuntu3.1) on Xubuntu 12.04.

   I ran Boot Info Script 0.60, results are attached⋯

  The system not booting is on /dev/sdh.  The booting disk, Xubuntu
  12.04, is /dev/sdb.

  sdh2/etc/fstab is at line 1073.

  The incorrect UUIDs are at line 945 and 954.

  "blkid" putput is at line 318.

  It is putting the UUID for "boot" versus "root" in boot.cfg, line 937.

  I have noticed that the relationship between physical drives and names
  in /dev vary depending on which system is booted.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: grub (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
  Uname: Linux 3.2.0-25-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Mon Jun 25 07:50:56 2012
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub
  UpgradeStatus: Upgraded to precise on 2012-06-15 (10 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1017542/+subscriptions



More information about the foundations-bugs mailing list