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 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] convert hvm installation to sxp

Thanks,

# loosetup -o 32256 /dev/loop0 /dev/VG_Guests/ftest
# mount -t ext3 /dev/loop0 /mnt/fedora_mount2

Works for me.

On Thu, 2006-11-02 at 10:47 -0800, Tom Brown wrote:
> the xen docs that cover hvm installations talk about using losetup to 
> specify an offset into a block device (lvm partition) to solve this. See 
> section A.3 from 
> http://www.cl.cam.ac.uk/research/srg/netos/xen/readmes/user/user.html
> 
> 
> 
> On Thu, 2 Nov 2006, Alex Volkov wrote:
> 
> > Hello all.
> > I'm trying to move a domU linux install from a machine that supports VT
> > to a machine that doesn't. 
> > I already installed dom0 using VT with a graphical installer and now I'd
> > like to transform the installation into paravitrualized one. So I need
> > do copy some stuff.
> > 
> > The problem is that I can't mount root partition from dom0.
> > domU is installed on lvm partition and whenever I try to mount it I get
> > the following:
> > #mount -t ext3 /dev/VG_Guests/ftest /mnt/fedora_mount2
> > mount: wrong fs type, bad option, bad superblock on ftest,
> >     missiing codepage or other error
> >     In some cases useful info is found in yslog - try
> >     dmesg | tail or so
> > When I open the system with fdisk I see the following:
> > #fdisk /dev/VG_Guests/ftest
> > Device      Boot    Start   End     Blocks          Id      System
> > ftestp1     *       1       522     4192933+        83      Linux
> > 
> > Notice that fdisk added 'p1' to the partition name. So I guess inside of
> > an lvm partition there is another partition + boot sector or some other
> > system information. How can I access that partition from dom0?
> > 
> > I tried to install a domU on already formattted ext3 partition, but the
> > installer doesn't seem to recognize it and reformats partition into
> > this.
> > The same thing happens when I use file on a disk, created with dd<
> > instead of a lvm volume.
> > 
> > Any help apreciated.
> > 
> > Alex.
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> > 
> 
> 
> ----------------------------------------------------------------------
> tbrown@xxxxxxxxxxxxx   | What I like about deadlines is the lovely
> http://BareMetal.com/  | whooshing they make as they rush past.
> web hosting since '95  | - Douglas Adams

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>