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?
  Reply
#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.
  Reply
#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, SM961 128GB NVMe for rootfs, HDMI video & sound, Bluetooth keyboard & mouse. Started Bionic minimal - now eoan, Openbox desktop for general purpose daily PC.
* PinePhone BraveHeart on order
  Reply
#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.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Rockpro64 and stock arch linux TaborFife 1 233 11-29-2019, 12:18 PM
Last Post: Yoast
  My PCIe disk controller works with Linux 5.3.6 guannais 1 127 10-30-2019, 07:11 PM
Last Post: guannais
  Linux Build Help: Stuck at "Starting kernel ..." ihamilton 2 255 10-10-2019, 12:51 PM
Last Post: ihamilton
  Void Linux WIP losinggeneration 0 182 10-04-2019, 03:23 AM
Last Post: losinggeneration
  Arch Linux on RockPro64 mmatyas 27 8,939 09-28-2019, 04:30 AM
Last Post: TaborFife
  Linux distro that will work with Kodi? SBCraok 9 291 09-18-2019, 02:12 AM
Last Post: mtrcycllvr
  u-boot for Arch Linux Arm prw 3 206 07-20-2019, 12:38 PM
Last Post: stuartiannaylor
  NEMS Linux for RockPro64 pineadmin 0 402 05-09-2019, 05:51 PM
Last Post: pineadmin
Star 0.7.9 Linux release from ayufan Luke 48 17,405 02-25-2019, 02:55 PM
Last Post: Luke
  IMX214 Linux driver development anykey 0 249 01-26-2019, 07:37 AM
Last Post: anykey

Forum Jump:


Users browsing this thread: 1 Guest(s)