[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Accessing individual partitions of a HVM guest


  • To: xen-users@xxxxxxxxxxxxx
  • From: Andreas Hilboll <lists@xxxxxxxxxx>
  • Date: Thu, 27 Dec 2012 19:27:52 +0100
  • Delivery-date: Thu, 27 Dec 2012 18:28:44 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

>> I need to do some p2v migration of a very old SuSE server.
>> Unfortunately, the kernel of that machine doesn't support running as xen
>> domU, so I need to put the machine into a HVM domU.
>>
>> When I set up the domU with
>>
>>    disk = ['phy:/dev/vg_guest/worker1_disk,sda1,w']
>>
>> then the domU doesn't boot because it says that no OS was found on the HDD.
>>
>> Of course I could set up the domU with
>>
>>    disk = ['phy:/dev/vg_guest/worker1_disk,sda,w']
>>
>> but then how can I access the individual partitions of the domU's
>> /dev/sda from the dom0?
> 
> kpartx

Thanks, guys, works like a charm :)

Cheers, Andreas.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.