Mounting a partition as home is usually done though your /etc/fstab file. Here is mine:
Code:
crashedagain@Desktop:~$ cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda4 /home ext3 auto,users,exec 0 0
#/dev/hda4 /media/hda4 ext3 auto,users,exec 0 0
/dev/hda6 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda /media/usb0 auto rw,user,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/hda1 /media/hda1 auto auto,users,exec,umask=000,ro 0 0
/dev/hda5 /media/hda5 ext3 auto,users,exec 0 0
/dev/hdb7 /media/hdb7 ext3 auto,users,exec 0 0
/dev/hdb8 /media/hdb8 ext3 auto,users,exec 0 0
crashedagain@Desktop:~$
The operating system (Debian) is on hda3 and the original /home folder created at installation time on hda3 remains intact but the line
Code:
/dev/hda4 /home ext3 auto,users,exec 0 0
mounts the partition hda4 as /home instead. If for some reason I want to access the original /home folder, I have to edit the fstab file to use the next line instead which mounts hda4 as /media/hda4 instead of /home. The system then reverts to using the original /home folder. There is no other way to access this folder.
However, your /home partition must contain a lot of the config files for your linux system. I think it would be safer for these to be on a Linux only partition.... either in the existing /home folder or as a separate partition. For easy access to your shared XP "My Documents" partition, just create a symlink called DOCUMENTS in your /home partition or on your desktop (or both). In my case this would be
Code:
ln -s /media/hda1/MY\ DOCUMENTS /home/DOCUMENTS
. Note the odd syntax to handle the blank in the "MY DOCUMENTS" filename. Easiest way to get this right is to
Code:
ls /media/hda1/MY<tab>
then let the system finish the syntax for you.