The simplest solution is: to run in Linux cfdisk program with the command cfdisk /dev/sda
or cfdisk /dev/hda
, to change the type of the first partition to 83 Linux, to write the new settings and to quit cfdisk.
Then use mkfs.ext3 program to create the filesystem with the command mkfs.ext3 /dev/sda1
or mkfs.ext3 /dev/hda1
Next add to /etc/fstab file the line:
/dev/sda1 /home ext3 defaults 1 2
/dev/hda1 /home ext3 defaults 1 2
Finally mount for a while /dev/sda1 or /dev/hda1 device with mount /dev/sda1 /mnt/tmp
or mount /dev/hda1 /mnt/tmp
command and copy the contents of /home directory to /mnt/tmp directory leaving empty /home directory in the place where it was.
After the reboot of the system you should have the Linux system on the smaller second partition and /home directory on the bigger first partition.