WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

Re: [Xen-users] HVM-guest doesn't boot from virtual disk

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] HVM-guest doesn't boot from virtual disk
From: "nospam@xxxxxxxxx" <nospam@xxxxxxxxx>
Date: 2010年12月09日 19:15:13 +0100
Delivery-date: 2010年12月09日 10:16:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimfd7jGiK0tCWfdUc1J5Qbh--Pzfb7gW3xE9u1G@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <c22eb0d647c73e607915350ad36a5d4b@xxxxxxxxx> <AANLkTinUvGjM0BTK=vo7BXscNt_HmCYa04vX_sEMAO6e@xxxxxxxxxxxxxx> <e6b5e14a42f9c286c74ae4c2f00540d3@xxxxxxxxx> <AANLkTimfd7jGiK0tCWfdUc1J5Qbh--Pzfb7gW3xE9u1G@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
Am 07.12.2010 18:19, schrieb Todd Deshane:
> On Tue, Dec 7, 2010 at 7:31 AM, Alexander Wendland <nospam@xxxxxxxxx> wrote:
>> On Tue, 7 Dec 2010 00:44:38 -0500, Todd Deshane wrote:
>>>
>>> On Mon, Dec 6, 2010 at 10:32 AM, Alexander Wendland <nospam@xxxxxxxxx>
>>> wrote:
>>>>
>>>> Hello,
>>>>
>>>> I've installed a HVM-guest on xen 4.0.1 with following disk-config:
>>>>
>>>> disk = ['phy:/dev/vg_virtual/test,sda,w','file:/root/foo.iso,hda:cdrom,r'
>>>> ]
>>>>
>>>> "/dev/vg_virtual/test" is a logical volum (LVM2), the iso is an
>>>> image-file.
>>>>
>>>>
>>>> The installation of the Linux-system (booting from cd, setup,...) was
>>>> finished sucessful and the maschine will be restarted.
>>>>
>>>> The rebooted system doesn't boot from the virtual harddisk and is booting
>>>> from "cd" again.
>>>>
>>>>
>>>>
>>>> After disabling cd-booting via boot="c" and restart the maschine says:
>>>>
>>>> Booting from Harddisk...
>>>> Boot from Harddisk failed: could not read the boot disk
>>>>
>>>> No bootable device found.
>>>>
>>>>
>>>>
>>>> I've tried different distributions, also installing in an image-file with
>>>> the same result.
>>>>
>>>> There are data on the disk. I cann see the partitions and can mount it
>>>> (extract via kapartx).
>>>>
>>>> Booting the vm from cd is working. The rescue-system can mount the
>>>> partitionsand I cann work with it.
>>>> Booting from "harddisk" will be failed.
>>>>
>>>> What is wrong? Who can help?
>>>>
>>>
>>> Could you post your guest config file to the list?
>>>
>>> Thanks,
>>> Todd
>>
>> Hello,
>>
>> here is it:
>>
>> kernel = "hvmloader"
>> builder='hvm'
>> memory = 256
>> name = "testhvm"
>> vcpus=1
>> pae=0
>> acpi=1
>> apic=1
>> vif = ['mac=00:16:33:AA:D2:9B, bridge=extern','mac=00:16:33:AA:D2:7B,
>> bridge=dmz','mac=00:16:33:AA:D2:8C, bridge=intern']
>> disk = ['phy:/dev/vg_virtual/test,sda,w','file:/root/foo.iso,hda:cdrom,r' ]
>
> Try changing this disk line to:
>
> disk = ['phy:/dev/vg_virtual/test,hda,w','file:/root/foo.iso,hdb:cdrom,r' ]
>
> The boot="c" refers to MS-DOS style disk naming. So, disk order may in
> fact matter.
>
> Hope that helps,
>
> Thanks,
> Todd
>
>
Hallo Todd,
thank you for your input. This was the solution.
Regards,
Alex
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] 32bit paravirt guests on large memory machines , Kevin Maguire
Next by Date: [Xen-users] netchannel2 - how to use and configure? , Thomas Graves
Previous by Thread: Re: [Xen-users] HVM-guest doesn't boot from virtual disk , Todd Deshane
Next by Thread: Re: [Xen-users] HVM-guest doesn't boot from virtual disk , Erwan RENIER
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /