参考了
如下内容,但是我的分区加载后还是有问题,只加载了第一个分区/boot,其它分区还是没有正常mount上来
==================================================================
linux-CVS:/export/home/disk/cvs # ls
disk0
linux-CVS:/export/home/disk/cvs # fdisk -lu disk0
You must set cylinders.
You can do this from the extra functions menu.
Disk disk0: 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
disk0p1 63 1574369 787153+ 82 Linux swap / Solaris
disk0p2 1574370 20964824 9695227+ 83 Linux
Partition 2 has different physical/logical endings:
phys=(1023, 254, 63) logical=(1304, 254, 63)
linux-CVS:/export/home/disk/cvs # expr 512 \* 1574370
806077440
linux-CVS:/export/home/disk/cvs # mkdir mnt
linux-CVS:/export/home/disk/cvs # mount -o loop,offset=806077440 disk0 mnt/
linux-CVS:/export/home/disk/cvs # cd mnt/
linux-CVS:/export/home/disk/cvs/mnt # ls
bin boot dev etc home home2 lib lib64 media mnt opt proc root sbin srv success sys tmp usr var
==================================================================
阅读(938) | 评论(1) | 转发(0) |