LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 09:15 PM   #1
j9678
LQ Newbie
 
Registered: Jan 2008
Posts: 23

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, 01:12 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

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

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, 03:41 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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, 04:05 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

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

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, 08:24 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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



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 01:07 PM
i want to increase my root partition size singhjc Linux - Newbie 3 05-19-2011 07:34 AM
Need to change partition size on root partition.... rstanger SUSE / openSUSE 4 08-02-2009 10:32 PM
root partition size riemann_noodles Linux - Newbie 5 02-14-2005 06:50 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 AM.

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
Open Source Consulting | Domain Registration