[Bug 861884] Re: search for UUID fails, when grub is installed with grub-install

Launchpad Bug Tracker 861884 at bugs.launchpad.net
Tue May 5 06:11:24 UTC 2020


[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: grub2 (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  search for UUID fails, when grub is installed with grub-install

Status in grub2 package in Ubuntu:
  Expired

Bug description:
  running grub2 version 1.99~rc1-13ubuntu3.

  imagine the setup:
  harddisk: sda, usb: sdb

  # mount /dev/sdb1 /mnt
  # grub-install --root-directory=/mnt /dev/sdb
  Installation finished. No error reported.

  Trying to boot from the usb, grub fails: claims it can't find any
  drive with the appropriate UUID. I have double checked the UUID with
  "blkid /dev/sdb1", and it is correct.

  if you don't have a spare usb to test on I have discovered the same
  error when doing:

  $ qemu-img create -f raw disk.img 80M
  $ printf "x\nc\n1024\nr\nn\np\n1\n\n\na\n1\nw\n" |fdisk disk.img
  # losetup /dev/loop0 disk.img
  # losetup /dev/loop1 disk.img -o 32256
  # mkdosfs /dev/loop1
  # mount /dev/loop1 /mnt
  # grub-install --root-directory=/mnt /dev/loop0
  # sync
  $ qemu -hda disk.img

  /wrigley

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



More information about the foundations-bugs mailing list