VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

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

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
Enlarge root partition?
« on: April 30, 2009, 07: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?
Logged
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: 2303
Re: Enlarge root partition?
« Reply #1 on: April 30, 2009, 07: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
Logged
"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: 1074
Re: Enlarge root partition?
« Reply #2 on: April 30, 2009, 08: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.
Logged
The plans of the diligent lead to profit...Pro. 21:5
 VL64 7.1                                     RLU 486143

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2303
Re: Enlarge root partition?
« Reply #3 on: May 01, 2009, 07:29:03 am »

Thanks for pointing that Mike. I want to try LVMs some day, resizing should be very easy with it.
Logged
"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: 1074
Re: Enlarge root partition?
« Reply #4 on: May 01, 2009, 07: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.
Logged
The plans of the diligent lead to profit...Pro. 21:5
 VL64 7.1                                     RLU 486143

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
Re: Enlarge root partition?
« Reply #5 on: May 01, 2009, 01:50:52 pm »

Is Gparted on the VL live cds? I thought I read something about that once.
Logged
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, 02: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.
Logged
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, 05:30:42 pm »

Should I back up my home partition before using Gparted?
Logged
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: 2303
Re: Enlarge root partition?
« Reply #8 on: May 01, 2009, 07: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 ;)
Logged
"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: 417
Re: Enlarge root partition?
« Reply #9 on: May 04, 2009, 09: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!  :'(
Logged
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, 09: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
Logged
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