LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 976|回复: 5

大硬盘要如何解决?

[复制链接]
发表于 2007-7-5 22:05:27 | 显示全部楼层 |阅读模式
今天用一快160G的硬盘,想分一个90000M的分区,但是用fdisk 分不了,fdisk 好象有40G的上限,现求各位同仁指教,不胜感激!
发表于 2007-7-5 22:33:52 | 显示全部楼层
Post by abcdefgl123
今天用一快160G的硬盘,想分一个90000M的分区,但是用fdisk 分不了,fdisk 好象有40G的上限,现求各位同仁指教,不胜感激!


用cfdisk
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-8 20:19:38 | 显示全部楼层
谢谢回复。我去试哈。看cfdisk 是否能解决。
回复 支持 反对

使用道具 举报

发表于 2007-7-12 08:02:11 | 显示全部楼层
我的fdisk好像可以分40G以上的分区啊。
  1. bumpy:/etc/X11$ sudo fdisk /dev/hda
  2. The number of cylinders for this disk is set to 14593.
  3. There is nothing wrong with that, but this is larger than 1024,
  4. and could in certain setups cause problems with:
  5. 1) software that runs at boot time (e.g., old versions of LILO)
  6. 2) booting and partitioning software from other OSs
  7.    (e.g., DOS FDISK, OS/2 FDISK)
  8. Command (m for help): p
  9. Disk /dev/hda: 120.0 GB, 120034123776 bytes
  10. 255 heads, 63 sectors/track, 14593 cylinders
  11. Units = cylinders of 16065 * 512 = 8225280 bytes
  12.    Device Boot      Start         End      Blocks   Id  System
  13. /dev/hda1               1         637     5116671   12  Compaq diagnostics
  14. /dev/hda2   *         638        2432    14414548    c  W95 FAT32 (LBA)
  15. /dev/hda3            2433        7705    42355372+  83  Linux
  16. /dev/hda4            7706       14593    55327860    5  Extended
  17. /dev/hda5            7706        7806      811251   82  Linux swap / Solaris
  18. /dev/hda6           10138       14593    35792788+  83  Linux
  19. /dev/hda7            7807       10137    18723726    c  W95 FAT32 (LBA)
  20. Partition table entries are not in disk order
  21. Command (m for help): q
  22. bumpy:/etc/X11$ fdisk -v
  23. fdisk v2.12r
  24. bumpy:/etc/X11$
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-7-12 15:15:54 | 显示全部楼层
Post by abcdefgl123
今天用一快160G的硬盘,想分一个90000M的分区,但是用fdisk 分不了,fdisk 好象有40G的上限,现求各位同仁指教,不胜感激!
没有这种说法!
我有个一个100GB多一点的分区是用Linux中的fdisk划分的。还有一个120GB多的也是。都是Linux分区。
分过区之后,看一下提示最好是重启一次(当然没有被挂载过的可以免了),然后再创建文件系统。我用的是 reiserfs 和 xfs 。
  1. root@slackware:~# fdisk -l
  2. Disk /dev/hda: 160.0 GB, 160041885696 bytes
  3. 255 heads, 63 sectors/track, 19457 cylinders
  4. Units = cylinders of 16065 * 512 = 8225280 bytes
  5.    Device Boot      Start         End      Blocks   Id  System
  6. /dev/hda1   *           1         768     6168928+  83  Linux
  7. /dev/hda2             769        3952    25575480   bf  Solaris
  8. /dev/hda3            3953        4080     1028160   82  Linux swap
  9. /dev/hda4            4081       19457   123515752+  83  Linux
  10. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  11. 255 heads, 63 sectors/track, 19457 cylinders
  12. Units = cylinders of 16065 * 512 = 8225280 bytes
  13.    Device Boot      Start         End      Blocks   Id  System
  14. /dev/sda1               1         500     4016218+  83  Linux
  15. /dev/sda2             501        1000     4016250   83  Linux
  16. /dev/sda3   *        1001        2000     8032500   83  Linux
  17. /dev/sda4            2001       19457   140223352+   5  Extended
  18. /dev/sda5            2001        3000     8032468+  83  Linux
  19. /dev/sda6            3001        4000     8032468+  83  Linux
  20. /dev/sda7            4001       19457   124158321   83  Linux
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-15 10:31:49 | 显示全部楼层
谢谢回复。我有机会再试验一下。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表