Unfortunately, /dev/hda2 is not big enough that using it would be worth your trouble.
The next one over is /dev/hda3 ( Extended ) and you can't remove that without messing with 5 and 6.
If it was my system, I'd fix the partitions on /dev/hdb and use a livecd with partimage . Save the partimage image to someplace on /dev/hdb and also save your jpg and mp3 stuff in a folder on /dev/hdb .
From a livecd still...
I would remove all partitions on /dev/hda and create /dev/hda1 to the larger size which you desire.
Next, restore the partimage image to the new /dev/hda1.
Next, run the command: e2fsck -f /dev/hda1
Next, run the command: resize2fs -f /dev/hda1
Next, create the swap partition and run the command: mkswap /dev/hda2
Next, create the Extended partition
EDIT: If partitions 5 and 6 are used for something like /home and /usr then you will want to backup those partitions and restore them with partimage.
Finally, create partitions 5 and 6
Format them, for example... mkfs.ext3 /dev/hda5 && mkfs.ext3 /dev/hda6
Last edited by homey; 10-14-2005 at 05:51 PM.
|