HD Install :: Multiple Partitions



This is very very true...
I have made an automatic version of dban, it can be found HERE  just read the README before putting the floppy in your drive.

The nice thing about this is it "factory defaults" your harddrive, no MBR, no paritions, no data...fresh "zeroed" drive

Brian
AwPhuch

Hmmm, i'm not sure if I stated my problem clearly...

I have the hard drive partitioned the way I want it.  That's not the problem.  I would like to know how I should move my files onto the new partitions?  For example: I want to move /usr off of my root partition because it is really huge.  The partition is all set up.  What should I do next?

Sorry if I was confusing or misleading before.

you have to format that partition ext2, label the partition your /usr partition then cp all files from the current /usr to the new /usr and unmount the old /usr. remount new /usr, and then modify the /etc/fstab file

http://www.linuxquestions.org/questions/archive/2/2001/07/3/4372
http://www-106.ibm.com/developerworks/library/l-partplan.html

Google is your friend!!

Good luck

Brian
AwPhuch

Sometimes after you setup a partition and move your files it's hard to tell if you did it right. Here's one way to tell...

Start up Midnight Commander (MC).  Set the left panel for "listing mode" and the right panel for "info" While you have a file or directory highlighted in the left panel you will see information about it in the right panel. Part of that information is "Device:"  That tells you where the file is located. After you copy your files, change fstabs and reboot, your Device: information should be the new partition you moved them to.  

Just my 2 cents... good luck.

PS... The other way to tell if it's working.... Your system not booting is usually a bad sign

Okay, thanks very much.  Those sites were very helpful.  AwPhuch, I've been Googling all afternoon =)  I've actually got a new problem now, though.  I've been moving folders onto new partitions, and changing /etc/fstab accordingly.  The problem is that even though I've set the options to "defaults" they aren't mounted at startup.  Doing a "mount -a" mounts them, but I thought this was supposed to be done automatically at boot with default options, since the default is auto.  I don't have it in front of me, but I believe the entries were like this:

/dev/hda5  /home  ext2  defaults  0  0

Next Page...
original here.