Bug 499194
| Summary: | anaconda fails to install grub in KVM guest | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mark McLoughlin <markmc> |
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | rawhide | CC: | anaconda-maint-list, ddumas, pjones, rmaximo, vanmeeuwen+fedora, virt-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-05-05 16:03:03 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 446452 | ||
Ah, I see there's a newer anaconda in today's rawhide - I'll try again Okay, seems to be fixed in today's rawhide. Great, thanks for validating. |
Using 2009-05-04 rawhide I've installed a 64 bit guest using virtio, a 32 bit guest using virtio and a 64 bit guest using IDE, and each time grub wasn't installed and boot failed after install Looking at program.log: --- Running... ['/sbin/grub', '--batch', '--no-floppy', '--device-map=/boot/grub/device.map'] GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.] grub> root (hd0,0) Error 21: Selected disk does not exist grub> install --stage2=/boot/grub/stage2 /grub/stage1 d (hd0) /grub/stage2 p (hd0,0)/grub/grub.conf Error 12: Invalid device requested --- /mnt/sysimage/boot/grub/device.map contains "(hd0) /dev/sda" Interestingly, if I run: grub --device-map=/mnt/sysimage/boot/grub/device.map if I run: chroot /mnt/sysimage grub --device-map=/boot/grub/device.map then it doesn't work; looks like an empty /mnt/sysimage/dev is the problem?