For ages I used a separate /home partition so I could try lots of different distros easily and so I didn't have to keep moving everything else (ie everything in the folder hierarchy apart from /home) over to a new hard drive as my music and video collection increased, and for these reasons  I did find it quite handy. However I found a simpler way to do the same thing - with a simpler set-up    it is a big pain to do properly, and I found that just using simple symlinks instead was very simple and easy to maintain - just keep your home directory on the home drive, make the folders you need, and then make links pointing at the folders you have on the storage hard drive. If the only reason you're thinking of creating a separate /home partition, then using symlinks is a great way to go that doesn't stuff around with UUIDs or fstab. Give it a try, and if you're not sure what I'm talking about and can't find anything through Google, pass us a message and I'll give you more complete instructions.

andy gee

Sat, 09 Feb 2008 21:57:30 +1100 (EST), Alex Samad <[EMAIL PROTECTED]>:
On Sat, Feb 09, 2008 at 07:31:10PM +1100, Michael Chesterton wrote:
>
> On 09/02/2008, at 7:00 PM, bill wrote:
>> create /home on /hda3
>
> No, you just mount /dev/hda3 /mnt and
> cp -a /home/* /mnt/
>
>> rename original /home for safety until relocated home is verified to
>> work
>>
>> edit /etc/fstab - change current entry for /hda3 to:-
>>
>> /dev/hda3 /home ext3 defaults,errors=remount -ro 0 1
>>
> then
>
> mv /home /home.old
> mkdir /home
> umount /mnt
> mount /home
I would do it slightly differently

(boot into single user mode)
cd /
mv /home /home.orig
mkdir /home
mount /home # Assumnig that fstab is fixed up to mount /dev/hda3 onto /home
do a ls -l /home.orig and set the permissions on the new /home (you need to do
this after the mount so that the permissions get added to the mount partition

rysnc -av /home.orig/* /home/ (this will save symlink and permissions and other
stuff )

then reboot

once you check everything is working fine rm -fr /home.orig

A


>
> you probably want to do that in single user mode.
>
>> I shouldn't need to change the UUID for /hda3 in /dev/disk/by_UUID but
>> will need to change th epartiton label in /dev/disk/by_label I
>> believe.
>>
>> Please confirm that the above is correct, or point out any errors if
>> applicable.
>>
>> After lots of Web searching I've spent hours recently changing UUID's
>> and disk/partition labels due to moving HDs from another PC ( I
>> currently have 3 IDE and 2 SATA HD's plus a DVDRW in this PC) and don't
>> want to stuff this up.
>>
>> Everything was so much easier before UUID.
>
> You're not using the uuid, so you can ignore it.
>
> --
> Michael Chesterton
> http://chesterton.id.au/blog/
> http://barrang.com.au/
>
>
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>

--
"Every religion is welcomed in our country; all are practiced here."

- George W. Bush
02/07/2002
Washington, DC
one of many less-than-sincere remarks made at a National Prayer Breakfast

[Attachment: signature.asc] --
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to