Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1628373
  • 博文数量: 185
  • 博客积分: 10363
  • 博客等级: 上将
  • 技术积分: 2205
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-11 22:29
文章分类
文章存档

2013年(12)

2012年(5)

2011年(2)

2010年(12)

2009年(9)

2008年(15)

2007年(48)

2006年(82)

分类: LINUX

2010-02-01 14:03:59

 

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


阅读(1766) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~