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

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.



On Thu, Jun 12, 2008 at 10:08:44PM +0200, Stephan Seitz wrote:
> > 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

Don't use loop. kpartx creates a usable block device.

-- 
lfr
0/0

Attachment: pgpyOpsbWR0jH.pgp
Description: PGP signature

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

 


Rackspace

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