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] GPLV Drivers 0.9.8 Windows Server 2k3r2 on Debian Etch 6

Subject: Re: [Xen-users] GPLV Drivers 0.9.8 Windows Server 2k3r2 on Debian Etch 64-bit + Backports + Xen 3.2.1 Crashed on first boot.
From: Stephan Seitz <s.seitz@xxxxxxxxxxxx>
Date: Thu, 12 Jun 2008 22:08:44 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 12 Jun 2008 12:44:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D013DCDB3@trantor>
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>
Organization: netz-haut e.K.
References: <484EDCD9.6080905@xxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D013DCDB3@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080505)
Try the following:

fdisk /dev/vgname/lvname
u (to change units)
p (to print the partition table)
q (to quit)

Find the partition you are interested in - probably the first one - and
note the starting sector (probably 63). Multiply that starting sector by
512 and use that number as the offset in a mount command, eg:

mount -oloop,offset=32256 /dev/vgname/lvname /mnt

or as the offset in a losetup command.

Just to add my two cents,

its much easier using kpartx.

# kpartx -a /dev/vgname/lvname
# mount -o loop /dev/mapper/vgname--lvname--pnumber /mnt
# ...
# umount /mnt
# kpartx -d /dev/vgname/lvname
         ^^^ if this last step is skipped, bad things may happen ;)

cheers,

Stephan

Attachment: s_seitz.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

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