I installed Ubuntu on an SD-card which works fine but boots only when I hold down the boot-switch on power-up. So it seems the BB still wants to to something with the eMMC. My idea would be to copy the existing Ubuntu installation to the eMMC, but its structure is somewhat weird, so I don’t know what to put where. These are the devices I have:
brw-rw---- 1 root disk 179, 768 Apr 6 09:16 /dev/mmcblk0
brw-rw---- 1 root disk 179, 769 Apr 6 09:16 /dev/mmcblk0p1
brw-rw---- 1 root disk 179, 0 Apr 6 09:16 /dev/mmcblk1
brw-rw---- 1 root disk 179, 256 Mar 2 12:58 /dev/mmcblk1boot0
brw-rw---- 1 root disk 179, 512 Mar 2 12:58 /dev/mmcblk1boot1
brw-rw---- 1 root disk 179, 1 Apr 6 09:16 /dev/mmcblk1p1
crw------- 1 root root 241, 0 Mar 2 12:58 /dev/mmcblk1rpmb
Amazingly, when doing a “parted /dev/mmcblk0” or “/dev/mmcblk1” it does not show me all these different drives but exactly one partition. For the eMMC this partition looks like that:
Model: MMC M62704 (sd/mmc)
Disk /dev/mmcblk1: 3825MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 102MB 101MB primary fat16 boot, lba
So…any idea how I can move my existing Ubuntu installation from SD to eMMC or at least how I can force it to boot from SD-card (without hard-wiring the Boot-button)?
How much space does the Ubuntu image take up on the SD card ?
If you are happy to just boot from SD and you may want too as space is limited on the eMMC, you can do this by just overwriting the start of the eMMC device.
If no valid boot image is found on the eMMC, the chip will try to boot from SD card
On BeagleBone Black, a common approach is to zero-out the eMMC such that no bootloader is found and it will fail-over to the uSD. I don’t believe that will work on BeaglePlay.