FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 11-07-2008, 03:28 PM
"Paras pradhan"
 
Default mounting image

hello all,

How do I mount the image created by virt-p2v?
I have a file*p2v-localhost_localdomain-200811061823-hda.img which i wanted to mount and edit some settings.

i am not able to mount it as: mount -o loop*p2v-localhost_localdomain-200811061823-hda.img /somedir

losetup -a tells it is linked to /dev/loop0.

--/dev/loop0: [0805]:12 (/p2v-localhost_localdomain-200811061823-hda.img)

--

Thanks
Paras.
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 11-10-2008, 01:17 PM
Joey Boggs
 
Default mounting image

To mount a disk image it's a little different than a regular loopback image.

- Setup a loop device to the imagefile
losetup /dev/loopX p2v-localhost_localdomain-200811061823-hda.img

- Read the partitions
kpartx -av /dev/loopX

- Mount each partition as required
mount /dev/mapper/loopXpX /MOUNTPOINT



Paras pradhan wrote:

hello all,


How do I mount the image created by virt-p2v?

I have a file p2v-localhost_localdomain-200811061823-hda.img which i
wanted to mount and edit some settings.


i am not able to mount it as: mount -o
loop p2v-localhost_localdomain-200811061823-hda.img /somedir


losetup -a tells it is linked to /dev/loop0.

--
/dev/loop0: [0805]:12 (/p2v-localhost_localdomain-200811061823-hda.img)

--


Thanks
Paras.
------------------------------------------------------------------------

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 07:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org