You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Is it possible to resize root partition?

Author (Read 4971 times)

0 Members and 1 Guest are viewing this topic.

Re: Is it possible to resize root partition?
« Reply #5 on: February 21, 2019, 09:05:46 PM »
 

Nyto

  • Occasional Poster
  • **
  • 63
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i7-9700T

  • MEMORY: 16Gb

  • VIDEO CARD: Intel UHD Graphics 630

  • Kernel: 4.x
OK. Just to report everything went smooth.

I booted up from a live PartedMagic drive (the last FREE version ;-). Then, I used the handy-dandy app named FSArchiver to make individual backup images of my ext4 partitions (boot, root, home), and then used Gparted to move-resize-check as needed.

Reboot and ta-daa, everything is working normally (I was fearing this would alter the MBR sector or something, but noo!).

Again, thank you guys. In this web site the support is always there.


PS: Of course, backup images are needed for the newly-resized partitions, but I'll do that tomorrow, I feel lazy already XD
« Last Edit: February 21, 2019, 09:07:29 PM by Nyto »
Pathological tweaker.
 

Re: Is it possible to resize root partition?
« Reply #4 on: February 21, 2019, 04:42:56 PM »
 

Nyto

  • Occasional Poster
  • **
  • 63
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i7-9700T

  • MEMORY: 16Gb

  • VIDEO CARD: Intel UHD Graphics 630

  • Kernel: 4.x
Thank you, torreydale and m654321.
I am taking the dive right away (I'll do a backup first, just in case).

Then I'll come back to tell the story. Cheers!
Pathological tweaker.
 

Re: Is it possible to resize root partition?
« Reply #3 on: February 16, 2019, 07:54:16 PM »
 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
Resizing the root partition ( / ) is pretty straightforward using gparted in the live environment - I've done this myself for freeing up space for the installation of a second (or more) distro.

Just run LL in the live environment (using your LL installation DVD or USB stick), and use gparted (designated Partition Drives in the Menu). From the gparted window, highlight your root partition to be resized, click on the Partition tab in the toolbar at the top of the gparted window, and in its drop-down box click on Resize/Move option. Then enter the new size you want. Reboot, and everything should be fine. Shrinking the root partition will create unallocated space - you can leave this as it is, or add it to another partition, using gparted.

I've found that gparted can be used in the LL live environment to not only resize LL's root partition, but also to resize a Windows OS partition, though you may prefer to do this within the Windows OS itself, under the disk manager.

I haven't checked, but I think you may find further details on resizing partitions in LL's Help Manual - installed by default on your Desktop  ;)

Hope this helps
Cheers
Mike
« Last Edit: February 17, 2019, 11:56:59 AM by m654321 »
64bit OS (32-bit on Samsung netbook) installed in Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
 

Re: Is it possible to resize root partition?
« Reply #2 on: February 16, 2019, 07:09:16 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
@Nyto ,


I have not tried resizing the root (/) partition, but there appears to be a plethora of approaches online when you ask the worldwide web the same question.  I would think this extra space you have might need to be contiguous with the root partition, but that might not be true.

Want to thank me?  Click my [Thank] link.
 

Is it possible to resize root partition?
« Reply #1 on: February 16, 2019, 06:35:48 PM »
 

Nyto

  • Occasional Poster
  • **
  • 63
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i7-9700T

  • MEMORY: 16Gb

  • VIDEO CARD: Intel UHD Graphics 630

  • Kernel: 4.x
[size=78%].[/size]
Hello.
My system is working properly, it is a LL 4.2 installation, and the partitioning is:



Device          Description
-------------     --------------------------
/dev/sda1     Boot, Ext4
/dev/sda2     Root, Ext4
/dev/sda3     Home, Ext4
/dev/sda4     Misc_storage, NTFS


I need to resize my root partition, but I guess it can't be done on a running system.
I know it could be resized by booting from a Live USB drive, but won't this mess up my installation, preventing it from boot?


I don't want to change the partitioning, I just need to allocate more space for said partition. Additional space is available on the same drive.


Can you guys recommend what to do?


Thanks!

Pathological tweaker.
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section