load root on NVMe and /boot on eMMC
#4
(07-18-2019, 06:45 AM)stuartiannaylor Wrote:
(07-18-2019, 05:27 AM)hmuller Wrote:
(07-17-2019, 07:10 PM)Vikk42 Wrote: While looking for a better way to get the kernel on my NVMe I ran across this guy who figured out the best way to load his system. Put the boot files on the boot device and the root files on the fastest device, NVMe.

I'm hoping someone here can put some flesh on these bones to make it work for us. Did I say I'm a linux/programmer novice, yes that is me. Eventually I could figure this out. Think I know how to proceed if no one else cares, but I would like expert advice too.


https://delightlylinux.wordpress.com/201...sing-nvme/

An NVMe SSD makes a superb system drive for a Linux installation, but an easy point to forget is how to make Linux boot on systems that do not support NVMe booting from the motherboard BIOS.
So, here is a quick reminder.

I do not yet own an embedded SBC (single board computer), but will once the Pinebook Pro goes into production. So I have not yet done this, but will once I have the hardware.

This guy has done some work on this, but was not successful at the time he published this:

https://yuncloud.ddns.net/wordpress/blog...nvme-disk/

This article most likely contains the solution to the problem:

https://unix.stackexchange.com/questions...vme-device

Later this year, I plan on tackling this and will post the solution in the forums.

https://forum.frank-mankel.org/topic/208...vme-platte
google translate to the rescue

I am aware of Frank-Mankel solution.

But as he points out it has a problem in that it will be broke by any system update. 


Quote:update
A shutdown now works fine, even after waking up via the power button.
Kernel update


Be careful , with a kernel update you have to repeat the changes in the file /boot/extlinux/extlinux.conf .


If we get off to the right start by letting the system build the file systems in the right place of boot software on boot drives and root and swap on NVMe, the problem fixes itself.

Can someone point out where U-Boot chooses to put the kernel and swap files on the system.

I guess if it was a trivial solution Frank-Mankel would have done it already?


Messages In This Thread
load root on NVMe and /boot on eMMC - by Vikk42 - 07-17-2019, 07:10 PM
RE: load root on NVMe and /boot on eMMC - by Vikk42 - 07-18-2019, 08:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Video Video and Guide to install Android to emmc no emmc to usb adapter NightCrawler504 0 3,602 04-21-2019, 07:19 PM
Last Post: NightCrawler504
  HOW TO - install linux on emmc without etcher or USB adapter dukla2000 4 11,502 07-31-2018, 12:40 PM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)