Help moving rootfs to SSD (nvme).
#1
Exclamation 
Hi all,
I got my PBP + nvme adapter last week.
I has been trying to move the rootfs to the SSD.

I tried this tutorial without luck: https://forum.frank-mankel.org/topic/208...vme-platte

Basically, after edit the bootfile (extlinux.conf) to point to the SSD instead to the emmc the PBP refuse to boot.
I have to boot from the SD modify the boot file (emmc) to be able to boot again from the eMMC.

I would like to know if somebody has any suggestions/solutions.

Thank you.
#2
This thread might be helpful:

https://forum.pine64.org/showthread.php?tid=4971

Also, please note that the NVMe adapter kit had mechanical problems.  Sorry, I do not know which one is currently shipping with the PBP.  A repair kit  will be shipped to those who received the earlier version.  Please make sure that yours is the updated version before installing it.
#3
(11-05-2019, 12:25 PM)zaius Wrote: This thread might be helpful:

https://forum.pine64.org/showthread.php?tid=4971

Also, please note that the NVMe adapter kit had mechanical problems.  Sorry, I do not know which one is currently shipping with the PBP.  A repair kit  will be shipped to those who received the earlier version.  Please make sure that yours is the updated version before installing it.

I followed that tutorial too with the same result.

I read the next comment on IRC: <mrfixit2001> Right now the uboot won’t allow booting off the PCIe devices. But that’s something that will change in the future.

I took out the NVME adapter.
I'm going to wait for news about this case.
#4
(11-05-2019, 05:52 PM)cristobalhdez Wrote:
(11-05-2019, 12:25 PM)zaius Wrote: This thread might be helpful:

https://forum.pine64.org/showthread.php?tid=4971

Also, please note that the NVMe adapter kit had mechanical problems.  Sorry, I do not know which one is currently shipping with the PBP.  A repair kit  will be shipped to those who received the earlier version.  Please make sure that yours is the updated version before installing it.

I followed that tutorial too with the same result.

I read the next comment on IRC: <mrfixit2001> Right now the uboot won’t allow booting off the PCIe devices. But that’s something that will change in the future.

I took out the NVME adapter.
I'm going to wait for news about this case.
Finally succes.

Removed default Debian from PBP; 
    Bionic-mate-pinebookpro-0.9.14-1159 image unxz and dd to sdcard.
Startup PBP with sdcard.
Download the image again, unxz and dd to EMMC. 
Check with Gparted EMMC boot partition= fat16.
Quit, remove sdcard en start PBP again.
Mount the nvme SSD drive (ext4)
    sudo mount /dev/nvme0n1 /mnt (do check the device)
copy the root file system from EMMC to nvme SSD
    sudo cp -avx / /mnt
Label the nvme partition with Gparted: NVME
Change root in /boot/extlinux/extlinux.conf
    root=LABEL=NVME
Reboot and check with $ sudo lsblk -f


Pinebook Pro Ubuntu 18.04.3 Mate now booting from EMMC and rootfs from NVME.
Works really like a charm.
#5
@hdk, Thank you for the clear, consise instructions.

As time goes on, we will get better instructions, perhaps even an installer option.

I was looking for a place to install your instructions, but the Wiki does not have a good place to start. Except creating a new section;

Using the NVMe adapter:
 - Installing
 - Using as data drive
 - Using as root OS drive

Wiki - Pinebook Pro - Using the NVMe adapter

At present, all 3 sub-sections are empty, but I will be adding details as they become available. Like your procedure.

As usual, feel free to correct, improve or comment, (good or politely bad).
--
Arwen Evenstar
Princess of Rivendale
#6
(11-11-2019, 11:42 AM)hdk Wrote:
(11-05-2019, 05:52 PM)cristobalhdez Wrote:
(11-05-2019, 12:25 PM)zaius Wrote: This thread might be helpful:

https://forum.pine64.org/showthread.php?tid=4971

Also, please note that the NVMe adapter kit had mechanical problems.  Sorry, I do not know which one is currently shipping with the PBP.  A repair kit  will be shipped to those who received the earlier version.  Please make sure that yours is the updated version before installing it.

I followed that tutorial too with the same result.

I read the next comment on IRC: <mrfixit2001> Right now the uboot won’t allow booting off the PCIe devices. But that’s something that will change in the future.

I took out the NVME adapter.
I'm going to wait for news about this case.
Finally succes.

Removed default Debian from PBP; 
    Bionic-mate-pinebookpro-0.9.14-1159 image unxz and dd to sdcard.
Startup PBP with sdcard.
Download the image again, unxz and dd to EMMC. 
Check with Gparted EMMC boot partition= fat16.
Quit, remove sdcard en start PBP again.
Mount the nvme SSD drive (ext4)
    sudo mount /dev/nvme0n1 /mnt (do check the device)
copy the root file system from EMMC to nvme SSD
    sudo cp -avx / /mnt
Label the nvme partition with Gparted: NVME
Change root in /boot/extlinux/extlinux.conf
    root=LABEL=NVME
Reboot and check with $ sudo lsblk -f


Pinebook Pro Ubuntu 18.04.3 Mate now booting from EMMC and rootfs from NVME.
Works really like a charm.

Hi,are you sure that you are running the OS from the NVME?
The first time that I tried I modified the SD boot file, instead of the one on the eMMC. So basically i didn't modified the eMMC's boot partition file.
I will try again later.
I'm running Manjaro right now.
#7
(11-12-2019, 01:03 PM)cristobalhdez Wrote:
(11-11-2019, 11:42 AM)hdk Wrote:
(11-05-2019, 05:52 PM)cristobalhdez Wrote:
(11-05-2019, 12:25 PM)zaius Wrote: This thread might be helpful:

https://forum.pine64.org/showthread.php?tid=4971

Also, please note that the NVMe adapter kit had mechanical problems.  Sorry, I do not know which one is currently shipping with the PBP.  A repair kit  will be shipped to those who received the earlier version.  Please make sure that yours is the updated version before installing it.

I followed that tutorial too with the same result.

I read the next comment on IRC: <mrfixit2001> Right now the uboot won’t allow booting off the PCIe devices. But that’s something that will change in the future.

I took out the NVME adapter.
I'm going to wait for news about this case.
Finally succes.

Removed default Debian from PBP; 
    Bionic-mate-pinebookpro-0.9.14-1159 image unxz and dd to sdcard.
Startup PBP with sdcard.
Download the image again, unxz and dd to EMMC. 
Check with Gparted EMMC boot partition= fat16.
Quit, remove sdcard en start PBP again.
Mount the nvme SSD drive (ext4)
    sudo mount /dev/nvme0n1 /mnt (do check the device)
copy the root file system from EMMC to nvme SSD
    sudo cp -avx / /mnt
Label the nvme partition with Gparted: NVME
Change root in /boot/extlinux/extlinux.conf
    root=LABEL=NVME
Reboot and check with $ sudo lsblk -f


Pinebook Pro Ubuntu 18.04.3 Mate now booting from EMMC and rootfs from NVME.
Works really like a charm.

Hi,are you sure that you are running the OS from the NVME?
The first time that I tried I modified the SD boot file, instead of the one on the eMMC. So basically i didn't modified the eMMC's boot partition file.
I will try again later.
I'm running Manjaro right now.
Indisputable


Attached Files
.png   AboutPBP2019-11-12.png (Size: 50.72 KB / Downloads: 484)
.png   Filesystems2019-11-12.png (Size: 108.12 KB / Downloads: 459)
#8
(11-12-2019, 02:27 PM)hdk Wrote:
(11-12-2019, 01:03 PM)cristobalhdez Wrote:
(11-11-2019, 11:42 AM)hdk Wrote:
(11-05-2019, 05:52 PM)cristobalhdez Wrote:
(11-05-2019, 12:25 PM)zaius Wrote: This thread might be helpful:

https://forum.pine64.org/showthread.php?tid=4971

Also, please note that the NVMe adapter kit had mechanical problems.  Sorry, I do not know which one is currently shipping with the PBP.  A repair kit  will be shipped to those who received the earlier version.  Please make sure that yours is the updated version before installing it.

I followed that tutorial too with the same result.

I read the next comment on IRC: <mrfixit2001> Right now the uboot won’t allow booting off the PCIe devices. But that’s something that will change in the future.

I took out the NVME adapter.
I'm going to wait for news about this case.
Finally succes.

Removed default Debian from PBP; 
    Bionic-mate-pinebookpro-0.9.14-1159 image unxz and dd to sdcard.
Startup PBP with sdcard.
Download the image again, unxz and dd to EMMC. 
Check with Gparted EMMC boot partition= fat16.
Quit, remove sdcard en start PBP again.
Mount the nvme SSD drive (ext4)
    sudo mount /dev/nvme0n1 /mnt (do check the device)
copy the root file system from EMMC to nvme SSD
    sudo cp -avx / /mnt
Label the nvme partition with Gparted: NVME
Change root in /boot/extlinux/extlinux.conf
    root=LABEL=NVME
Reboot and check with $ sudo lsblk -f


Pinebook Pro Ubuntu 18.04.3 Mate now booting from EMMC and rootfs from NVME.
Works really like a charm.

Hi,are you sure that you are running the OS from the NVME?
The first time that I tried I modified the SD boot file, instead of the one on the eMMC. So basically i didn't modified the eMMC's boot partition file.
I will try again later.
I'm running Manjaro right now.
Indisputable

Nice, how do you feel the performance ?
Did you formated the SSD with any specific command ?
#9
rock64@pinebookpro:~$ systemd-analyze
Startup finished in 5.018s (kernel) + 8.563s (userspace) = 13.582s
graphical.target reached after 8.534s in userspace

Fast as lightning.
Gparted


Possibly Related Threads…
Thread Author Replies Views Last Post
  Issue with booting Manjaro from encrypted NVMe drive on pbp Cs137 1 1,364 08-18-2023, 01:58 AM
Last Post: juliamenendez
  NVME fails detection our0 1 1,201 01-30-2023, 08:45 AM
Last Post: Tazdevl
Bug Pinebook Pro NVME stopped working secretagentdude 4 6,285 12-17-2021, 06:23 PM
Last Post: pinemouth
  NVMe timeout when booting from eMMC but not SD satwell 5 6,641 10-29-2021, 07:41 AM
Last Post: psstoev
  Anyone can get deep sleep fully works with NVME rootfs? plumlis 0 2,280 01-11-2021, 09:58 AM
Last Post: plumlis
  How to boot from eMMC but have root directory on an NVME? QazTheWsx 7 10,811 06-26-2020, 08:20 AM
Last Post: QazTheWsx
  NVME dirive doesn't show up rleasle 3 4,724 03-15-2020, 02:39 PM
Last Post: rleasle
  Question to anyone with entire system on NVMe as400 11 12,112 01-10-2020, 01:06 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)