[Bug 861884] Re: search for UUID fails, when grub is installed with grub-install
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 12:56:18 UTC 2020
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: grub2 (Ubuntu)
Status: New => Incomplete
--
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:
Incomplete
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