Re: KVM-74: HELP PLEASE - cannot boot from cdrom for recovery

Gerry Reno
2009-03-31T15:19:19Z

Tomasz Chmielewski wrote:
> Gerry Reno schrieb:
>> Tomasz Chmielewski wrote:
>>> Gerry Reno schrieb:
>>>> Today we upgraded one of our VM's from F9 to F10 and after the
>>>> first reboot we see the dreaded GRUB prompt. This it turns out is
>>>> a known problem with F10 installs. And the recovery is usually
>>>> very simple. You boot into rescue mode from CDROM and reinstall
>>>> the boot loader. The problem we're seeing is that even though I
>>>> select CDROM from the boot menu, it will never boot from the
>>>> CDROM. It always has an error.
>>>
>>> What error?
>>>
>> Boot Failure Code: 0003
>> Boot from CDROM failed: cannot read the boot disk.
>> FATAL: No bootable device.
>>
>> The host has only a DVD drive and we are using the DVD F10 install disk.
>>
>>>
>>>> What can we do to get this VM to boot from the CDROM drive so that
>>>> we can install a new bootloader and recover this VM?
>>>
>>> What parameters do you use to start the guest?
>>>
>>>
>> I'm using the GUI VMM and selecting Run on that VM.
>
> What is GUI VMM?
virt-manager

> Do you know what parameters it passes to kvm binary?
>
>
Here's the XML dump for that VM:
<domain type='kvm' id='8'>
<name>MX_3</name>
<uuid>5f478a4f-86e6-82b5-b53b-acff9d9f1f23</uuid>
<memory>524288</memory>
<currentMemory>524288</currentMemory>
<vcpu>2</vcpu>
<os>
<type arch='i686' machine='pc'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/qemu-kvm</emulator>
<disk type='file' device='disk'>

<target dev='hda' bus='ide'/>
</disk>
<interface type='bridge'>
<mac address='00:0c:29:e3:bc:ee'/>

<target dev='vnet1'/>
</interface>

<graphics type='vnc' port='5901' autoport='yes' listen='127.0.0.1'
keymap='en-us'/>
</devices>
</domain>

Regards,
Gerry