heads icon indicating copy to clipboard operation
heads copied to clipboard

Generalize default boot device configuration to support external devices

Open jans23 opened this issue 5 years ago • 5 comments

If users use by default an OS installed on a USB drive, she would need to select to boot from USB drive manually at each boot. It would be more convenient to allow configuring boot drives, like it is possible in ordinary BIOS.

jans23 avatar Oct 30 '20 10:10 jans23

@jans23 so /etc/config.user overlay specifying we depend on usb modules and usb storage to detect /dev/sda1 or alike?

tlaurion avatar Nov 01 '20 15:11 tlaurion

@jans23 : if we are talking about installed OS, we would reuse verified /boot with user public key? I think this is a good idea with the added protection of having that drive actually implementing RO mode if desired.

What are your implementation ideas here?

tlaurion avatar Nov 01 '20 15:11 tlaurion

@jans23 is this still relevant since factory rest fixes this?

tlaurion avatar Mar 28 '22 21:03 tlaurion

Please elaborate, how factory reset fixes this issue.

jans23 avatar Mar 29 '22 07:03 jans23

Sorry, I read quick and in diagonal. The OEM factory defautl searches and sets a disk as DEFAULT_BOOT through clean boot detection. But booting from USB by default is still not supported @jans23

tlaurion avatar Mar 29 '22 13:03 tlaurion