I've a very messy hardrive and I'm trying to reorganize it using parted. The hard drive in this machine is currently like this:
/dev/hda1 4.7G (fat 32 and win2k on it)
/dev/hda2 19G (fat 32)
/dev/hda3 15G (mounted as / and ext3)
/dev/hda5 38G (mounted as /home and ext3)
none 125M (not mounted, located at /dev/shm)
This is a box of mine, actually, the first one I've tried Linux with and was broken. Now I've fixed it and would like to play with parted to fix its HD (80gigas) as I want and learn it. It's OK if I lose data, the point here is to learn. Windows partitions I can resize with PQ magic, no big, but I don't know how to resize Linux partitions with parted. I'm trying to:
(parted) resize 1
But I cannot use parted while mounted. So... how to unmount a partition?
My goal is to divide my HD like this:
hda1 hda2 swap hda3
The idea is to have a hda1 partition, NTFS for Win2k (about 10 gigas), hda2 (Linux partition, about 10 gigas too and not a /home separated partition), a small one for the swap, the space left (hda3) in Fat32 so both Linux and Windows can write to it (read movies and music stuff..).
I don't need help with everything, just somebody point me out the steps or at least how to start doing so, as unmount a partition. Again, it's not a big problem if I go losing the data in this HD. I want to learn how to resize "safely" Linux partitions and organize my data better. That's why I don't want to format and make it nice and simple
. Also, suggestions about how to divide a HD of 80 gigas would be nice. (recommended space for win, linux, data, etc). The above was the best I could think of...
Thanks a lot for any help
P.S: I also have a knoppix disk if it's of any help. This machine has Redhat 9.0 and win2k on it and I understand nothing about cylinders and stuff in the case somebody asks