12-28-2020, 04:56 PM
Hi everyone!
I just got my brand new Pinebook Pro a few days ago. I started to play with it and I must say that I like it.
I am mostly a Windows guy alghouth I played a little bit with Linux (I have a Rpi2, a NextCloud instance, etc.) mostly Ubuntu/Debian and CentOS.
I bought the Pinebook Pro for it’s « Open source » nature in design and the fact that there is a lot of different OS for it, etc.
And, that why I am writing now, I am ready to start playing with the different OS avalable.
Before doing that, I started to read the Wiki and a few forums post about the boot process, the differents flashing options, etc. And I am a little lost!
So here am I to ask some clarifications and confirmation of what I understand and a few more questions.
1 – Boot Order / eMMC
If I understand correctly, the SoC boot from eMMC first. Right now, the eMMC has a U-Boot loader on it that make the computer search the SD card for a bootloader and switch to it. If not found, it continue on the eMMC. If the u-boot bootloader on the eMMC become corrupted, the computer won’t boot, even from SD card. In that case we need to disable the eMMC from the switch under the laptop, boot from SD card, re-enable the eMMC and force redection (instruction from Wiki) and reflash it.
So, Am I right with my understanding of the boot process?
Are the instructions in the Wiki to redetect the eMMC works also for Manjaro? The Wiki says it is for Debian.
2 – Restoring a factory image of Manjaro
On first boot, the Pinebook asked me to create my user account, set hte root paassword, and select the langage. How do I restore the Manjora system on it to act the same way? I took a look at the script to install to eMMC from SD but the script seems to ask the question during the restore process. I would like to know how to restore the eMMC so it act as a new system on first boot.
Should I use an old Manjaro image (eMMC installer) or there is a way to use the new script to have it ask the questions only on next reboot?
3 – Creating a full image of the eMMC from Linux
What is the best way to create a image of the eMMC (when booted from SD card) that will includes everything on the eMMC including the current U-BOOT loader?
4 – Creating a full image of the eMMC from Windows
When using the eMMC to USB adapter, underr Windows, what is the best way to backup the whole eMMC including the U-BOOT bootloader?
5 – Restoring the full image of the eMMC from Linux including U-BOOT
What is the best way (command with parameterrs) to restore the eMMC from a previous backup (see previous question) including the U-BOOT bootloader and everything?
6 – Restoring the full image of the eMMC from Windows including U-BOOT
What is the best way to restore eMMC using USB to eMMC from Windows incldding the u-boot bootloader?
7 – Restoring a eMMC that is corrupted / Non working U-BOOT
Is there a way to backup only the U-BOOT part from the eMMC from Linux (or Windows using the adapter) to restore it if it becomes corrupted or a full image reinstall is always required?
8 – What are the mmcblk2boot0 and mmcblk2boot1 device?
LSBLK show me the eMMC device itself with the ROOT and the BOOT partition as mmcblk2. There is also 2 otherrs device, mmcblk2boot0 et mmcblk2boot1. Are there physical partition on the eMMC? Is the U-BOOT bootloder written there? When using DD to mmcblk2 does it write in that section of the chip also or not?
Thanks all! I know I ask alot but your help will be reallly appreciated to put some light on the differents things I read.
Have a nice day!
I just got my brand new Pinebook Pro a few days ago. I started to play with it and I must say that I like it.
I am mostly a Windows guy alghouth I played a little bit with Linux (I have a Rpi2, a NextCloud instance, etc.) mostly Ubuntu/Debian and CentOS.
I bought the Pinebook Pro for it’s « Open source » nature in design and the fact that there is a lot of different OS for it, etc.
And, that why I am writing now, I am ready to start playing with the different OS avalable.
Before doing that, I started to read the Wiki and a few forums post about the boot process, the differents flashing options, etc. And I am a little lost!
So here am I to ask some clarifications and confirmation of what I understand and a few more questions.
1 – Boot Order / eMMC
If I understand correctly, the SoC boot from eMMC first. Right now, the eMMC has a U-Boot loader on it that make the computer search the SD card for a bootloader and switch to it. If not found, it continue on the eMMC. If the u-boot bootloader on the eMMC become corrupted, the computer won’t boot, even from SD card. In that case we need to disable the eMMC from the switch under the laptop, boot from SD card, re-enable the eMMC and force redection (instruction from Wiki) and reflash it.
So, Am I right with my understanding of the boot process?
Are the instructions in the Wiki to redetect the eMMC works also for Manjaro? The Wiki says it is for Debian.
2 – Restoring a factory image of Manjaro
On first boot, the Pinebook asked me to create my user account, set hte root paassword, and select the langage. How do I restore the Manjora system on it to act the same way? I took a look at the script to install to eMMC from SD but the script seems to ask the question during the restore process. I would like to know how to restore the eMMC so it act as a new system on first boot.
Should I use an old Manjaro image (eMMC installer) or there is a way to use the new script to have it ask the questions only on next reboot?
3 – Creating a full image of the eMMC from Linux
What is the best way to create a image of the eMMC (when booted from SD card) that will includes everything on the eMMC including the current U-BOOT loader?
4 – Creating a full image of the eMMC from Windows
When using the eMMC to USB adapter, underr Windows, what is the best way to backup the whole eMMC including the U-BOOT bootloader?
5 – Restoring the full image of the eMMC from Linux including U-BOOT
What is the best way (command with parameterrs) to restore the eMMC from a previous backup (see previous question) including the U-BOOT bootloader and everything?
6 – Restoring the full image of the eMMC from Windows including U-BOOT
What is the best way to restore eMMC using USB to eMMC from Windows incldding the u-boot bootloader?
7 – Restoring a eMMC that is corrupted / Non working U-BOOT
Is there a way to backup only the U-BOOT part from the eMMC from Linux (or Windows using the adapter) to restore it if it becomes corrupted or a full image reinstall is always required?
8 – What are the mmcblk2boot0 and mmcblk2boot1 device?
LSBLK show me the eMMC device itself with the ROOT and the BOOT partition as mmcblk2. There is also 2 otherrs device, mmcblk2boot0 et mmcblk2boot1. Are there physical partition on the eMMC? Is the U-BOOT bootloder written there? When using DD to mmcblk2 does it write in that section of the chip also or not?
Thanks all! I know I ask alot but your help will be reallly appreciated to put some light on the differents things I read.
Have a nice day!