It does not matter which version you boot from, if you have a usb stick with Volumio already on it, then just use that one. Use SSH as you did before, the drive remains /dev/nvme0n1.
e2fsck 1.47.0 (5-Feb-2023)
volumio_data: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (109759, counted=113853).
Fix? yes
Free inodes count wrong (73329, counted=73337).
Fix? yes
volumio_data: ***** FILE SYSTEM WAS MODIFIED *****
volumio_data: 1551/74888 files (3.4% non-contiguous), 185155/299008 blocks
volumio@mp21:~$ sudo resizefs -p /dev/nvme0n1p3
sudo: resizefs: command not found
volumio@mp21:~$ sudo resizefs -p /dev/nvme0n1p3
sudo: resizefs: command not found
volumio@mp21:~$
I installed using a USB drive and tried the commands. Only the first one worked. Now when I try to install to NVMe from volumio, I get an error saying UNDEFINED.
resize2fs, not resizefs
In case it continues to fail, boot from usb (if not done), ssh again and issue
sudo wipefs /dev/nvme0n1
Use Volumio’s “install-to-disk” feature from the system menu.
Do not boot from nvme yet, continue using the usb stick and resize the disk.
It says no such file or directoy exists while opening
This is how we solved it
First booted Volumio from USB, then did ssh and
sudo wipefs /dev/nvme0n1
This wiped the partition table of the disk.
Then used the “install-to-disk” feature from Volumio.
Didn’t restart yet, continued to resize the partition.
sudo parted -s /dev/nvme0n1 resizepart 3 100%
This resized the data partition to the maximum disk size
Then fixed errors if any
sudo e2fsck -f /dev/nvme0n1p3
Then resized the filesystem
sudo resize2fs -p /dev/nvme0n1p3
Job done.