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] Mounting RHEL 4 virtual machine disks (dd/mount -oloop)

To: "Luke S. Crawford" <lsc@xxxxxxxxx>
Subject: RE: [Xen-users] Mounting RHEL 4 virtual machine disks (dd/mount -oloop)
From: "Kraska, Joe A \(US SSA\)" <joe.kraska@xxxxxxxxxxxxxx>
Date: Tue, 17 Apr 2007 16:29:27 -0700
Cc: Marcin Owsiany <marcin@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Apr 2007 16:28:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <09D59AEF0405D740BDCA2FAC0E0EA97601B3D590@xxxxxxxxxxxxxxxxxxx><20070417211513.GB16151@kufelek> <09D59AEF0405D740BDCA2FAC0E0EA97601B7D91C@xxxxxxxxxxxxxxxxxxx> <Pine.NEB.4.64.0704171459510.5530@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceBPvvLDqHroVM2QMyHv6rGfk6ShwACM5SA
Thread-topic: [Xen-users] Mounting RHEL 4 virtual machine disks (dd/mount -oloop)
> > [root@blade15 xen-rh64-gold]# mount -o loop -t ext3 hda mnt
> > mount: wrong fs type, bad option, bad superblock on /dev/loop0,
> 
> you want
> 
> losetup /dev/loop1 /dev/hda
> 
> then kpartx -av /dev/loop1
> 
> (the partitions are in /dev/mapper/loop1px)
> 
> then mount /dev/mapper/loop1p2 /mnt
> 
> or something like that
> 
> ...
> 
> > The vm installed into "had" is configured with the default
> > partitioning mechanism, which involves LVM.
> 
> LVM is different... if the above doesn't work, try running
vgscan/lvscan
> after you losetup.

Mkay. Maybe it wasn't obvious but "hda" in the above mount command is
the
Xen image file. It was the file made with dd, into which RHEL44 was
installed
using Qemu. I'm a bit confused in your instructions, because you seem to
be
forwarding me to a /dev/hda, and don't reference my file based image at
all.
That I can see.

Sorry about my confusion. My sojourn into Xen has me learning basic
low level linux commands that other gurus take for granted. :)

Joe.



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