• USB stick installation - debian installer does not create an EFI partit

    From Fred Schober@21:1/5 to All on Wed Apr 27 12:10:01 2022
    This is a multi-part message in MIME format.
    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

    <html>
    <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div class="moz-signature"><font size="2">Hello Team,</font><br>
    <font size="2"> </font><br>
    <font size="2">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.<br>
    <br>
    </font><font size="2"><font size="2">Before I (possibly
    unnecessarily) sent around detailed information or creating a
    bug report, I hope to get a hint that explains the following
    situation:</font><br>
    </font><font size="2"></font><br>
    <font size="2">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. <br>
    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). </font><br>
    <font size="2">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.</font><br>
    <font size="2"></font><br>
    <font size="2">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.</font><br>
    <font size="2"></font><br>
    <font size="2">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. <br>
    <br>
    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. <br>
    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. <br>
    </font><br>
    <font size="2">Until then, best regards</font><br>
    <style type="text/css">p { line-height: 115%; margin-bottom: 0.25cm; background: transparent }</style><br>
    <font face="FreeSans"><font size="-1"><b><font color="#060641">Fred
    Schober</font></b></font></font><font size="-1"><b><font
    face="FreeSans"> <br>
    </font></b><font face="FreeSans">Mailto: <a
    class="moz-txt-link-abbreviated"
    href="mailto:fred.schober@versanet.de">fred.schober@online.de</a><br>
    <br>
    <br>
    <br>
    <br>
    </font></font>_______<br>
    <br>
    <br>
    <br>
    <br>
    <font size="2">
    Hallo Team,<br>
    <br>
    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.<br>
    <br>
    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. <br>
    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). <br>
    Bevor ich
    (möglicherweise unnötig) einen Bugreport erstelle, hoffe ich
    über
    diesen Weg einen Hinweis zu bekommen, der die Situation erklärt.<br>
    <br>
    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). <br>
    <br>
    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. <br>
    <br>
    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.<br>
    <br>
    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.<br>
    <br>
    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.<br>
    Leider habe ich
    bisher auch nach intensiven Recherchen im Internet keinen
    Hinweis
    gefunden, das dieses Verhalten irgendwie erklärt. <br>
    <br>
    Ich würde mich
    daher freuen, wenn ich von Euch einen Hinweis bekäme, welches
    Problem hier auftritt und wie es gegebenenfalls abzustellen ist.
    </font><br>
    <br>
    <font face="FreeSans"><font size="-1">Mit freundlichem Gruß</font>
    </font><font face="FreeSans"><font size="-1"><b><font
    color="#060641"><br>
    <br>
    Fred Schober</font></b></font></font><font size="-1"><b><font
    face="FreeSans"> <br>
    </font></b><font face="FreeSans">Mailto: <a
    class="moz-txt-link-abbreviated"
    href="mailto:fred.schober@versanet.de">fred.schober@online.de</a><br>
    <br>
    </font></font></div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)