From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Gon=E9ri_Le_Bouder?= Subject: Re: fdisk hard drive image Date: Fri, 11 Feb 2005 15:06:36 +0100 Message-ID: <420CBBEC.5000509@sitadelle.com> References: <420C9B8C.9020300@sitadelle.com> <20050211125112.GA5033@nsk.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20050211125112.GA5033@nsk.no-ip.org> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Luciano Miguel Ferreira Rocha Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Luciano Miguel Ferreira Rocha wrote: >On Fri, Feb 11, 2005 at 12:48:28PM +0100, Gon=E9ri Le Bouder wrote: > =20 > >>Hello list, >> >> >>Currently, i use a partition image to run my XenU (/dev/hda2) and "fdis= k=20 >>-l" return nothing and can't open /dev/hda . >> >>I want to use a full hard drive image (not partition image) from my Xen= 0=20 >>as hda in my XenU. I want to be able to run fdisk on hda in my XenU to=20 >>list and regenerate partitions. >> >> >>I tried with this (/img is my hard drive image): >> >>disk =3D ['/img,hda,w'] >> >>disk =3D ['phy:loop3,hda,w'], loop3 is /img attached to /dev/loop3 by=20 >>losetup. >> >>But, both don't work. >> >>Is it possible ? >> =20 >> > >THe block device isn't exported as an hard disk. Just as a block device >(like ram*, loop*). > >If you want to use several filesystems over a single block device, >you'll have to use lvm. > Thanks for the answer, In this case, if i use lvm, i still have to create my partitions from=20 Dom0. Is there a way to create partitions from XenU with fdisk. Gon=E9ri ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click