Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3200

Installation • Portable install on external SSD with (or without) UEFI - Possible?

$
0
0
Hello,

please be kind, getting back to Linux after a while, and it's not smooth sailing at all - really disappointed so far.

My target: installing Debian 12 on an external SSD so that can be used on any computer I connect the SSD to.
I'm literally fighting since two days already, without not much result so far.

My HP Pavilion has a UEFI compatible boot loader with Windows 10.
I managed to install Debian on the SSD, I have an ESP partition, a swap and a / partition on the SSD.
I want Windows to be automatically loaded when the SSD is not connected, and Linux otherwise (or, be able to choose in this case).

Any change I try with efibootmgr to amend items even in the internal drive ESP bootloader is lost after reboot.

The BIOS "sees" only boot items in the internal HD, and any attempt to tell it to boot from the external SSD results in a screen with "This is not a bootable disk".

If I direct the BIOS to use a specific EFI File, like /EFI/Debian/grubx64.efi in the external SSD then Debian boots, but I really wouldn't want to do enter BIOS every time I want to use Debian.

So, two problems:

1) I cannot seem to change the internal HD EFI settings to add an item for Debian on the external HD
2) I cannot seem to make the BIOS boot from the SSD like it was a Live CD.

The second point would be perfect for me, but can it be done? Is it possible to use the Debian installer to achieve on an SSD a setup similar to a Live CD so it works automagically whenever the drive is connected - and there's no need for any UEFI-related dramas?

Thanks!

- Mario

Statistics: Posted by mabian — 2024-08-17 13:48 — Replies 6 — Views 116



Viewing all articles
Browse latest Browse all 3200

Trending Articles