我试图使用linux mint中的poweriso提取vmdk文件,方法是使用以下命令,
poweriso extract sample-disk1.vmdk / -od /home/local/test/VMDK/extracted/但是,我得到了以下错误,
PowerISO Copyright(C) 2004-2008 PowerISO Computing, Inc
Type poweriso -? for help
sample-disk1.vmdk: The file format is invalid or unsupported.根据文档这里 power iso支持vmdk文件,
Support all popular virtual disc image files, such as VMWare Virtual Disc Images(*.vmdk), VirtualBox Virtual Disc Images(*.vdi), Virtual PC Virtual Disc Images(*.vdi).如何使用power提取vmdk文件?
发布于 2016-04-12 05:14:59
我提供的信息,我曾经挂载的qcow2图像,我希望同样的将适用于vmdk也。
安装GuestFish
$> apt-get install libguestfs-tools挂载qcow2图像
$> guestfish
Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.
Type: 'help' for help on commands
'man' to read the manual
'quit' to quit the shell
><fs> add vAP.qcow2
><fs> run
><fs> list-filesystems
/dev/sda1: ext2
/dev/sda2: ext2
/dev/sda3: ext2
/dev/sda4: reiserfs
><fs> mount /dev/sda2 /
><fs> ls /
.ash_history
.rnd
.ssh
ash_env
bin
boot
bzImage
custom
defaults
dev
><fs> umount /
><fs> exit您可以利用复制和复制将文件从vmdk复制到主机,反之亦然。
https://stackoverflow.com/questions/36544343
复制相似问题