• Boot Debian 13 from external SSD USB 3.0 which is connected to externa

    From Pantelis Papadopoulos@3:633/10 to All on Tuesday, July 14, 2026 20:40:01
    Subject: Boot Debian 13 from external SSD USB 3.0 which is connected to external USB 3.0 adapter

    Greetings.
    I need your help with the following situation:
    I want to install Debian 13 on an external SSD USB 3.0 and I want to boot from that drive which is connected to an external USB 3.0 adapter that is not recognized by the BIOS: the motherboard ASUS P5K (LGA775 Socket), which is old, supports fine USB 2.0 boot.
    And because it seems that there is no a solution to that problem (booting directly from external USB 3.0 adapter), I want to know if I could boot from USB 2.0 with GRUB or a GNU/Linux distribution (Debian 13) installed on it as an intermediary step and then select a USB 3.0 disk which would be connected to USB 3.0 external card to boot from it.
    So, I searched for info and also I asked Proton Lumo (AI).
    Could you validate the following info and then respond to me?
    Thanks in advance.
    Question to Proton Lumo:
    "I have a motherboard ASUS P5K (LGA775 Socket) and an installed external USB 3.0 card adapter: Via VL800 USB 3.0 Hub 4 Port Card Adapter to PCI-e x1:
    https://www.via-labs.com/product_show.php?id=51
    Booting from the USB 2.0 interface which this motheboard has is fine. But even though the external USB 3.0 card works fine on Windows 7 with related drivers installed, my external hard drives and SSDs are not shown in the BIOS when they are connected via the USB 3.0 external card.
    1) Do you know how to boot from the USB 3.0 external card and how to make my external drives to be shown in the BIOS?
    2) Also, could I boot from USB 2.0 with GRUB or a GNU/Linux distribution (Debian 13) installed on it as an intermediary step and then select a USB 3.0 disk which would be connected to USB 3.0 external card to boot from? And if yes, how?
    "
    The answer:
    "Great questions ? this is a classic problem with older BIOS motherboards and add-on USB controllers. Let me break down both the root cause and your options.
    1) Why USB 3.0 drives don't appear in BIOS ? and can you fix it?
    Root cause: The ASUS P5K is a legacy BIOS motherboard (circa 2007). Its BIOS firmware contains USB drivers only for its onboard USB 1.1/2.0 controllers (EHCI/UHCI). The VIA VL800 PCIe card is a third-party USB 3.0 (xHCI) controller that the BIOS knows nothing about. For BIOS to enumerate USB devices behind an add-on card, the card would need its own Option ROM ? a small firmware blob that runs during POST and registers the card's devices with the BIOS boot table. The VIA VL800 cards sold for consumers generally do not include an Option ROM, which is why neither drives nor boot entries show up.
    Can you fix it?
    - BIOS update: ASUS stopped updating the P5K BIOS years ago, and no version added xHCI support. A dead end.
    - Option ROM injection: Theoretically, you could extract a VIA VL800 Option ROM and inject it into the P5K BIOS using tools like CBROM or MMTool, then flash the modified BIOS. In practice, this is extremely fragile, risky (you could brick the board), and I'm not aware of a readily available VL800 Option ROM for this purpose. Not recommended.
    - Card with native Option ROM: Some rare USB 3.0 PCIe cards shipped with an Option ROM (e.g., certain ASMedia-based cards). If you could find one, it might work. But this is hit-or-miss and increasingly hard to source for such an old platform.
    Bottom line: On the P5K, you almost certainly cannot boot directly from the VIA VL800 USB 3.0 card through BIOS. The hardware limitation is fundamental.
    2) Can you use USB 2.0 ? Linux ? boot from USB 3.0 drive?
    Yes, absolutely. This is a well-known technique, and there are two practical approaches:
    Approach A: Root filesystem on USB 3.0, kernel + initramfs on USB 2.0 (Recommended)
    This is the cleanest method. The idea is:
    1. USB 2.0 stick holds: GRUB, the Linux kernel, and the initramfs.
    2. USB 3.0 drive holds: the actual root filesystem (your full Debian 13 installation).
    3. During boot, GRUB loads the kernel and initramfs from USB 2.0 (which BIOS can see).
    4. The initramfs contains the xHCI drivers (xhci_hcd, xhci_pci) and a script that:
    ÿ - Loads the xHCI module ? the VIA VL800 controller is initialized.
    ÿ - Waits a few seconds for the USB 3.0 drive to be detected (USB 3.0 devices take a moment to enumerate after xHCI init).
    ÿ - Finds the USB 3.0 drive by UUID/label.
    ÿ - Mounts it as the root filesystem.
    ÿ - Calls pivot_root / switch_root to hand control to the real OS.
    The OS then runs entirely from USB 3.0 at full speed. The USB 2.0 stick is only used briefly during early boot.
    How to set this up with Debian 13:
    # On your working Debian system, create an initramfs that includes xHCI drivers:
    sudo nano /etc/initramfs-tools/initramfs.conf
    # Ensure MODULES=most (or MODULES=dep if you list modules manually)
    # Explicitly add xHCI modules:
    echo "xhci_hcd" | sudo tee -a /etc/initramfs-tools/modules
    echo "xhci_pci" | sudo tee -a /etc/initramfs-tools/modules
    echo "uas"ÿÿÿÿÿ | sudo tee -a /etc/initramfs-tools/modulesÿ # USB Attached SCSI for better performance
    # Add a udev rule or custom initramfs script to wait for the USB 3.0 drive: sudo nano /etc/initramfs-tools/scripts/local-premount/wait-usb3
    Example script content:
    #!/bin/sh
    PREREQ=""
    prereqs() { echo "$PREREQ"; }
    case "$1" in prereqs) prereqs; exit 0;; esac
    # Wait up to 10 seconds for USB 3.0 devices to settle
    for i in $(seq 1 10); do
    ÿÿÿ if [ -b /dev/disk/by-uuid/YOUR-USB3-DRIVE-UUID ]; then
    ÿÿÿÿÿÿÿ break
    ÿÿÿ fi
    ÿÿÿ sleep 1
    done
    sudo chmod +x /etc/initramfs-tools/scripts/local-premount/wait-usb3
    sudo update-initramfs -u
    Then on the USB 2.0 stick:
    # Format it, install GRUB:
    sudo mount /dev/sdX1 /mnt/usb2
    sudo grub-install --boot-directory=/mnt/usb2/boot /dev/sdX
    # Copy kernel and initramfs:
    sudo cp /boot/vmlinuz-* /mnt/usb2/boot/
    sudo cp /boot/initrd.img-* /mnt/usb2/boot/
    # GRUB config:
    sudo nano /mnt/usb2/boot/grub/grub.cfg
    set timeout=5
    menuentry "Debian 13 (from USB 3.0)" {
    ÿÿÿ linux /boot/vmlinuz-6.x.x-amd64 root=UUID=YOUR-USB3-DRIVE-UUID rw rootdelay=10
    ÿÿÿ initrd /boot/initrd.img-6.x.x-amd64
    }
    Install Debian 13 normally onto the USB 3.0 drive (you can do this from a live USB session where the OS already sees the USB 3.0 card). Just make sure `root=UUID=...` matches the USB 3.0 drive's root partition.
    Approach B: kexec (boot minimal Linux, then jump to USB 3.0 kernel)
    This is more flexible but involves two full boot cycles:
    1. Install a minimal Debian on the USB 2.0 stick (just enough to boot, with kexec-tools installed).
    2. The minimal system boots via BIOS/GRUB from USB 2.0.
    3. Linux initializes the VIA VL800 via xHCI drivers ? the USB 3.0 drive is now visible.
    4. A startup script finds the kernel on the USB 3.0 drive and calls kexec: #!/bin/bash
    # Wait for USB 3.0 drive
    for i in $(seq 1 15); do
    ÿÿÿ [ -b /dev/disk/by-uuid/YOUR-USB3-UUID ] && break
    ÿÿÿ sleep 1
    done
    USB3_ROOT=$(readlink -f /dev/disk/by-uuid/YOUR-USB3-UUID) USB3_PART=${USB3_ROOT##*/}
    # Mount the USB 3.0 drive
    mkdir -p /mnt/usb3
    mount /dev/$USB3_PART /mnt/usb3
    # Load kernel from USB 3.0 drive into memory
    kexec --load /mnt/usb3/boot/vmlinuz-6.x.x-amd64 \
    ÿÿÿ --initrd=/mnt/usb3/boot/initrd.img-6.x.x-amd64 \
    ÿÿÿ --command-line="root=UUID=YOUR-USB3-ROOT-UUID ro rootdelay=10"
    # Execute it
    kexec --execute
    5. kexec jumps directly to the new kernel without going through BIOS again ? the USB 3.0 controller stays initialized since the hardware state persists across kexec.
    Which approach to choose?
    ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Approach A (initramfs) | Approach B (kexec)
    Complexity | Moderateÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ | Moderate-High
    Boot speed | Faster (one boot)ÿÿÿÿÿÿÿÿÿÿÿÿ | Slower (two boot stages) Reliabilityÿÿÿ | Highÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ | High
    Flexibilityÿÿÿÿ | Fixed at build timeÿÿÿÿÿÿÿÿÿ | Scriptable, can add logic
    I'd recommend Approach A ? it's simpler, faster, and the standard Debian initramfs system handles it naturally. The key things to get right are:
    1. Including xHCI + UAS modules in the initramfs.
    2. Adding a rootdelay or custom wait script so the USB 3.0 device has time to enumerate before the root mount attempt.
    3. Using UUIDs (not /dev/sdX names) since device ordering can vary.
    One thing to note: the VIA VL800 is known to have some quirks with Linux xHCI drivers. Make sure you're running a reasonably recent kernel (Debian 13 will have a modern kernel, so this should be fine). The uas module is worth including ? it gives significantly better throughput than the default usb-storage driver for USB 3.0 SSDs/hard drives.
    "


    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From tomas@3:633/10 to All on Tuesday, July 14, 2026 21:10:02
    Subject: Re: Boot Debian 13 from external SSD USB 3.0 which is connected to external USB 3.0 adapter

    On Tue, Jul 14, 2026 at 08:18:38PM +0200, Pantelis Papadopoulos wrote:
    Greetings.
    I need your help with the following situation:

    I want to install Debian 13 on an external SSD USB 3.0 and I want to boot from that drive which is connected to an external USB 3.0 adapter that is not recognized by the BIOS: the motherboard ASUS P5K (LGA775 Socket), which is old, supports fine USB 2.0 boot.
    And because it seems that there is no a solution to that problem (booting directly from external USB 3.0 adapter), I want to know if I could boot from USB 2.0 with GRUB or a GNU/Linux distribution (Debian 13) installed on it as an intermediary step and then select a USB 3.0 disk which would be connected to USB 3.0 external card to boot from it.

    The question is whether your Linux kernel has drivers for said USB3
    adapter. Then yes, you could have Grub, the kernel, initramfs
    (basically what usually lives in /boot) on your USB2 drive and put
    the rest (your root fs, possibly your other fses) on your USB3
    drive.
    You can test this question by putting some minimal Linux on your
    USB2 drive (even a Debian installer could do, you get a shell by
    switching virtual consoles) and checking whether you can "see"
    your USB3 drive from there.
    Feel free to ask for more detailed instructions if you think this
    is what you want to try.
    So, I searched for info and also I asked Proton Lumo (AI).
    [...]
    Sorry. I haven't the time (much less the motivation) to grovel
    through LLM generated slop.
    Cheers
    --
    t


    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From ?ar?nas Burdulis@3:633/10 to All on Tuesday, July 14, 2026 22:20:01
    Subject: Re: Boot Debian 13 from external SSD USB 3.0 which is connected to external USB 3.0 adapter

    On 2026-07-14 14:18, Pantelis Papadopoulos wrote:
    Greetings.
    I need your help with the following situation:

    I want to install Debian 13 on an external SSD USB 3.0 and I want to
    boot from that drive which is connected to an external USB 3.0 adapter
    that is not recognized by the BIOS: the motherboard ASUS P5K (LGA775 Socket), which is old, supports fine USB 2.0 boot.
    And because it seems that there is no a solution to that problem
    (booting directly from external USB 3.0 adapter), I want to know if I
    could boot from USB 2.0 with GRUB or a GNU/Linux distribution (Debian
    13) installed on it as an intermediary step and then select a USB 3.0
    disk which would be connected to USB 3.0 external card to boot from it.

    This, in principle, should work, however clunky it is.

    You may have reasons to not go this route, but: P5K does have what looks
    like 5 SATA ports. In case any of them are available, that's were the
    SSD would be happier than on USB. There are also PCIe slots, which if available, could take in a PCIe-NVMe add-on card.

    --
    ?ar?nas Burdulis
    Dartmouth Mathematics
    https://math.dartmouth.edu/~sarunas

    ú https://useplaintext.email ú


    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Pantelis Papadopoulos@3:633/10 to All on Tuesday, July 14, 2026 22:40:01
    Subject: Re: Boot Debian 13 from external SSD USB 3.0 which is connected to external USB 3.0 adapter

    Thanks for your reply.
    On the website of the external USB 3.0 adapter states that it supports various Linux kernels.
    So, I suppose that the kernel of Debian 13 could support it.
    Do your guide steps lead to booting from USB 3.0 disk on the USB 3.0 adapter and having USB 3.0 speeds in general?
    Do they include:
    - kernel + initramfs on USB 2.0 and root filesystem on USB 3.0?
    or
    - kexec (boot minimal Linux on USB 2.0, then jump to USB 3.0 kernel)?
    You may tell me the details of your guide steps and I will see what I could try with that.
    Cheers.
    Jul 14, 2026, 22:08 by tomas@tuxteam.de:
    On Tue, Jul 14, 2026 at 08:18:38PM +0200, Pantelis Papadopoulos wrote:

    Greetings.
    I need your help with the following situation:

    I want to install Debian 13 on an external SSD USB 3.0 and I want to boot from that drive which is connected to an external USB 3.0 adapter that is not recognized by the BIOS: the motherboard ASUS P5K (LGA775 Socket), which is old, supports fine USB 2.0 boot.
    And because it seems that there is no a solution to that problem (booting directly from external USB 3.0 adapter), I want to know if I could boot from USB 2.0 with GRUB or a GNU/Linux distribution (Debian 13) installed on it as an intermediary step and then select a USB 3.0 disk which would be connected to USB 3.0 external card to boot from it.


    The question is whether your Linux kernel has drivers for said USB3
    adapter. Then yes, you could have Grub, the kernel, initramfs
    (basically what usually lives in /boot) on your USB2 drive and put
    the rest (your root fs, possibly your other fses) on your USB3
    drive.

    You can test this question by putting some minimal Linux on your
    USB2 drive (even a Debian installer could do, you get a shell by
    switching virtual consoles) and checking whether you can "see"
    your USB3 drive from there.

    Feel free to ask for more detailed instructions if you think this
    is what you want to try.

    So, I searched for info and also I asked Proton Lumo (AI).


    [...]

    Sorry. I haven't the time (much less the motivation) to grovel
    through LLM generated slop.

    Cheers
    --
    t



    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Stefan Monnier@3:633/10 to All on Tuesday, July 14, 2026 23:50:01
    Subject: Re: Boot Debian 13 from external SSD USB 3.0 which is connected to external USB 3.0 adapter

    And because it seems that there is no a solution to that problem (booting directly from external USB 3.0 adapter), I want to know if I could boot from USB 2.0 with GRUB or a GNU/Linux distribution (Debian 13) installed on it as an intermediary step and then select a USB 3.0 disk which would be connected to USB 3.0 external card to boot from it.

    There are many ways to skin this cat, but here's one: Install Debian
    such that the `/boot` partition goes to a disk from which your BIOS can
    boot, e.g. it can be an old 4GB USB2 flash-key, or it can be a partition
    on an internal HDD or SSD (presumably the one you're using for Windows).

    Put the rest on your SSD-via-USB3.

    The `/boot` partition will contain the kernel and the initramfs and
    you'll want to install GRUB on the disk that holds the `/boot`
    partition. If `/boot` is on the internal disk that has the benefit that
    you don't need the USB2 flash key but OTOH it might mean you'll have to
    make sure the Windows boot and GRUB play nice together.

    I like and recommend the use of LVM for "all but the `/boot` partition",
    so I'd probably put a single LVM volume group that covers the whole SSD
    (one of the benefits is that you get to name your logical volumes rather
    than have to fight with meaningless UUIDs), but if you're not familiar
    with LVM you may prefer to do it "the old way".


    === Stefan

    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From David Christensen@3:633/10 to All on Wednesday, July 15, 2026 02:30:01
    Subject: Re: Boot Debian 13 from external SSD USB 3.0 which is connected to external USB 3.0 adapter

    On 7/14/26 11:18, Pantelis Papadopoulos wrote:
    Greetings.
    I need your help with the following situation:

    I want to install Debian 13 on an external SSD USB 3.0 and I want to boot from that drive which is connected to an external USB 3.0 adapter that is not recognized by the BIOS: the motherboard ASUS P5K (LGA775 Socket), which is old, supports fine USB 2.0 boot.


    I interpret the above to mean that you want to install Debian onto a USB
    flash drive (?).


    In the past, I installed and ran 32- and/or 64-bit Debian, IP Cop, Damn
    Small Linux, FreeBSD, and possibly others on USB flash drives. I used
    them as OS drives for headless appliances (firewall/router, NAS) and as
    live drives for maintenance, trouble-shooting, portable desktops, etc..


    It is best to install Debian when the USB flash drive is connected
    directly to the "first" USB port of the computer, as determined by the BIOS/UEFI. Using other USB ports on the computer and/or using external
    hubs, docking stations, etc., may or may not work.


    OS boot/run performance is primarily dependent upon the speed of the USB
    flash drive. Because USB flash drives typically do not have a RAM
    cache, graphical desktops tend to be choppy (e.g. synchronous writes
    cause noticeable pauses).


    A USB 3.0 or newer flash drive may work in a USB 2.0 port on an older computer. I would try it and find out.


    My favorite USB flash drive was the SanDisk Ultra Fit USB 3.0 16 GB. I
    liked the tiny form factor that only projects out of the USB port by
    ~1/4 inch / ~6 mm, reducing the of chance accidental physical damage.
    This is especially important for laptops. But, the SanDisk Ultra Fit
    USB 3.0 flash drives tend to run hot. I have little experience with the
    later USB 3.1 models.


    Today, I use 2.5" 7mm SATA 6 Gbps SSD's, and install mobile racks in my computer cases:

    https://www.startech.com/en-us/hdd/hsb220sat25b

    https://www.startech.com/en-us/hdd/s25slotr


    For laptops and computers without 2.5" SATA drive bays, I use a USB A 5
    Gbps to SATA cable:

    https://www.startech.com/en-us/hdd/usb3s2sat3cb


    I once ordered a USB C 10 Gbps to SATA cable for use with a Dell
    Latitude 5400, but the connection was unreliable. I do not know if the problem was the cable, the laptop, or both:

    https://www.startech.com/en-us/hdd/usb31csat3cb


    David

    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From nwe@3:633/10 to All on Wednesday, July 15, 2026 03:40:02
    Subject: Re: Boot Debian 13 from external SSD USB 3.0 which is connected to external USB 3.0 adapter

    On 7/14/26 3:18 PM, Pantelis Papadopoulos wrote:

    Do your guide steps lead to booting from USB 3.0 disk on the USB 3.0
    adapter and having USB 3.0 speeds in general?
    I would expect, yes, if the card has good linux compatibility and plays
    well with your old motherboard.

    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Tomas@3:633/10 to All on Wednesday, July 15, 2026 07:10:01
    Subject: Re: Boot Debian 13 from external SSD USB 3.0 which is connected to external USB 3.0 adapter

    On Tue, Jul 14, 2026 at 10:18:36PM +0200, Pantelis Papadopoulos wrote:
    Thanks for your reply.
    On the website of the external USB 3.0 adapter states that it supports various Linux kernels.
    So, I suppose that the kernel of Debian 13 could support it.

    Do your guide steps lead to booting from USB 3.0 disk on the USB 3.0 adapter and having USB 3.0 speeds in general?
    We can't boot from the USB3, since the drivers are not available
    until the boot is done (i.e. the kernel loaded).
    Do they include:
    - kernel + initramfs on USB 2.0 and root filesystem on USB 3.0?
    or
    - kexec (boot minimal Linux on USB 2.0, then jump to USB 3.0 kernel)?
    I would try the first route. I currently don't see any advantage to
    the second (in both cases you depend on your USB2 drive to boot).
    You may tell me the details of your guide steps and I will see what I could try with that.
    I proposed first to try a Debian live or installer on your USB2 to
    make sure the kernel coming with it can talk to your USB3 hardware.
    For example: if you start the Debian installer off the USB2: does
    it offer the USB3 drive as one possible install target? In that
    case the drivers would be there.
    I haven't got a ready-made instruction manual per se, but we can
    take it from here with the help of others :)
    Cheers
    --
    tom s


    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From tomas@3:633/10 to All on Wednesday, July 15, 2026 07:20:01
    Subject: Re: Boot Debian 13 from external SSD USB 3.0 which is connected to external USB 3.0 adapter

    On Tue, Jul 14, 2026 at 03:46:20PM -0400, ?ar?nas Burdulis wrote:
    On 2026-07-14 14:18, Pantelis Papadopoulos wrote:
    Greetings.
    I need your help with the following situation:

    I want to install Debian 13 on an external SSD USB 3.0 and I want to
    boot from that drive which is connected to an external USB 3.0 adapter
    that is not recognized by the BIOS: the motherboard ASUS P5K (LGA775 Socket), which is old, supports fine USB 2.0 boot.
    And because it seems that there is no a solution to that problem
    (booting directly from external USB 3.0 adapter), I want to know if I
    could boot from USB 2.0 with GRUB or a GNU/Linux distribution (Debian
    13) installed on it as an intermediary step and then select a USB 3.0
    disk which would be connected to USB 3.0 external card to boot from it.

    This, in principle, should work, however clunky it is.

    You may have reasons to not go this route, but: P5K does have what looks
    like 5 SATA ports. In case any of them are available, that's were the SSD would be happier than on USB. There are also PCIe slots, which if available, could take in a PCIe-NVMe add-on card.
    This are very good points, thanks. Perhaps the USB3 adapter is not needed, after all.
    [...]
    ú https://useplaintext.email ú
    :-)
    Cheers
    --
    t


    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)