LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2015, 10:15 PM   #1
j9678
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Rep: Reputation: 0
Anyway to re-size root partition without using live CD ?


Any one ever use VPS web hosting ?
I'm going to order an OpenVZ VPS hosting, and I think the hosting company will give me a linux with one big root partition only.
Since it is a VPS, I can't use a live CD to re-partition.
Is there anyway to re-size root partition without using live CD ?
 
Old 04-28-2015, 02:12 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,532

Rep: Reputation: 132Reputation: 132
Would be helpful to know which distribution and version is running.
 
Old 04-28-2015, 03:16 AM   #3
j9678
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by j-ray View Post
Would be helpful to know which distribution and version is running.
Let's say Debian 7 64 bit.
 
Old 04-28-2015, 04:41 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,845

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Is it worth risking your system ?. i.e., why do you care ?.

Short answer - the old school way still works, even for the root (for ext[34]). Shrink the filesystem, delete the partition (fdisk say), re-define the partition, good to go.
Don't cock it up - especially aligning the filesystem and the start of the (re-defined) partition. If you're lucky you'll know you got it wrong immediately, else maybe on the next re-boot.
Of course if they insist on XFS you're out of luck anyway.
 
Old 04-28-2015, 05:05 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Have you tried asking the provider about custom partitioning schemes?
 
Old 04-28-2015, 07:50 AM   #6
j9678
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TobiSGD View Post
Have you tried asking the provider about custom partitioning schemes?
Just got the reply from the provider. Only XEN and KVM allow user to modify the partition. OpenVZ can't.
Seems that they provide a panel to do that.
 
Old 04-28-2015, 09:24 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
That makes sense, since, AFAIK, OpenVZ is a container format, not a VM (which also explains why they don't offer to boot from a live-CD).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
increase size of /root partition slayerking Linux - Newbie 19 08-24-2011 02:07 PM
i want to increase my root partition size singhjc Linux - Newbie 3 05-19-2011 08:34 AM
Need to change partition size on root partition.... rstanger SUSE / openSUSE 4 08-02-2009 11:32 PM
root partition size riemann_noodles Linux - Newbie 5 02-14-2005 07:50 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM


All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration