Bug 499194 - anaconda fails to install grub in KVM guest
Summary: anaconda fails to install grub in KVM guest
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F11Blocker, F11FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2009-05-05 15:10 UTC by Mark McLoughlin
Modified: 2009-05-05 17:10 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-05-05 16:03:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark McLoughlin 2009-05-05 15:10:43 UTC
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?

Comment 1 Mark McLoughlin 2009-05-05 15:12:28 UTC
Ah, I see there's a newer anaconda in today's rawhide - I'll try again

Comment 2 Mark McLoughlin 2009-05-05 16:03:03 UTC
Okay, seems to be fixed in today's rawhide.

Comment 3 Denise Dumas 2009-05-05 17:10:03 UTC
Great, thanks for validating.


Note You need to log in before you can comment on or make changes to this bug.