re-install OS without wiping all the available disk space

During the setup of my server, I had to supply various information and edit various files. Now I want to do a reinstall using the settings I'm happy with.

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

Yes, all you would want to do is click the 'Deploy a new Linux Distributon' link on the main page for the linode, of course after removing the old ubuntu image.

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.

@XReaper, thnx. That's rather easy.

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

more or less to answer my own question, after a bit of reading.

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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct