当前位置: 技术问答>linux和unix
我xp系统上原本有1个主分和1个扩展分区,装linux我从逻辑分区F盘里面划出50G出来。把50G分成 20+20,
来源: 互联网 发布时间:2016-10-20
本文导语: 两个都作为主分区,20:/。。20:swap。 [root@localhost tmp]# fdisk /dev/sda The number of cylinders for this disk is set to 60801. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems w...
两个都作为主分区,20:/。。20:swap。
[root@localhost tmp]# fdisk /dev/sda
The number of cylinders for this disk is set to 60801.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): n
No free sectors available我硬盘还有空余空间的。怎么会出现这样的提示呢。
现在回想起来那时搞错了。应该是把两个20G作为逻辑分区,但确被我强制为主分区了。
1)也就是剩下的10G用不了。怎么办呢。没法再分了。
2)怎么把swap主分区给改成逻辑分区呢?
[root@localhost tmp]# fdisk /dev/sda
The number of cylinders for this disk is set to 60801.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): n
No free sectors available我硬盘还有空余空间的。怎么会出现这样的提示呢。
现在回想起来那时搞错了。应该是把两个20G作为逻辑分区,但确被我强制为主分区了。
1)也就是剩下的10G用不了。怎么办呢。没法再分了。
2)怎么把swap主分区给改成逻辑分区呢?
|
Acronis Disk Director Suite
|
找到篇linux分区的文章,很详细。
http://lanmh.javaeye.com/blog/743793?1290603248
http://lanmh.javaeye.com/blog/743793?1290603248