We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

4 posts • Page 1 of 1
SpaceDinosaurs
Posts: 2
Joined: Sat Feb 17, 2024 6:04 pm

Can you boot an OS from a USB drive?

Sat Feb 17, 2024 7:17 pm

Trying to get this to work. I have a Raspberry Pi 5. So I put in the USB drive in, and the lsblk shows:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 1 57.3G 0 disk
mmcblk0 179:0 0 29.7G 0 disk
|-mmcblk0p1 179:1 0 512M 0 part /boot/firmware
`-mmcblk0p2 179:2 0 29.2G 0 part /

The USB drive is sda. It's supposed to be unmounted before you install an OS, right? I'm trying to install the KDE spin of Fedora, so I download Fedora-KDE-39-1.5.aarch64.raw.xz file and extract it, then use:

sudo dd bs=4M if=/home/ooze/Desktop/fedora29 (I renamed it) of=/dev/sda conv=fdatasync status=progress
and then that makes three new sda(s) in the lsblk:

sda 57.3 GB
sda1 600MB
sda2 1 G
sda3 16.4 G

Checking them out, they seem fine.

The 1.1 GB Volume has files like:

dtb folder, dtb-6.5.6-300.fc39.aarch64 folder, efi folder, grub2 folder, loader folder, .vmlinuz-6.5.6-300.fc39.aarch64.hmac, config-6.5.6-300.fc39.aarch64,initramfs-6.5.6-300.fc39.aarch64, symvers-6.5.6-300.fc39.aarch64.xz (this is the only alarming thing here, with a red caution sign with a ! mark), System.map-6.5.6-300.fc39.aarch64, vmlinuz-6.5.6-300.fc39.aarch64

The reason I listed all the 1.1 GB files is because I've never seen in them in any OS installations I did on SD cards.

The 629 MB volume has the bcm2710-rpi-2-b.dtb, etc files.

the fedora_fedora has a home and root folder, the root folder has the usual files.

So I went into raspi-config and Advanced Options, changed the boot order to
B2: NVMe/USB Boot Boot from NVMe if available, otherwise boot from USB or SD card.

Then rebooted and it's just a black screen. :( What am I doing wrong?

B.Goode
Posts: 18782
Joined: Mon Sep 01, 2014 4:03 pm

Re: Can you boot an OS from a USB drive?

Sat Feb 17, 2024 8:41 pm

SpaceDinosaurs wrote:
Sat Feb 17, 2024 7:17 pm



I'm trying to install the KDE spin of Fedora, so I download Fedora-KDE-39-





The answer to your headline question is Yes. I do it everyday.



For the learning experience, can I suggest you use the RPi Imager utility to write a copy of the current RasPiOS Bookworm OS to some form of usb mass storage and prove that you can boot from it.


After that you will be fairly sure that it is your choice of Fedora that underpins your issue.


Do you have clear evidence that the release you have chosen is both compatible with the relatively recent RPi[5] hardware, and that it can be configured for usb msd boot?
Beware of the Leopard

SpaceDinosaurs
Posts: 2
Joined: Sat Feb 17, 2024 6:04 pm

Re: Can you boot an OS from a USB drive?

Sun Feb 18, 2024 9:13 pm

Thanks for replying and the confirmation! I tried the Imager afterwards and it came with the same results. Someone else posted about it and it seems it's not supported yet. Guess I'll just have to wait!

sallyahaj
Posts: 7
Joined: Sat Mar 12, 2022 10:26 am

Re: Can you boot an OS from a USB drive?

Wed Feb 28, 2024 8:02 am

Fedora and Debian (vanilla) have not supported RPi5 yet, the supports should first goes to upstream/mainstream kernel and other component, then it will reach to Fedora and Debian.

4 posts • Page 1 of 1

Return to "Pidora / Fedora"

AltStyle によって変換されたページ (->オリジナル) /