December 17, 20205 yr I increased the size of a Linux Mint VM from 20G to 64G by changing the capacity size in the unRAID GUI. The Allocation stays at 20G. But when i try to login to the GUI it keeps returning to the login screen. I can SSH in and found this: adminmat@Linux-Mint-VM:~$ sudo fdisk -l [sudo] password for adminmat: GPT PMBR size mismatch (41943039 != 134217727) will be corrected by write. The backup GPT table is not on the end of the device. This problem will be corrected by write. Disk /dev/vda: 64 GiB, 68719476736 bytes, 134217728 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 16BC5774-AC92-4D09-BB20-CBFD4F5C1522 Device Start End Sectors Size Type /dev/vda1 2048 1050623 1048576 512M EFI System /dev/vda2 1050624 41940991 40890368 19.5G Linux filesystem I'm a linux noob and dont know how to fix this. Help will be appreciated. I'm concerned I'll corrupt other things in unraid by making changes. Edited December 17, 20205 yr by adminmat
December 17, 20205 yr Author Should I try to change it back to 20G before I just delete the entire VM and start it from scratch? Is there any documentation on expanding the disk size on a VM?
December 17, 20205 yr Author Ok I figured this out. The 20G that I had allocated to the VM was full. And apparently when this happens Linux mint GUI (Cinnamon Desktop) wont work. So I: - stopped the VM - selected the .iso image as the OS Install Iso in the VM setting - changed the boot order in XML to boot from CD - Booted Linux Mint VM and it started into the GUI - then used gparted (gui) to increase the size of the partition - saved, closed, powered down, removed boot .iso, changed boot order in XML And it all works fine.
Archived
This topic is now archived and is closed to further replies.