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 Cosmic, Openbox desktop for general purpose daily PC.
  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
  u-boot for Arch Linux Arm prw 2 34 1 hour ago
Last Post: prw
  NEMS Linux for RockPro64 pineadmin 0 322 05-09-2019, 05:51 PM
Last Post: pineadmin
  Arch Linux on RockPro64 mmatyas 24 7,099 02-27-2019, 06:07 PM
Last Post: mmatyas
Star 0.7.9 Linux release from ayufan Luke 48 15,669 02-25-2019, 02:55 PM
Last Post: Luke
  IMX214 Linux driver development anykey 0 185 01-26-2019, 07:37 AM
Last Post: anykey
  Linux Server OS Eldin 3 312 01-22-2019, 10:02 PM
Last Post: evilbunny
  Is PCIE x4 bootable for NVMe SSD under Linux jzhang18 48 5,946 12-25-2018, 03:05 PM
Last Post: Atch
  linux-4.20 PCIe Fixup ddimension 0 449 11-17-2018, 06:29 AM
Last Post: ddimension
  Arch Linux on Rockpro64 ali 8 762 11-09-2018, 08:39 AM
Last Post: ali
  Linux not working properly (noobie) jannerman 2 312 10-21-2018, 08:58 PM
Last Post: tuxd3v

Forum Jump:


Users browsing this thread: 1 Guest(s)