I am trying to set up a separate partition for /var, /tmp/ /home/ and /opt for a new Debian 5.0 installation. I have searched through the forums and thought I understood what to do, but it is not working. This is what I did:
1. Created 4 disk images for each partition using the raw format.
2. Created a new Debian 5.0 profile
3. Booted the new profile
4. Edited /etc/fstab to read:
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/xvda / ext3 noatime,errors=remount-ro 0 1
/dev/xvdb none swap sw 0 0
/dev/xvdc /home ext3 defaults 1 2
/dev/xvdd /opt ext3 defaults 1 2
/dev/xvde /tmp ext3 defaults 1 2
/dev/xvdf /var ext3 defaults 1 2
5. Rebooted
When I look in /home I am seeing what the original Debian 5.0 profile, and not my new partition. When I try mounting a partition manually, I get this error:
Code:
li84-151:/# mount /tmp
mount: /dev/xvde is not a valid block device
Do I need to format the disk images? The instructions on the web interface said to make these disk images raw if they are to be used as a partition -
Quote:
If you plan on partitioning the device, use "unformatted / raw" for the Filesystem Type.
Thanks for any suggestions or a link to the "Linode approve method for creating a new install with separate partitions"!
Mark
[/list]