1, check
[root@xadr2001 ~]# file -s /mount/vhost/vhost4lv.bak2
/mount/vhost/vhost4lv.bak2: x86 boot sector; partition 1: ID=0x41, active, starthead 32, startsector 2048, 8192 sectors; partition 2: ID=0x83, starthead 162, startsector 10240, 1024000 sectors; partition 3: ID=0x8e, starthead 96, startsector 1034240, 30423040 sectors
[root@xadr2001 ~]#
2, calculate:
10240 * 512 = 5242880
3, mount:
[root@xadr2001 ~]# mount -o loop,offset=5242880 /mount/vhost/vhost4lv.bak2 /mount/vhost/mount/
[root@xadr2001 ~]# ls /mount/vhost/mount/
config-2.6.32-358.el6.ppc64 grub symvers-2.6.32-358.el6.ppc64.gz
efika.forth initramfs-2.6.32-358.el6.ppc64.img System.map-2.6.32-358.el6.ppc64
etc lost+found vmlinuz-2.6.32-358.el6.ppc64
[root@xadr2001 ~]#
阅读(1444) | 评论(0) | 转发(0) |