Hello folks, I (finally) acquired a 40Gb HDD. I have partitioned it as follows :-
primary - 2Gb - fat32 - /dev/hda1 extended - rest logical - 1.3Gb - Linux /dev/hda5 - 4Gb - fat32 /dev/hda6 - 9Gb - fat32 /dev/hda7 - 9Gb - fat32 /dev/hda8 - rest - fat32 /dev/hda9
I my haste and excitement I did not create a swap partition for Linux. Can I *delete* (using linux fdisk) the /dev/hda5 partition and split it into 2 without harm to the rest of the partitions? I think we can do it as the linux fdisk allows a lot of control, but I would just like to be certain about side-effects. :D
Or can I use a swap _file_ instead of a partition? Or is a partition recommended?
I would have experimented, but I already lost a lot of data in my last HDD crash and now I do not have a backup HDD.
thanks, quasi
I my haste and excitement I did not create a swap partition for Linux. Can I *delete* (using linux fdisk) the /dev/hda5 partition and split it into 2 without harm to the rest of the partitions? I think we can do it as the linux fdisk allows a lot of control, but I would just like to be certain about side-effects. :D
You can safely delete the partition and create two in it's place without any hassles. the side effects include better performance from your system. :)
Or can I use a swap _file_ instead of a partition? Or is a partition recommended?
A partition is recommended.
---> vinayak hegde
Success has many fathers. Failure is always an orphan.
On Fri, May 24, 2002 at 06:04:57PM +0530, Q u a s i wrote:
primary - 2Gb - fat32 - /dev/hda1 extended - rest logical - 1.3Gb - Linux /dev/hda5 - 4Gb - fat32 /dev/hda6 - 9Gb - fat32 /dev/hda7 - 9Gb - fat32 /dev/hda8 - rest - fat32 /dev/hda9
I my haste and excitement I did not create a swap partition for Linux. Can I *delete* (using linux fdisk) the /dev/hda5 partition and split it into 2 without harm to the rest of the partitions? I think we can do it as the linux fdisk allows a lot of control, but I would just like to be certain about side-effects. :D
After you delete /dev/hda5 and create two partitions, they would no longer be hda5 and hda6. When you delete the hda5 partition, all the subsequent partitions would be renumbered to start from 5 and the two new Linux partitions would become hda9 and hda10. fdisk will also give a message saying that the partition numbers are not in order.
You can correct this by first going to 'extra functionality mode' using the 'x' command and then by using the 'f' command to fix the partition order.
Abhir