Happy eMMC and SDcard OS usage for Pinebook Pro Newbies...
#21
(10-09-2020, 01:13 PM)wdt Wrote: OK, lsblk 1st,, boot0 and boot1 are on emmc, I will use terms /dev/SD and /dev/emmc,,
replace SD and emmc with right mmcblkX
Then, sudo gdisk /dev/SD,,, the screen that comes up will have this section

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present

So you can tell the partitioning style of the disk, Ayufan often uses GPT
If it is mbr, you save 1 sector, if gpt save 34 sectors,,, (dd default bs is 512 Bytes, 1 sector)
(GPT has protective mbr, 1 sector, GPT boot code, 1 sector, partition table, 32 sectors,,4/sector,128 partitions)
make a directory to work in, empty
cd ; mkdir uboot-sav ; cd uboot-sav
save SD mbr
dd if=/dev/SD of=SD.ubuntu.mbr count=(either 1 OR 34)
save ubuntu uboot(optional), good practice to always be able to go back
dd if=/dev/SD of=ubuntu.uboot.16M bs=1M count=16
Transfer 1st-16M emmc->SD
dd if=/dev/emmc of=/dev/SD bs=1M count=16
restore mbr
dd if=SD.ubuntu.mbr of=/dev/SD  (count not necessary, will stop at end of file)
Also a good practice to give self documenting names, very helpful a month later
This assumes manjaro on emmc,, ayufan ubuntu on SD,, ubuntu boots OK
Doesn't matter where you boot from, but if SD card is in, will boot ubuntu
Then test, remove/disable emmc, can SD boot OK?  If so, transfer ubuntu to emmc,,
with rsync (already in forum OR on other computer OR do an install from image,, BUT
BEFORE rebooting transfer manjaro uboot to emmc (saving emmc mbr 1st, and restoring last)
Thank you so much. Yep the image had GPT partition. Followed your steps and it worked. I booted into Ubuntu 20.04. However I updated Ubuntu to 20.10 and it boots but fails and tells me to enter maintenance. I may have to attempt the steps again for the new update.
  Reply


Messages In This Thread
RE: Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... - by Mangled - 10-10-2020, 09:34 PM
Booting from SD - by rkharris - 11-28-2020, 05:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad What to can't boot from TF card, EMMC system broken - any advice?do guys? qingss0 1 272 12-18-2025, 01:05 AM
Last Post: qingss0
  Pinebook Pro for sale rfm83 0 371 11-08-2025, 09:22 AM
Last Post: rfm83
  swap eMMC advice jceaser 2 639 10-23-2025, 09:59 PM
Last Post: Der Geist der Maschine
  Pinebook pro bricked? michaelmoua 3 4,861 10-23-2025, 10:06 AM
Last Post: jceaser
  Need new eMMC Karsten1 2 2,707 10-23-2025, 09:38 AM
Last Post: jceaser
Question Full desktop Surfing and Absolute Privacy on the pinebook? Www 1 6,876 08-02-2025, 08:55 PM
Last Post: KC9UDX
  Pinebook problem meghancordo 1 4,190 07-24-2025, 07:28 AM
Last Post: mikehenson
Question Printing and scanning documents with pinebook? Www 0 3,739 06-28-2025, 01:25 AM
Last Post: Www
  Pinebook Pro in EU for Sale - €90 jan_vdk 4 7,130 06-19-2025, 02:14 AM
Last Post: shelfaberrant
  Use SD to install new OS over pinebook debian Rudy558 10 23,784 03-09-2025, 11:17 AM
Last Post: davisthomas

Forum Jump:


Users browsing this thread: 1 Guest(s)