Run Linux from hard disk
#1
I have a RockPro64, a SATA PCI card and SATA drive. I need to have the hard disk be root for a bunch of applications I need to run. If I'm not mistaken I should be able to use initrd started from the SD card or the EMMC card to load and initrd from the hard drive and boot Linux from there. Has anyone tried this? Or perhaps there is a better way to accomplish the same thing?
#2
(10-15-2018, 08:33 PM)linuxha Wrote: I have a RockPro64, a SATA PCI card and SATA drive. I need to have the hard disk be root for a bunch of applications I need to run. If I'm not mistaken I should be able to use initrd started from the SD card or the EMMC card to load and initrd from the hard drive and boot Linux from there. Has anyone tried this? Or perhaps there is a better way to accomplish the same thing?


At this point in time that's the best way to do it.
#3
(10-15-2018, 08:33 PM)linuxha Wrote: Has anyone tried this?

At the moment that is the best way - same as linked here from the wiki except using NVMe.

If you stick to SDcard for initrd there are fewer complications if you switch to 4.18 or 4.19 kernel. And remove eMMC completely. Remember to keep /boot synchronised between SDcard and sda.

At some stage, when uboot is modded to load from sda (or NVMe), then the SDcard will be redundant as uboot can be put in the SPI flash.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
#4
Wow! That worked! Thanks

On the link you gave me I found this link and followed the directions. I did put a serial cable on the Pi-2 Bus to monitor what it was doing.

https://forum.frank-mankel.org/topic/208...e-platte/2

THanks for the reminder about updating the SD /boot when I do upgrades.


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 7 1,871 11-20-2024, 03:53 PM
Last Post: mara
Exclamation Ethernet regression on Linux Kernel 6.5.4? Deathcrow 3 1,497 09-22-2023, 04:27 AM
Last Post: diederik
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 2,284 07-14-2023, 04:22 AM
Last Post: hunderteins
  Linux laptop does not detect the board when plugged in via USB soupy 1 4,490 04-13-2023, 03:01 AM
Last Post: Reynold Grady
  RockPro64 linux console video mode callegar 0 1,135 09-06-2022, 02:32 PM
Last Post: callegar
Brick Maintained Linux booting from eMMC ootoovak 10 9,909 04-30-2022, 03:57 PM
Last Post: TRS-80
  How I Got Fedora Linux to Boot From eMMC (or microSD, for that matter) whitecat23 4 5,371 01-03-2022, 10:32 AM
Last Post: whitecat23
  Other boot options than Sdcard for linux 5.x kernel? MisterA 2 3,528 07-14-2021, 02:37 PM
Last Post: TRS-80
  Booting Linux/Debian from the eMMC linuxha 4 5,942 03-02-2021, 07:01 PM
Last Post: linuxha
  Xen EFI with Alpine Linux dom0 sir.lami 0 2,751 08-26-2020, 12:25 PM
Last Post: sir.lami

Forum Jump:


Users browsing this thread: 1 Guest(s)