Chinaunix首页 | 论坛 | 博客
  • 博客访问: 152874
  • 博文数量: 42
  • 博客积分: 852
  • 博客等级: 准尉
  • 技术积分: 430
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-10 09:59
文章分类

全部博文(42)

文章存档

2015年(2)

2013年(9)

2012年(21)

2011年(4)

2009年(6)

我的朋友

分类: LINUX

2013-11-01 13:11:22

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 ~]#
阅读(1398) | 评论(0) | 转发(0) |
0

上一篇:Mount an "image" of diak which created by "dd" command

下一篇:没有了

给主人留下些什么吧!~~