Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is there any way to increase the size of the partition(root) 1

Status
Not open for further replies.

hks

IS-IT--Management
Jul 12, 2000
6
IN
is there any way to increase the size of the partition(root) without reinstalling Linux.
 
I'm afraid not (unless anyone knows of a utility to do this?).&nbsp;&nbsp;What you may be able to do is to create a new, larger partition, and then copy the files from your existing root disk to the new partition.&nbsp;&nbsp;Then you can change /etc/fstab so that the root partition entry points to your new partition.<br><br>One word of caution:&nbsp;&nbsp;If you use lilo, and you don't have a seperate /boot partition, then the new partition has to start and end below cylinder 1024 on your hard disk.&nbsp;&nbsp;This is because Lilo currently needs to find boot files below this cylinder boundary.&nbsp;&nbsp;If it can't, then it can't boot. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
 
Andybo is right.<br><br>That's why Linux needs a Logical Volume Manager.<br>I was very excited to see it included in the newest SuSE distribution.<br><br>
 
Hmmm,<br><br>Now I've only done this the once so..... (so don't do it in other words)<br><br>When I partitioned my hard disk using partition manager I was able to specify start and end cylinders for each partition - so it's *possible* that there's space after the end of the root partition and before the start of the next.<br><br>Question is: Can you do an extendfs in Linux? <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
You can symlink subdirectories in /root to subdirectories in another filesystem, say /home (/temp is a bad choice).<br><br>If speed is a concern (it shouldn't be for /root), you can make hard links instead of symbolic links. <p>Octalman<br><a href=mailto: > </a><br><a href= > </a><br>
 
I'd be wary of symbolic links mixed with the root file system.&nbsp;&nbsp;If the link fails for some reason, then you've got a problem...<br><br>Mike, there's no extendfs type program for ext2 file systems.&nbsp;&nbsp;There *may* be one available for the new Reiser journaling filesystem, but I've not used that yet, so I don't know.<br><br>I think I may have read somewhere that Partition Magic 5 deals with ext2 partitions almost as well as normal &quot;DOS&quot;-type partitions.&nbsp;&nbsp;That might do the trick, but I'd be wary of using it.&nbsp;&nbsp;Taking multiple backups beforehand springs to mind... <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
 
I used PM5, seems quite good. Difficult to really evaluate app like this though since you only use them once in a blue moon... <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top