Device Boot Start End Blocks Id System
/dev/sda1 * 1 39 307200 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 39 1208 9391104 83 Linux
/dev/sda3 1208 1306 786432 82 Linux swap / Solaris
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 1024M 0 rom
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 300M 0 part /boot
├─sda2 8:2 0 9G 0 part /
└─sda3 8:3 0 768M 0 part [SWAP]
how to increase the size of the root. my system is down now.
You cant ever safely resize an ext partition that is mounted, (my guess is that your previous post is probably above your paygrade).
So simply boot the machine into perhaps the bootable image at:-
dicko is right. You need to boot the system “offline” from a root&boot disk, then you can resize the partition and then reboot normally.
You can’t resize an active, mounted partition, especially one that the OS is running on.
You need a live boot CD or USB drive that you can boot off of, then run gparted to resize your partition. Make sure you have a backup / image first, of course.
Better to use a USB drive if your hardware supports usb booting as it is a hybrid i.e. the same image should boot from either, CD’s are very tempermental and sometime you need to burn them at very low speed.
Either way you need to do an md5sum on whatever you prepared and compare it with the image.
If all else fails , try another Live linux environment, mint,ubunti,archlinux,whatever, they all can run gparted , install it if needed.
Did you
a) Follow the link dicko gave you: https://gparted.org/livecd.php
b) download the ISO
c) Use a tool such as Nero to burn the ISO to a CD, or RUFUS to burn the ISO to a USB stick
??
a) Expand your datastore size in your VM (if you haven’t already)
b) Boot the VM from the gparted ISO, instead of from the normal boot drive.
c) Run GParted and expand the partition size to just below the size of your VM Datastore.