Bug 498388
| Summary: | [RHEL5.4 KVM/virtio][PATCH] add support for virtio_blk devices to grub-install | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Mark McLoughlin <markmc> |
| Component: | grub | Assignee: | Peter Jones <pjones> |
| Status: | CLOSED ERRATA | QA Contact: | Alexander Todorov <atodorov> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.4 | CC: | atodorov, borgan, ddumas, ovirt-maint, xen-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 479760 | Environment: | |
| Last Closed: | 2009-09-02 11:53:41 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Mark McLoughlin
2009-04-30 08:56:46 UTC
I've tested this using 5.3 grub-install with the changes to the regexps and it seems to work fine This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Fixed in grub-0.97-13.4 1) prepared a machine using virtio drivers, see: https://bugzilla.redhat.com/show_bug.cgi?id=446232#c17 2) [root@dhcp71-208 ~]# rpm -q grub grub-0.97-13.2 [root@dhcp71-208 ~]# /sbin/grub-install /dev/vda1 /dev/vda1 does not have any corresponding BIOS drive. [root@dhcp71-208 ~]# rpm -Uhv grub-0.97-13.4.i386.rpm Preparing... ########################################### [100%] 1:grub ########################################### [100%] [root@dhcp71-208 ~]# rpm -q grub grub-0.97-13.4 [root@dhcp71-208 ~]# /sbin/grub-install /dev/vda1 Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. # this device map was generated by anaconda (hd0) /dev/vda [root@dhcp71-208 ~]# echo $? 0 Shutting down and then powering up the virtual system shows a screen with "GRUB GRUB GRUB ..." on it. The virtual guest doesn't boot. Is this OK to verify this bug and why the guest doesn't start after executing grub-install ? Can you try it with "grub-install /dev/vda" instead of "grub-install /dev/vda1" ? `grub-install /dev/vda' works fine for me on i386/kvm. Moving to verified. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1388.html |