Install the drives. Run fdisk on each drive, then make filesystems on each ("mke2fs -j /dev/whatever" for ext3, "mkreiserfs /dev/whatever" for reiserfs). Make directories /mnt/home and /mnt/var, mount the new filesytems on them, go to runlevel 1 (telinit 1), and do "mv /var/* /mnt/var" and "mv /home* /mnt/home". Unmount from the temporary locations ("umount /mnt/var" and "umount /mnt/home"). Create entries in /etc/fstab for the new /home and /var, then run "mount /var" and "mount /home". Go back into runlevel 3, 4, or 5 (not sure which Debian uses for X, 4 or 5, or if you just want command line, 3). If you can't move a file, use the fuser command to figure out what PID is using it. If the process refuses to die, use "kill -9 PID". Being in runlevel 1 should kill just about everything, though. Post back if you need more details.
|