Other Help Topics :: How to set /home to another partition



Perhaps you stepped over the automatics, since you wouldn't have needed to edit fstab or bootlocal, or even create the directory..
You either use home= OR you use nofstab with and manually edited /etc/fstab.  That's an exclusive or.

In any case, your /etc/fstab was modified wrong: /dev/hda4 points to /mnt/hda4

It'll probably just be easier to use the automatic home= cheatcode.  For more information, there's an article in the wiki on persistence.

Yes, I read the wiki article.

I tried it as it said, but torsmo shows the same values for / and  /home filesystem so I don't think it's worked. And the partitions aren't the same size.

Could it be a problem that lilo is on another partition, with Vector Linux Light? So I did this in DSL:

mount /mnt/hda4
mkdir -p /mnt/hda4/home
cp -a /home/dsl /mnt/hda4/home

Then booted in Vector, modified the lilo.conf (added the home=hda4) , ran lilo and then booted in DSL but no change....

Not /mnt/hda4/home/... because the root of /mnt/hda4 is being mounted as /home. The directory for dsl needs to be in hda4's root. The way you're doing it is /mnt/hda4/home/home/dsl.

When I move stuff to new partitions like that:
$ su
(enter root password)
# cp -rp dsl/ /mnt/hda4

Now when /home is mounted on /dev/hda4, ./dsl is in /home (edit: with all the original permissions preserved). Not in /home/home.

But this is what the wiki says:

Code Sample
Persistent home directory

A persistent home directory means that your entire home directory is written somewhere permanent, rather than constantly re-created at boot. Your home directory is probably where most of your custom settings are anyway, so making this persistent will save most or all of your settings. Here's how:

1) The first step is to create your home directory. Load up DSL as you normally would. Don't use the home boot option. Execute the following. If you want your home directory somewhere other than hda5, replace hda5 with the mount point of your device.

mount /mnt/hda5
mkdir -p /mnt/hda5/home
cp -a /home/dsl /mnt/hda5/home

2) Reboot, and use the boot option:

dsl home=hda5

Use this boot option every time you boot.


So what should I do now? I did a clean install of DSL 4.4.3 on hda2. I want my home to be on hda4. What's the right method of the 2?

Next Page...
original here.