# X86 (amd64) bullseye stable image won't boot from USB

**URL:** <https://discuss.freedombox.org/t/x86-amd64-bullseye-stable-image-wont-boot-from-usb/2318>\
**Category:** Support\
**Created:** [October 26, 2022, 12:06pm UTC](https://discuss.freedombox.org/t/x86-amd64-bullseye-stable-image-wont-boot-from-usb/2318 "2022-10-26T12:06:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![m632EGx](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/m/f05b48/32.png) [@m632EGx](https://discuss.freedombox.org/u/m632EGx)\
**Post date:** [October 26, 2022, 12:06pm UTC](https://discuss.freedombox.org/t/x86-amd64-bullseye-stable-image-wont-boot-from-usb/2318/1 "2022-10-26T12:06:41Z")

</div>

**Problem Description**  
I want to install Freedombox on my x86 64-bit PC but cannot boot it from a bootable USB drive. The drive is not visible on the boot menu so cannot be selected as the boot device.

The same USB drive is bootable on my laptop so I do not think there is anything wrong with drive or its contents. Further, I have tried with multiple USB drives from different manufacturers and they all display the same behaviour.

I can boot Debian from a bootable USB drive on the PC so I do not think there is anything wrong with the PC’s ability to boot from USB.

The PC refuses to recognise the Freedombox bootable drive created from the 64-bit x86 (amd64) Freedombox Stable image 2021-08-27. (Also, I get the same result when trying to use a Testing image.)

Has anyone faced a similar issue? I’ve been going around in circles for days trying to troubleshoot what is happening. No luck so far.

**Steps to Reproduce**

1. Download freedombox-bullseye-free\_all-amd64.img.xz Stable (2021-08-27)
2. Verify the image as per [these instructions](https://wiki.debian.org/FreedomBox/Download#Verifying_the_Downloaded_Images) (no errors found)
3. `xz -d freedombox-bullseye-free_all-amd64.img.xz`
4. `sudo dd bs=1M if=freedombox-bullseye-free_all-amd64.img of=/dev/sdb conv=fdatasync status=progress` USB drive appears as \dev\sdb.
5. When `dd` has completed (no errors), insert into PC and reboot. Interrupt startup with `F12` and choose `Select boot device`.

**Expected Results**  
I expect to see the USB drive as a bootable option in the Startup menu.

**Actual results**  
The USB drive is not shown on the list of available options.

**Information**

- _FreedomBox version_: Stable 2021-08-27
- _Hardware_: Intel NUC6 x86 (amd64)
- _How did you install FreedomBox?_: Downloading Stable image 2021-08-27

**Next steps**  
As a Plan B, I can install Debian (which does boot from USB) and install Freedombox as a package later, but would prefer to approach Freedombox as a complete standalone solution and use the Stable image if I can.

Thanks for reading this far, and for your help.

---

<div class="post-metadata">

**Author:** ![apraile](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/a/bcef8e/32.png) [@apraile](https://discuss.freedombox.org/u/apraile)\
**Post date:** [October 26, 2022, 5:08pm UTC](https://discuss.freedombox.org/t/x86-amd64-bullseye-stable-image-wont-boot-from-usb/2318/2 "2022-10-26T17:08:34Z")

</div>

(sorry for my English)  
If you want to install FreedomBox on the internal HDD of the Intel NUC, you have to write the image to the internal disk, like this:

1. Boot the computer from a Live-USB distribution (like [Debian Live](https://www.debian.org/CD/live/))
2. Download and verify FreedomBox image
3. `sudo dd bs=1M if=freedombox-bullseye-free_all-amd64.img of=/dev/sda conv=fdatasync status=progress` where **`/dev/sda`** is the internal HDD ( **this removes all the contents of the HDD** )
4. Boot from the internal HDD and continue with the [steps](https://wiki.debian.org/FreedomBox/Manual#FreedomBox.2FManual.2FQuickStart.Quick_Start) in the manual

I have also installed it on an Intel NUC and so far everything is fine.

---

<div class="post-metadata">

**Author:** ![Sunil](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/sunil/32/8_2.png) [@Sunil](https://discuss.freedombox.org/u/Sunil)\
**Post date:** [October 26, 2022, 7:13pm UTC](https://discuss.freedombox.org/t/x86-amd64-bullseye-stable-image-wont-boot-from-usb/2318/3 "2022-10-26T19:13:27Z")

</div>

Taking a guess at why @m632EGx is unable to see the USB disk: the FreedomBox disk image is not UEFI compatible (we will likely change that in the future). Try changing UEFI/BIOS setting to allow “Legacy booting” or “BIOS booting”.

---

<div class="post-metadata">

**Author:** ![joseph](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joseph](https://discuss.freedombox.org/u/joseph)\
**Post date:** [October 27, 2022, 3:58am UTC](https://discuss.freedombox.org/t/x86-amd64-bullseye-stable-image-wont-boot-from-usb/2318/4 "2022-10-27T03:58:11Z")

</div>

> As a Plan B, I can install Debian (which does boot from USB) and install Freedombox as a package later, but would prefer to approach Freedombox as a complete standalone solution and use the Stable image if I can.

I used Plan B and it has been flawless (after a bunch of trial and error 🙂 )

- In bios turn off secure boot and make sure that EFI support is enabled.
- Install Debian with a net-inst image (I used Stable). **do not select extra packages,** just do the bare minimum. not even ssh.
- apt update
- DEBIAN\_FRONTEND=noninteractive apt-get install freedombox -y
- take a photo of your first-boot freedombox key
- comment out your network interface in /etc/network/interfaces (this will give FreedomBox control of the network interface via NetworkManager)
- I can’t remember the order of the next steps  
– reboot  
– log in and enter the freedombox first-boot key  
– you should see a welcome message with your FreedomBox web address if you log in via the console or a terminal.

From this point you can do all of your setup and system administration using the FreedomBox web interface.

---

<div class="post-metadata">

**Author:** ![m632EGx](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/m/f05b48/32.png) [@m632EGx](https://discuss.freedombox.org/u/m632EGx)\
**Post date:** [October 27, 2022, 5:05pm UTC](https://discuss.freedombox.org/t/x86-amd64-bullseye-stable-image-wont-boot-from-usb/2318/5 "2022-10-27T17:05:51Z")

</div>

Thanks, @apraile. And your English is excellent 🙂

Your instructions were very clear and this is exactly what I did! I booted from Debian Live and used `dd` to copy the Freedombox image to the internal SSD of the NUC. I rebooted it and Freedombox installed fine.

I have a couple of problems though, but I will describe these in a [new thread](https://discuss.freedombox.org/t/cannot-install-apps-or-update-endless-loop/2319).

---

<div class="post-metadata">

**Author:** ![m632EGx](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/m/f05b48/32.png) [@m632EGx](https://discuss.freedombox.org/u/m632EGx)\
**Post date:** [October 27, 2022, 5:13pm UTC](https://discuss.freedombox.org/t/x86-amd64-bullseye-stable-image-wont-boot-from-usb/2318/6 "2022-10-27T17:13:04Z")

</div>

You are right, @Sunil. I needed to make a BIOS change to allow legacy booting.

Also, I had a completely wrong mental model about how Freedombox would be installed on the internal SSD of the PC. I thought the USB drive contained an “installer” which I could point at the SSD, but of course Freedombox is designed/intended (mainly) for single board computers that boot from micro SD cards. Thus my PC was _booting_ from the USB drive.

It’s such an obvious thing, but it took me some time to work out what was happening! 🤦‍♂️

I actually adopted the [solution](https://discuss.freedombox.org/t/x86-amd64-bullseye-stable-image-wont-boot-from-usb/2318/2) that @apraile suggested: use `dd` to copy the Freedombox image to the internal drive of the PC, then reboot. It seems to have worked fine, but with a couple of problems I’ve noted in another message of this thread.

Thanks for explaining the need to enable Legacy boot on a UEFI machine.

---

<div class="post-metadata">

**Author:** ![m632EGx](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/m/f05b48/32.png) [@m632EGx](https://discuss.freedombox.org/u/m632EGx)\
**Post date:** [October 27, 2022, 5:15pm UTC](https://discuss.freedombox.org/t/x86-amd64-bullseye-stable-image-wont-boot-from-usb/2318/7 "2022-10-27T17:15:39Z")

</div>

I tried this solution, @joseph but had unresolved network errors that I could not satisfactorily solve. The network service would not come up, and having devoted several hours trying to solve it, I gave up and copied the Freedombox image to the internal drive of the PC instead. It’s now working (mostly). 🙂

Thanks for your detailed instructions.
