# Resize Ubuntu HDD VM in Proxmox

```
sudo parted /dev/sda
print
Fix
resizepart 2
yes
100%
quit
sudo resize2fs /dev/sda2
sudo reboot
```

### More

```
df -h
```

```
sudo fdisk -l
```

```
sudo apt-get install -y parted
```

```
sudo parted /dev/sda
print
```

```
resizepart 2 
yes
100%
quit
```

```
sudo resize2fs /dev/sda2
```