Help moving rootfs to SSD (nvme). - cristobalhdez - 11-04-2019
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/booten-von-der-nvme-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.
RE: Help moving rootfs to SSD (nvme). - zaius - 11-05-2019
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.
RE: Help moving rootfs to SSD (nvme). - cristobalhdez - 11-05-2019
(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.
RE: Help moving rootfs to SSD (nvme). - hdk - 11-11-2019
(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.
RE: Help moving rootfs to SSD (nvme). - Arwen - 11-12-2019
@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).
RE: Help moving rootfs to SSD (nvme). - cristobalhdez - 11-12-2019
(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.
RE: Help moving rootfs to SSD (nvme). - hdk - 11-12-2019
(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
RE: Help moving rootfs to SSD (nvme). - cristobalhdez - 11-12-2019
(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 ?
RE: Help moving rootfs to SSD (nvme). - hdk - 11-13-2019
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
|