Chinaunix首页 | 论坛 | 博客
  • 博客访问: 498275
  • 博文数量: 143
  • 博客积分: 4072
  • 博客等级: 上校
  • 技术积分: 1442
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-20 19:27
文章分类

全部博文(143)

文章存档

2014年(2)

2011年(4)

2010年(1)

2009年(9)

2008年(34)

2007年(93)

我的朋友

分类: LINUX

2011-03-14 16:26:48

参考了
如下内容,但是我的分区加载后还是有问题,只加载了第一个分区/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

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

chinaunix网友2011-03-27 20:08:59

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com