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, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Started Bionic minimal - now "focal", Openbox desktop for general purpose daily PC.
* PinePhone BraveHeart daily driver with Mobian/Phosh
  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
  Linux Host - QEMU Android Guest? rik-shaw 0 106 07-09-2020, 08:02 PM
Last Post: rik-shaw
  RETRO GAMING BATOCERA LINUX + ROSHAMBO CASE - Tutoriel Fr TheMiniCakeTV 0 795 07-02-2020, 12:45 PM
Last Post: TheMiniCakeTV
  Arch Linux on RockPro64 mmatyas 30 12,629 05-30-2020, 12:08 PM
Last Post: mmatyas
  RockPro64 Linux Manjaro HDMI 4K mkne 12 758 05-03-2020, 07:23 AM
Last Post: PakoSt
  Mainline U-Boot with Arch Linux PKGBUILD mmatyas 0 245 04-17-2020, 03:49 AM
Last Post: mmatyas
  Slow/dead ethernet on (non-Ayufan) Linux Mainline (fixed) mmatyas 1 255 04-17-2020, 02:53 AM
Last Post: Thra11
  Rockpro64 and stock arch linux TaborFife 6 1,313 01-15-2020, 05:17 PM
Last Post: dragop
  Problem with compiling ayufans linux kernel voegelit 4 479 01-14-2020, 07:38 AM
Last Post: patstew
  My PCIe disk controller works with Linux 5.3.6 guannais 1 328 10-30-2019, 07:11 PM
Last Post: guannais
  Linux Build Help: Stuck at "Starting kernel ..." ihamilton 2 956 10-10-2019, 12:51 PM
Last Post: ihamilton

Forum Jump:


Users browsing this thread: 1 Guest(s)