Red Hat Bugzilla – Bug 479760
[PATCH] add support for virtio_blk devices to grub-install
Last modified: 2009-04-30 12:30:21 EDT
Created attachment 328792 [details]
Patch to allow grub-install to work on virtio_blk devices.
Description of problem:
grub-install does not support installing on virtio_blk devices. When attempted it prints the error message "/dev/vda1 does not have any corresponding BIOS drive."
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install FC10 in vm that supports virtio_blk devices
2. Install /boot on a virtio_blk device
3. execute $ grub-install /dev/vda1
Error message displayed:
/dev/vda1 does not have any corresponding BIOS drive
Grub installs on virtio_blk device
Attached is a patch that worked for me to fix the issue.
*** Bug 484986 has been marked as a duplicate of this bug. ***
pjones: does Nate's patch look reasonable?
I have similar problems with Fedora 11-Preview. 11-Beta works but after installing 11-Preview in same virtual machine, GRUB is not installed. More information on fedora-virt mailinglist.
Is this a separate bug?
This looks fine, it's in -50 .
tag request: https://fedorahosted.org/rel-eng/ticket/1692
* Wed Apr 29 2009 Peter Jones <email@example.com> - 0.97-50
- Handle virtio_blk disks and their crazy new device name in grub-install
Just tested, -50 seems to work fine
Tagged now, closing