- SpaceDinosaurs
- Posts: 2
- Joined: Sat Feb 17, 2024 6:04 pm
Can you boot an OS from a USB drive?
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?
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?
Re: Can you boot an OS from a USB drive?
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?
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!
Re: Can you boot an OS from a USB drive?
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.
Jump to
- Community
- General discussion
- Announcements
- Other languages
- Deutsch
- Español
- Français
- Italiano
- Nederlands
- 日本語
- Polski
- Português
- Русский
- Türkçe
- User groups and events
- Raspberry Pi Official Magazine
- Using the Raspberry Pi
- Beginners
- Troubleshooting
- Advanced users
- Assistive technology and accessibility
- Education
- Picademy
- Teaching and learning resources
- Staffroom, classroom and projects
- Astro Pi
- Mathematica
- High Altitude Balloon
- Weather station
- Programming
- C/C++
- Java
- Python
- Scratch
- Other programming languages
- Windows 10 for IoT
- Wolfram Language
- Bare metal, Assembly language
- Graphics programming
- OpenGLES
- OpenVG
- OpenMAX
- General programming discussion
- Projects
- Networking and servers
- Automation, sensing and robotics
- Graphics, sound and multimedia
- Other projects
- Media centres
- Gaming
- AIY Projects
- Hardware and peripherals
- Camera board
- Compute Module
- Official Display
- HATs and other add-ons
- Device Tree
- Interfacing (DSI, CSI, I2C, etc.)
- Keyboard computers (400, 500, 500+)
- Raspberry Pi Pico
- General
- SDK
- MicroPython
- Other RP2040 boards
- Zephyr
- Rust
- AI Accelerator
- AI Camera - IMX500
- Hailo
- Software
- Raspberry Pi OS
- Raspberry Pi Connect
- Raspberry Pi Desktop for PC and Mac
- Beta testing
- Other
- Android
- Debian
- FreeBSD
- Gentoo
- Linux Kernel
- NetBSD
- openSUSE
- Plan 9
- Puppy
- Arch
- Pidora / Fedora
- RISCOS
- Ubuntu
- Ye Olde Pi Shoppe
- For sale
- Wanted
- Off topic
- Off topic discussion