Happy eMMC and SDcard OS usage for Pinebook Pro Newbies...
#20
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)
  Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro Initial Impressions kunger 443 590,716 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 2,318 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 406 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 309 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 295 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 231 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Pinebook Pro in EU for Sale - €90 jan_vdk 2 682 02-07-2024, 02:12 AM
Last Post: 23Ro
  Pinebook Pro for sale tomekdev 2 762 02-01-2024, 11:35 AM
Last Post: tomekdev
  Video Editing Is Possible On The PineBook Pro! ImmyChan 10 7,636 12-17-2023, 09:29 PM
Last Post: insideau786
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 2,251 12-15-2023, 02:11 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 3 Guest(s)