Hi,
I have a Debian VM. I resized the VM disk from the Proxmox UI and it shows the new size. However, when I use parted to try to resize it from the Debian installation, my partition table looks like this?
GNU Parted 3.5
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 33.3GB 33.3GB primary ext4 boot
2 33.3GB 34.4GB 1022MB extended
5 33.3GB 34.4GB 1022MB logical linux-swap(v1) swap
Can someone help me. Why is the primary over the first 32GB? Should I remove extended and upsize the primary? But then swap is in the way. Can I do this from inside the VM? Or are there any instructions on booting an existing VM with gparted - I could not find how to do this either.
I have a Debian VM. I resized the VM disk from the Proxmox UI and it shows the new size. However, when I use parted to try to resize it from the Debian installation, my partition table looks like this?
GNU Parted 3.5
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 33.3GB 33.3GB primary ext4 boot
2 33.3GB 34.4GB 1022MB extended
5 33.3GB 34.4GB 1022MB logical linux-swap(v1) swap
Can someone help me. Why is the primary over the first 32GB? Should I remove extended and upsize the primary? But then swap is in the way. Can I do this from inside the VM? Or are there any instructions on booting an existing VM with gparted - I could not find how to do this either.