Please support VectorLinux!

Author Topic: Enlarge root partition?  (Read 2458 times)

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
Enlarge root partition?
« on: April 30, 2009, 06:22:45 pm »
When I installed VL, I set my root partition ( / ) to be only 4.2 gigs. I have installed some programs since then and have realized that I really should have made it bigger. Is there a way to claim some space from my home partition and give it to my root partition? (maybe about 5 gigs or so?) Without destroying any data?
The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2299
Re: Enlarge root partition?
« Reply #1 on: April 30, 2009, 06:30:17 pm »
Yes, try Gparted, yor root partition needs to be umounted for resizing, so you cant do it from your system. If you have some Linux rescue cd, they usually include tools for that. If yu dont, Gparted live cd is a small download.

HTH
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

MikeCindi

  • Tester
  • Vectorian
  • ****
  • Posts: 1073
Re: Enlarge root partition?
« Reply #2 on: April 30, 2009, 07:29:50 pm »
It will also depend on the file system you chose for your root and home partitions. If you chose xfs or jfs then those are not currently resizable. Perhaps in the future. All the other options for VL are resizable.
The plans of the diligent lead to profit...Pro. 21:5
VL64 7.1b3                                     RLU 486143

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2299
Re: Enlarge root partition?
« Reply #3 on: May 01, 2009, 06:29:03 am »
Thanks for pointing that Mike. I want to try LVMs some day, resizing should be very easy with it.
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

MikeCindi

  • Tester
  • Vectorian
  • ****
  • Posts: 1073
Re: Enlarge root partition?
« Reply #4 on: May 01, 2009, 06:31:52 am »
I've noted that a few "server" distros make it difficult to not use LVs on setup. I've not used it seriously but they are much easier to manipulate.
The plans of the diligent lead to profit...Pro. 21:5
VL64 7.1b3                                     RLU 486143

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
Re: Enlarge root partition?
« Reply #5 on: May 01, 2009, 12:50:52 pm »
Is Gparted on the VL live cds? I thought I read something about that once.
The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Enlarge root partition?
« Reply #6 on: May 01, 2009, 01:38:13 pm »
I'm pretty sure gparted is part of the 6.0 standard installation cd (gui install mode. There is a hidden menu in the lower left corner, just move your mouse over it.  You don't have to start the install to use it.
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
Re: Enlarge root partition?
« Reply #7 on: May 01, 2009, 04:30:42 pm »
Should I back up my home partition before using Gparted?
The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2299
Re: Enlarge root partition?
« Reply #8 on: May 01, 2009, 06:38:00 pm »
If you are going to shrink it for making room for root, yes. If you are going to leave your /home partition alone, it is not urgent to do so ;)
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

StrayBit

  • Vectorite
  • ***
  • Posts: 392
Re: Enlarge root partition?
« Reply #9 on: May 04, 2009, 08:41:27 am »
Quote
If you are going to leave your /home partition alone, it is not urgent to do so
One time I was resizing all partitions except /home - I lost it!  :'(
Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0

GrannyGeek

  • Packager
  • Vectorian
  • ****
  • Posts: 2567
Re: Enlarge root partition?
« Reply #10 on: May 04, 2009, 08:09:25 pm »
I think a good backup is a MUST whenever you're resizing, moving, deleting partitions or doing anything low level to a disk. It helps keep the computer gremlins away.<g>
--GrannyGeek
Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller