canonical / ubuntu-desktop-installer

Ubuntu Desktop Installer
GNU General Public License v3.0
535 stars 94 forks source link

Ability to select the disk to install Ubuntu to #2381

Open tmerten opened 10 months ago

tmerten commented 10 months ago

Description

When selecting the "Erase/use entire disk" installation type (which is very convenient to set up FDE or try TPM backed FDE), the installer always uses the first disk available. If you want to use another disk, you need to do a custom installation and go through all the nitty gritties of setting up swap, UEFI, LVM, encryption, (and potentially the TPM, for which I did not find any documentation how to do this manually)...

I was wondering if it's hard to let the user choose a disk, if more then one is available. It feels like this could be quite a nice feature for the engineering effort involved.

Bonus: Select/re-use existing UEFI partition for the bootloader. However, for saving disk space this should not be necessary and if existing other OSes are properly detected, chain loading from e.g. disk 2 to disk 1 should solve this.

Additional context

No response

rayzorben commented 10 months ago

This isn't just an enhancement this is more of a bug.

Like you I want to put Ubuntu onto a 2nd drive, and leave Windows alone on my first drive.

Unfortunately the installer doesn't allow me to select which drive. When I try to "Erase disk and install Ubuntu" and hit Next, I get this screen which tells me to use the "Erase disk and install Ubuntu" option, which I did.

image

rayzorben commented 10 months ago

found a workaround by removing the drive from the system so that the installer can't even see it

root@ubuntu:~# echo 1 > /sys/block/nvme1n1/device/device/remove

elioqoshi commented 10 months ago

This should be addressed in 24.04 as part of the drive selection flow. Correct me if I am wrong @tim-hm ?

tim-hm commented 10 months ago

Potentially, but we should confirm with the subiquity to be safe!