New Harddrive - almost there!
Hi all, Taking the advice on config of the new drive, etc. and have had some successful experiments. Before I finalize things, a few questions I'm still fuzzy on. I'm setting up a new harddrive (hdb) and want to move all the user data (/home/jeepnut) to a separate drive from the system files. 1. when I partition hdb should I partition as a primary or as an extended partition. I'm unclear about what the difference is other than being able to define more than 4 logical partitions in an extended partition. Does it really matter if I use extended or primary for this partition? I got into trouble once defining /home on the hdb drive. Once I did that, I no longer had access to the data in the /home folder on the hda drive. So I could not move things over to the new drive. So it occurs to me to make hdb have a different mount point, something other than /home. 2. when I define the partition, should I define the mount point as something like /UserFiles/JeepNut? or should I just make the mount point on hdb /JeepNut? Apologies if these are stupid questions. I'm just beginning to understand what is going on with the partitions and their names... Thanks! JeepNut In a world without walls or fences, who needs Windows or Gates? Registered Linux User #287453 ---------------------------------------- '87 Street Comanche #24/100 '92 Cherokee '88 Grand Wagoneer '87 Grand Wagoneer ...and they say there's only one... --------------------------------------- -- ______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze
On Monday 23 August 2004 01:02, Steve Lett wrote:
Hi all, Taking the advice on config of the new drive, etc. and have had some successful experiments. Before I finalize things, a few questions I'm still fuzzy on.
I'm setting up a new harddrive (hdb) and want to move all the user data (/home/jeepnut) to a separate drive from the system files. 1. when I partition hdb should I partition as a primary or as an extended partition. I'm unclear about what the difference is other than being able to define more than 4 logical partitions in an extended partition. Does it really matter if I use extended or primary for this partition?
If you're going to use the whole disk as /home then make it hdb1, a primary partition
I got into trouble once defining /home on the hdb drive. Once I did that, I no longer had access to the data in the /home folder on the hda drive. So I could not move things over to the new drive. So it occurs to me to make hdb have a different mount point, something other than /home. 2. when I define the partition, should I define the mount point as something like /UserFiles/JeepNut? or should I just make the mount point on hdb /JeepNut?
When you copy the old /home files, you mount it on a different directory. The steps are roughly like this 1. Log out all regular users 2. log in as root 3. Create partition hdb1 4. format the hdb1 partition 5. mkdir /newdrive 6. mount /dev/hdb1 /newdrive 7. cp -a /home/* /newdrive/ 8. mv /home /home.old 9. mkdir /home 10. umount /newdrive 11. mount /dev/hdb1 /home When you've verified that the home directories are all intact in your new setup, you can do 12. rm -rf /home.old
The Sunday 2004-08-22 at 17:02 -0600, Steve Lett wrote:
1. when I partition hdb should I partition as a primary or as an extended partition. I'm unclear about what the difference is other than being able to define more than 4 logical partitions in an extended partition. Does it really matter if I use extended or primary for this partition?
No. Well, primary or logical. It only matters for booting up certain operating systems.
I got into trouble once defining /home on the hdb drive. Once I did that, I no longer had access to the data in the /home folder on the hda drive. So I could not move things over to the new drive. So it occurs to me to make hdb have a different mount point, something other than /home.
Of course.
2. when I define the partition, should I define the mount point as something like /UserFiles/JeepNut? or should I just make the mount point on hdb /JeepNut?
Apologies if these are stupid questions. I'm just beginning to understand what is going on with the partitions and their names...
Well... I answered to your question when you asked a few days before, but it seems you didn't notice. I'll repeat - the answers to your questions are in this file, so, please, read it: /usr/share/doc/howto/en/txt/Hard-Disk-Upgrade.gz alternatively: /usr/share/doc/howto/en/html/Hard-Disk-Upgrade/index.html If "not found", install it from the dvd. Or, you can get it from the web. -- Cheers, Carlos Robinson
participants (3)
-
Anders Johansson
-
Carlos E. R.
-
Steve Lett