Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Ability to select the disk to install Ubuntu to #2381

Open
tmerten opened this issue Oct 23, 2023 · 4 comments
Open

Ability to select the disk to install Ubuntu to #2381

tmerten opened this issue Oct 23, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@tmerten
Copy link

tmerten commented Oct 23, 2023

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

@tmerten tmerten added the enhancement New feature or request label Oct 23, 2023
@rayzorben
Copy link

rayzorben commented Nov 1, 2023

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
Copy link

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
Copy link

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

@tim-hm
Copy link
Contributor

tim-hm commented Nov 2, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants