rhunter007 wrote:
Sorry to post again, but even after following the link in the previous post, I don't think I have the answer to my question--which is briefly: How do I go from 1gig to 2gigs so that when I'm in my account it seems that I have 2 gigs continuously, even though they may be separated into various disk images?
Or, alternatively, how could I get my data off so that I could "reformat" with the full 2 gigs...and then put my data back on again?
Thanks for any advice.
My best guess, though you'd have to check on linode.com's policies is this:
1) Add another gig to your account
2) Create an empty 2G filesystem with the new space
3) Add that partition as a device available to the 1G configuration
4) Boot the 1G configuration in single user mode
5) Log in and mount the 2G partition somewhere (I'd create a new directory like /2G at the root and mount it there)
6) cd to /2G and copy all of the files over using tar (If you have it mounted at /2G the commands would be something like:
Code:
cd /2G
tar --create --exclude /2G / | tar --extract -p
In theory, you could now create a configuration to boot off of the 2G partition and it should work. Once you've verified everything is working and all the files got copied, delete the 1G partition and open a support ticket to have it removed from your account. You now have a single 2G partition and you're ready to rock and roll.
--James
Disclaimer: I haven't tested this and I haven't migrated a system to a new drive in years, but in theory it should work. If you want to try it safely first, download user mode linux at home and try it that way. It should be fairly similar.