autoinstall-desktop icon indicating copy to clipboard operation
autoinstall-desktop copied to clipboard

apt remove ubuntu-server

Open bash-bandicoot opened this issue 2 years ago • 4 comments

Per documentation "curtin in-target -- apt-get remove -y ubuntu-server" will remove the cryptsetup! If the OS was installed with LUKS encryption, this command will make the OS unbootable as no cryptsetup to decrypt the disk.... As a result fault state of OS

bash-bandicoot avatar May 22 '23 10:05 bash-bandicoot

If it's any help, to use LUKS I simply reinstalled all the packages removed by ubuntu-server as part of the late-commands in the autoinstall config

- curtin in-target -- apt-get install -y cloud-init cryptsetup lvm2 btrfs-progs xfsprogs

charlie-haley avatar Aug 11 '23 14:08 charlie-haley

Good one! However, since the base installation is server, removing this package can break other things as well, no?

bash-bandicoot avatar Oct 03 '23 08:10 bash-bandicoot

It shouldn't break anything else, I'm currently using it with LUKS and Ubuntu Desktop and having no issues

charlie-haley avatar Oct 04 '23 10:10 charlie-haley

I've verified, all clear. Thanks, @charlie-haley ! Moving to prod :)

bash-bandicoot avatar Oct 05 '23 10:10 bash-bandicoot