- https://github.com/Benjamin-Loison
- Joined on
2022-10-16
sudo resize2fs -M /dev/vda2
Output:
resize2fs 1.47.0 (5-Feb-2023)
Resizing the filesystem on /dev/vda2 to 3049008 (4k) blocks.
The filesystem…
e2fsck -f /dev/vda2
bash: e2fsck: command not found
sudo e2fsck -f /dev/vda2
Output:
e2fsck 1.47.0 (5-Feb-2023)
Pas…
sudo blkid -s UUID -o value /dev/vda2
8eb1534f-39c0-4ded-907e-aee490cb2f3f
From a virtual live USB:
sudo fdisk -l
Output:
Disk /dev/vda: 20 GiB, 21474836480 bytes, 41943040 sectors
Units: sectors of 1 * 512 = 512…
Reboot your workstation, enter your UEFI firmware, set the USB device to boot before the hard disk, save your changes, leave the firmware and boot in the live USB selecting the “Try Ubuntu…
there is no way to encrypt a mounted partition in Linux and you cannot unmount the root partition from which you have booted, so you will have to boot from a live USB
On Debian UEFI virtual machine:
sudo ls /boot/efi/
EFI
[ -d /sys/firmware/efi ] && echo UEFI
https://www.ovh.com/manager/#/dedicated/vps/vps713872.ovh.net/dashboard does not seem to help switching to UEFI.
DuckDuckGo search OVH Boot UEFI.
DuckDuckGo search Linux check if booted with UEFI.
ssh root@oc3k ls /boot/efi/
ls: cannot access '/boot/efi/': No such file or directory
On Oracle Cloud free ARM VPS:
ssh ubuntu@129.151.245.17 sudo ls…
ls /boot/efi/
ls: cannot access '/boot/efi/': No such file or directory
Well this is 2 red flags, so let us stop.
I doubt that it means UEFI being supported but let us try anyway.
Ubuntu 18.04 and above offers to encrypt your hard disk in automated fashion during its installation using dm-crypt and LUKS [1]. However, this option forces you to wipe your entire disk, which…
https://johndoe31415.github.io/luksipc/testing.html may be interesting but does not manage root partition case.