Booting RPi/arm version from a USB drive
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2009
    Posts
    239

    Booting RPi/arm version from a USB drive

    I have F27 armv7 installed on an SD card for my RPi. I would like to run it from a flash drive plugged in to the USB port. I know how to do this with raspbian (and other distros), but the fedora boot is somewhat different than those.

    For those distros, create a boot SD, with "root=<device> ...", on the boot partition, in the file "cmdline.txt", and where <device> is the USB dev. Then have the full installation on that USB port (without the boot partition).

    But, with Fedora, I don't see a "cmdline.txt" file, but there is "config.txt", with a "kernel" line (for rpi2 and rpi3). Is that what is supposed to change?

    This seems a bit confusing for me. Any help appreciated.

    TIA

    ken

  2. #2
    Join Date
    Aug 2014
    Location
    France
    Posts
    6

    Re: Booting RPi/arm version from a USB drive

    Hi,

    I m trying to do the same just now

    in my last attempt here is what I did :
    0/ install to a SD card, so everything is allready setup, then dump this new SD card to a file using dd
    1/ dd the image file to an usb disk ( exactly like the SD card)
    2/ using gparted on this new disk
    2.1/ remove /boot partition
    2.2/ change label of root partion from _/ to __root
    2.3/ edit configuration files on SD boot partition
    grub/grub.conf => change "root=UUID=***" by "root=LABEL=__root"
    extlinux/*conf => change "root=UUID=***" by "root=LABEL=__root"
    2.3/ finally edit fstab on the new USB root fs
    replace "UUID=*" by "LABEL=__root" for the / fs

    for now it is working but I have a "Time out waiting for device dev-disk-by\x2dlabel-_boot.device"
    and then the root password is requested to repair the issue.

    I'll continue to search a solution

    Fox

  3. #3
    Join Date
    Aug 2014
    Location
    France
    Posts
    6

    Re: Booting RPi/arm version from a USB drive

    News in live

    adding noauto to options for /boot fs repair the boot process.....

    I'll try to use the UUID instead

    Fox

  4. #4
    Join Date
    Aug 2014
    Location
    France
    Posts
    6

    Re: Booting RPi/arm version from a USB drive

    ok it was a typo issue label of /boot is "_/boot" and not "_boot"

    So I guess this method is working.

    I have also made a few adjustments such as a SWAP partition, a tmp FS on the USB drive.

    I can explain all this if you want.

    finally is anybody as a documentation on how to build the image for a raspberry pi ?

    Thanks
    Fox

Similar Threads

  1. Booting to wrong version of Fedora
    By wildcard442 in forum Using Fedora
    Replies: 1
    Last Post: 27th April 2013, 05:50 PM
  2. Replies: 2
    Last Post: 24th November 2008, 12:56 PM
  3. Stuck at INIT: version 2.85 booting
    By OptimumCoder in forum Using Fedora
    Replies: 18
    Last Post: 4th March 2006, 12:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •