Adding A New HDD as a new /home & for 2nd OS
I have a 20gig hard disk with slackware on it & it runs pretty nice on on my old AMD however I have 20gigs of music & about 30 of backed up DVDs so I want to add another hardrive and move slackware's /home partition onto it, keeping the rest of the system on the original 20gig drive.
The second hard drive is 200gig & will be set to slave on the DVD drives IDE channel. I also want to install Windows XP on the second drive (needed :[) on a 10gig partition & ubuntu linux sharing the new home. can anyone help with moving /home or point me in the right direction. Thanks. |
First off I am going to assume you will be using the first partition on the second drive as your XP partition, and the second partition as your /home partition. And from now on I will refer to your root fs partition as /dev/hda1 and your /home fs as /dev/hdb2.
You could set things up like this: First copy everything from /home to the root of the second drive: 1. Mount the second drive to a temporary mount point: Code:
mount /dev/hdb2 /mnt/temp Code:
cp -a /home/* /mnt/temp Code:
# /etc/fstab Hope this helps. |
Thanks. I'm going to put the drive iin & give it a try in about an hour :)
|
All times are GMT -5. The time now is 02:20 AM. |