re-install OS without wiping all the available disk space
When I configured my Linode512, I chose to only use 15G of the available 20G for the OS partition, and made the remaining space into a new partition (DataStore) which I intend to use for various backup files. Presently, I would like to store configuration files I've edited during my install.
I have 3 partitions on my linode, Ubuntu 10.04 LTS, Swap Drive, and DataStore. I would like to re-install Ubuntu fresh, but without destroying the DataStore partition I've created.
Is there a way of doing this?
3 Replies
This will create a new image in the available space without removing any of the existing, and even allows you to resize the current ubuntu install to fit the new one in if needed.
Which opens up another question, would it be a good idea to have the OS partition, say 5G, and use the remaining space as a data partition were I would host sites from etc? So instead of using /var/www, it would be /mnt/partition_name/www.
Idea being that if I need to re-install the OS, the data isn't clobbered.
Cheers,
Nap
It's common practice to use partitions for /home , /tmp, /usr, and /var (and /var/mail for a mail server)
Using Ext3 is better for larger drives as Ext2 needs periodic integrity checks that can slow things.