USB stick installation - debian installer does not create an EFI partition on a USB stick
Hello Team,
I hope this is the right way using this email
address to find a contact person who can help me with a problem
while installing debian on a UEFI USB stick.
Before I (possibly
unnecessarily) sent around detailed information or creating a
bug report, I hope to get a hint that explains the following
situation:
In
particular, this involves creating the EFI partition during
installation in UEFI mode on a UEFI USB stick. I'm not sure if
this
is a result of a misuse of the installer or maybe a bug.
The problem
affects the "Grub Bootloader Installation" step during the
installation process on a UEFI-compatible USB stick that has
been
formatted and prepared accordingly (GPT table, separate Fat32
partition for the ESP).
In
preparation, I am sure that I have made the appropriate BIOS
settings
that an UEFI installation requires and all additional queries
before the
installation do not indicate anything unusual and it is also not
the
first time that I am installing on a USB stick (with the aim of
using
this as medium for my preferred backup solution with clonezilla
and
to be able to use it to start other computers) but with the same
result with an actual and older versions of the debian net
installer.
In the
"Graphical Install" mode as well as with the "Graphical
Expert Install" mode, under the "Advanced Options"
area, the Grub/EFI installation always ends with no separat EFI
installation under that mount point which was selected in the
installer menu (choosing the "Manual" option in the
partitioning section) as the EFI partition on the USB stick - in
my
case /dev/sdc1 which indicates the esp partition of the USB
stick
with the flag esp, boot. In spite of that the recognized EFI
partition of the host system is used. As a result, the
bootloader
files are also created under /boot/efi on the internal hard
drive.
Therefore it is not possible to start the installed Debian
system on
the USB stick separately. I'm sure that I made the right entries
and
selections during the installation process in the hard disk
partitioning area while choosing the "Manual" option. Even
using the "Graphical Expert Install" mode and selecting the
option right before the Grub installation to force the
installation
on the removable medium, does not change anything on this
behaviour.
It is
not difficult to restore the previously backed up folders and
files
under /boot/efi/EFI/ on my internal hard drive and then call up
a
terminal on the stick either with the chroot method or in the
rescue
mode of the installation CD and correct the Grub installation
and
complete it, but I still wonder if this is the right way.
I don't
want to rule out that I may have always made the same mistake
that
leads to this result, but I don't really believe it because my
colleague (I call her a Debian expert) also observed the same on
your hardware environment.
Unfortunately, I haven't found any
information that explains this behavior in any way, even after
intensive research on the Internet. I would therefore be happy
if I
could get a hint from you which problem occurs here and how it
can be
turned off if necessary.
Until then, best regards
Fred
Schober
Mailto: fred.schober@online.de
_______
Hallo Team,
ich hoffe unter
dieser Mailadresse die Ansprechpartner zu finden, die mir bei
einem
Problem mit der Installation von debian auf einen UEFI USB Stick
weiterhelfen können.
Speziell geht es
dabei um das Anlegen der EFI Partition während der Installation
im
UEFI Modus auf einem UEFI USB Stick. Dabei bin ich mir nicht
sicher,
ob es sich um eine falsche Benutzung des Installers meinerseits,
oder vielleicht
um einen Bug handelt.
Das Problem betrifft den Schritt "Grub
Bootloader Installation" während des Installationsprozesses auf
einem UEFI tauglichen und dafür entsprechend formartierten und
vorbereiteten USB Stick (GPT Tabelle, gesonderte Fat32 Partition
für
die ESP).
Bevor ich
(möglicherweise unnötig) einen Bugreport erstelle, hoffe ich
über
diesen Weg einen Hinweis zu bekommen, der die Situation erklärt.
Ich bin mir sicher,
als Vorbereitung, die entsprechenden BIOS Einstellungen
vorgenommen
zu haben, die eine UEFI Installation benötigt. Alle zusätzlichen
Abfragen vor der Installation im Hinblick auf das
Installationsmedium
und dem Ziellaufwerk deuten dabei auf nichts Ungewöhnliches hin
und
es ist auch nicht das erste Mal, dass ich auf einen USB Stick
installiere (mit dem Ziel diesen als Medium für meine
preferierte
Backuplösung mit clonezilla und ihn zum Starten fremder Rechner
benutzen zu können).
Sowohl im Modus
"Graphical Install" als auch mit dem unter dem Bereich
"Advanced Options" gewählten Modus "Graphical Expert
Install" endet die Grub/EFI Installation immer darin, dass keine
eigene EFI Installation auf dem Stick unter dem Mountpoint in
der im
Installermenü (Festplattenpartition) gewähten EFI Partition (in
meinem Fall /dev/sdc1, mit dem Flag esp, boot) erfolgt, sondern
die
erkannte EFI Partition des Hostsystems verwendet wird.
Infolgedessen
werden auch die bootloader Dateien unter /boot/efi auf der
interne
Festplatte angelegt. Daher ist es nicht möglich das
installierten
Debian System auf dem USB Stick separat zu starten.
Ich bin sicher,
während des Installationsprozesses im Bereich der
Festplattenpartitionierung mit der Option "Manual" die
richtigen Einträge und Auswahl getroffen zu haben. Selbst die
Auswahl der Option im "Graphical Expert Install" vor der
Grub Installation, die Installtion auf dem Wechseldatenträger zu
erzwingen, ändert daran nichts.
Es ist nicht
aufwendig auf meiner internen Festplatte die vorher gesicherten
Ordner und Dateien unter /boot/efi/EFI/ wiederherzustellen und
dann
auf dem Stick entweder mit der chroot Methode, oder im Rescue
Mode
der Installations CD ein Terminal aufzurufen und die Grub
Installation zu korrigieren und abzuschließen, dennoch frage ich
mich, ob das der richtige Weg ist.
Ich will nicht
ausschließen, dass ich möglicherweise bisher immer den gleichen
Fehler gemacht habe, der zu diesem Ergebnis führt, glaube aber
nicht
wirklich daran, da auch meine Kollegin (ich bezeichne Sie als
Debian
Expertin) auf Ihrer Hardwareumgebung das gleiche beobachtet.
Leider habe ich
bisher auch nach intensiven Recherchen im Internet keinen
Hinweis
gefunden, das dieses Verhalten irgendwie erklärt.
Ich würde mich
daher freuen, wenn ich von Euch einen Hinweis bekäme, welches
Problem hier auftritt und wie es gegebenenfalls abzustellen ist.
Mit freundlichem Gruß
Fred Schober
Mailto: fred.schober@online.de
Reply to: