Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-19-2009, 01:21 AM   #1
LQ Newbie
Registered: May 2005
Posts: 23

Rep: Reputation: 1
Resize root partition/create new ones in dedicated hosting environment

Hi all,

I have a CentOS machine that is in a dedicated hosting environment. Those kinds of place just give you a hard drive with everything except boot and swap on one huge partition. Obviously, it'd be nice to create some other partitions for at least my user data if nothing else.

I've been reading various articles online about parted and other tools, and some people say you need to be able to use a boot disk to do anything to the root partition (take it offline), but other pages seem less clear about whether or not I could split or shrink the root partition remotely (I have no physical access to the machine) without the ability to use a LiveCD or other such tool.

Am I out of luck?

Old 03-19-2009, 01:35 PM   #2
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
Maybe not *entirely* out of luck, but it's a sketchy situation..

The easiest idea is maybe to ask your host provider to partition the drive how you want it, or *atleast* to shrink the root partition down to a reasonable size, thereby allowing YOU to remotely partition the remainder of the drive however you see fit.

One thing is certain: you cannot re-partition or alter partitions if they are mounted. This is why one typically either uses a live CD such as Gparted, or maybe a USB device with a partition-tool on it, as opposed to repartitioning drives from within a running OS, though, you CAN do partition jobs from within a running OS but just not any operations on the mounted root or any other mounted partition.
Old 03-19-2009, 03:06 PM   #3
LQ Newbie
Registered: May 2005
Posts: 23

Original Poster
Rep: Reputation: 1
Yeah, sketchy, that's what I've started to feel from the situation and my own research. I think I'll ask if the provider will do it or just settle for one big fat partition and make regular backups. :-)

Thanks for the response.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to resize my root partition blackboab Linux - Software 3 09-05-2007 08:28 AM
LXer: The Planet Selects Penguin Computing Hardware for Dedicated Web Hosting Environment for Fastest, Most Powerful Server Offering Ever LXer Syndicated Linux News 0 04-09-2006 05:54 AM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 09:56 AM
create a dedicated /boot partition after install dibblethewrecke Linux - Software 7 06-23-2004 08:34 AM
how to resize my /root partition Perfekt Linux - Software 4 12-23-2003 10:22 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:21 AM.

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