如果是非lvm格式的,则非常方便,给mount命令传递offset参数即可,例如:
[root@jcwkyl xen-images]# fdisk -lu centos_vm1
last_lba(): I don't know how to handle files with mode 81ed
You must set cylinders.
You can do this from the extra functions menu.
Disk centos_vm1: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders, total 0 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
centos_vm1p1 * 63 208844 104391 83 Linux
centos_vm1p2 208845 4192964 1992060 8e Linux LVM
看到第一
mount一个lvm格式的磁盘映像文件
最新推荐文章于 2025-06-15 17:27:36 发布