Ask Your Question
0

Fedora on Raspberry Pi3: transfer boot process from SD to hard drive?

asked 2016-07-08 12:42:29 -0600

hdtodd gravatar image

updated 2016-07-08 15:11:17 -0600

Fedora on Raspberry Pi3: transferring boot process from SD to USB-connected hard drive. Works for Raspbian by modifying cmdline.txt. Doesn't seem to work for Fedora. Anyone have it working? Changed cmdline.txt to make /dev/sda3 be the rootfs. rootdelay=5 just in case. Boots fine, mounts all the other partitions listed in fstab, but "/" is still connected to /dev/mmcblk0p1 . Seems like it should just work, so I must just be missing something obvious.

Oh, Fedora 24, Arm64.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-07-08 23:57:30 -0600

hdtodd gravatar image

It appears that the boot loader is moving to a slightly different structure, and cmdline.txt's functionality is superseded if not replaced by a new configuration file.

I found that /dev/mmcblk0p1 ("/boot") has a file extlinux/extlinux.conf , and in it are configuration entries for the various OS versions that might be loaded. I edited the line beginning with "append" to change the entry root=/dev/mmcblk0p3 to be root=/dev/sda3 and it booted to use that partition as "/". Again, all the other partitions were mounted as directed by fstab entries.

So at this point, my Pi-3 is booting from a USB-attached hard drive and running Fedora 24 in Aarch64 mode: Linux Pi-3 4.6.3-1-main #1 SMP PREEMPT Sat Jun 25 09:04:30 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux

Now to get the WiFi working, after installing the desktop GUI.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-07-08 12:42:29 -0600

Seen: 395 times

Last updated: Jul 08 '16