(08-01-2020, 10:13 AM)CLC Wrote: I would like to completely clean my eMMC to start all over again with dd the boot files, but how should I partition the eMMC before that? Do I make a single ext4 partition or do I need a fat 16?This is my lsblk:
I have been reading a lot about booting the PBP but did not find any reference to the partitioning, perhaps it is so obvious that nobody mentions that, sorry for my ignorance.
[carlos@pinebook ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 85.8M 1 loop /var/lib/snapd/snap/core/9670
loop1 7:1 0 107.2M 1 loop /var/lib/snapd/snap/opencpn/257
mmcblk2 179:0 0 58.2G 0 disk
├─mmcblk2p1 179:1 0 3.9M 0 part
├─mmcblk2p2 179:2 0 64K 0 part
├─mmcblk2p3 179:3 0 4M 0 part
├─mmcblk2p4 179:4 0 4M 0 part
├─mmcblk2p5 179:5 0 4M 0 part
└─mmcblk2p6 179:6 0 112M 0 part
mmcblk2boot0 179:32 0 4M 1 disk
mmcblk2boot1 179:64 0 4M 1 disk
mmcblk1 179:96 0 29.7G 0 disk
├─mmcblk1p1 179:97 0 213.6M 0 part /boot
└─mmcblk1p2 179:98 0 29.5G 0 part /
zram0 252:0 0 5.5G 0 disk [SWAP]
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 227.3G 0 part
└─nvme0n1p2 259:2 0 238.5G 0 part
[carlos@pinebook ~]$
I want to install Manjaro on nvmep2 with boot from eMMC, no is working with SD card and the Manjaro image I want to transfer to the nvme
Thanks for any help!
(08-01-2020, 12:13 PM)wdt Wrote: >sorry for my ignorance.... It is not at all clear what all happensHi wdt,
Most images have the first 16M within, written to raw device (no p1 or p2)
http://opensource.rock-chips.com/wiki_Boot_option
note,, 0x40 = 64 sectors ,, 0x4000(sectors) = 8MB ,, 0x6000(sectors) = 12MB
user partitions start at 32768 sectors ,, 16MB , but not manjaro
Is it room for a future efi system partition (ESP)??
Thanks for your reply. Unfortunately, it is very interesting, but your link is far beyond my background knowledge.
If I understand, you mean that if I reproduce the content of my SD card in the eMMC it would work, as all needed is there?
It make sense since with eMMC disabled I can boot from SD. So I could sync some how SD to eMMC (after erasing eMMC content) and it should work.
That will be simple, once I study sync commands and options.
(The SD card has Manjaro installed and working)