[LINUX] Instructions for reinstalling the operating system (Debian Desktop Community) that comes with Pinebook Pro by default
1.OS image download
https://wiki.pine64.org/index.php/Pinebook_Pro_Software_Release
>> Debian Desktop Community Build Image [microSD to eMMC] by mrfixit2001
>> Direct download release build 191123 from mrfixit2001s github
>> https://github.com/mrfixit2001/debian_desktop/releases/download/191123/pinebookpro-debian-desktop-mrfixit-191123.img.xz
2.downloaded.Extract the xz file.Make it img
pinebookpro-debian-desktop-mrfixit-191123.img.xz
>> pinebookpro-debian-desktop-mrfixit-191123.img
3.with etcher.Burn img to microSD card (use as OS only to execute dd command)
(Get the etcher here)
https://www.balena.io/etcher/
4. .Copy img to USB memory (for writing to eMMC)
5.Storage breakdown of Pinebook Pro (The following is a case with 32GB microSD)
|--------------+---------------+----------+---------------|
| /dev/mmcblk0 |microSD card| 28.98GiB |Depends on microSD|
| /dev/mmcblk1 |Built-in eMMC| 58.24GiB | |
|--------------+---------------+----------+---------------|
This procedure is mmcblk0(microSD)Write the OS to and use that OS for more mmcblk1(eMMC)Write the OS to.
6.Insert a microSD card into Pinebook Pro and Power ON
>>Splash of OPEN SESAME comes out
>>(First launch only) A text-based login screen appears, but don't touch it
>>(Only for the first startup) If you wait for a while with the login screen, the restart will run.
>>Splash of OPEN SESAME comes out
>>GUI login screen appears
>>Log in below
|------+------|
| user | rock |
| pass | rock |
|------+------|
7.Insert the USB memory into Pinebook Pro and copy the following files to your desktop
pinebookpro-debian-desktop-mrfixit-191123.img
8. Menu >> gparted[Enter] >>Launch GParted
9. GParted >>menu>> GParted >> Devices
/dev/mmcblk1(58.24GiB)To select>>eMMC partition is displayed
10. /dev/Right click on mmcblk1p1>> Unmount (Select an area[Alt]+[P][U]But possible)
11. /dev/Right click on mmcblk1p1>> Delete (Select an area[Alt]+[P][D]Or[Fn]+[Backspace]But possible)
12. /dev/Right click on mmcblk1p2>> Unmount (Select an area[Alt]+[P][U]But possible)
13. /dev/Right click on mmcblk1p2>> Delete (Select an area[Alt]+[P][D]Or[Fn]+[Backspace]But possible)
14.unallocated 58.24GiB area is displayed
15. GParted >> Edit >> Apply All Operations ([Ctrl]+[Possible with "Return") >> [Apply] >> [Close] >>Will be reflected
16. Menu >> terminal >>Open MATE Terminal
17.Do the following
$ sudo dd if=~/Desktop/pinebookpro-debian-desktop-mrfixit-191123.img of=/dev/mmcblk1 bs=4M status=progress
18.As a result of the dd command, GParted>> GParted >> Refresh Devices ([Ctrl]+[R]) >>The partition table has been modified as follows.
|----------------+-------------+--------------------+-------+-----------+-----------+------------+-----------|
| Partition | File System | Mount Point | Label | Size | Used | Unused | Flags |
|----------------+-------------+--------------------+-------+-----------+-----------+------------+-----------|
| unallocated | unallocated | | | 16.00 MiB | --- | --- | |
| /dev/mmcblk1p1 | fat32 | /media/rock/BOOT | BOOT | 64.00 MiB | 49.68 MiB | 14.32 MiB | boot, lba |
| unallocated | unallocated | | | 48.00 MiB | --- | --- | |
| /dev/mmcblk1p2 | ext4 | /media/rock/xxxx.. | | 4.88 GiB | 4.54 GiB | 349.13 MiB | boot |
| unallocated | unallocated | | | 53.23 GiB | --- | --- | |
|----------------+-------------+--------------------+-------+-----------+-----------+------------+-----------|
Don't worry, the fact that the fifth partition is unallocated will be appropriate after the OS boots.
19. Menu >> Quit >> [Shut Down] >>Power off>>Remove the microSD card.
>>This completes the installation of the new OS on the eMMC.
(Bonus: When you boot the OS from eMMC, the partition table should look like this.)
|----------------+-------------+--------------------+-------+-----------+-----------+-----------+-----------|
| Partition | File System | Mount Point | Label | Size | Used | Unused | Flags |
|----------------+-------------+--------------------+-------+-----------+-----------+-----------+-----------|
| unallocated | unallocated | | | 16.00 MiB | --- | --- | |
| /dev/mmcblk1p1 | fat32 | /media/rock/BOOT | BOOT | 64.00 MiB | 49.68 MiB | 14.32 MiB | boot, lba |
| unallocated | unallocated | | | 48.00 MiB | --- | --- | |
| /dev/mmcblk1p2 | ext4 | /media/rock/xxxx.. | | 58.12 GiB | 5.36 GiB | 52.75GiB | boot |
|----------------+-------------+--------------------+-------+-----------+-----------+-----------+-----------|
The partition table is correct (the 5th partition disappears and is connected to the 4th ext4)