全部博文(163)
分类: LINUX
2009-07-27 15:45:42
[root@xen rruban]# file rheltest.img
rheltest.img: x86 boot sector, GRand Unified Bootloader (0.94);
partition 1: ID=0x83, active, starthead 1, startsector 63, 208782 sectors;
partition 2: ID=0x8e, starthead 0, startsector 208845, 3871665 sectors, code offset 0x48
[root@xen]fdisk -lu rheltest.img
Disk rheltest.img: 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
rheltest.img1 * 63 208844 104391 83 Linux
rheltest.img2 208845 4080509 1935832+ 8e Linux LVM
mount -o loop,offset=32256 test.img /foldername