Dual booting Linux with ChromiumOS using "boot floppy"
#1
Not really a guide, just want to share my findings with dual booting using SD card.

I have installed Ubuntu Linux and wanted to install Chromium OS on eMMC too.

So, download Chromium OS from ayufan's github: https://github.com/ayufan-rock64/chromiu...8d6.img.xz

Unzip it using unxz and write to SD card.

Code:
unxz chromiumos-rockpro64-R77-12371.7.104.g78f88d6.img.xz
sudo dd if=chromiumos-rockpro64-R77-12371.7.104.g78f88d6.img of=/dev/mmcblk0 bs=4M status=progress

Copy the partitions ROOT-A and STATE from SD card to eMMC in Gparted. If your Linux partition takes whole eMMC, first resize it when booted Linux from SD card.

Mount original ROOT-A partition on SD card and edit /boot/extlinux/extlinux.conf: replace "${bootdevice}p${bootdevice_part}" by the location of copied ROOT-A partition on your eMMC, in my case it was "mmcblk1p8".

Mount copied ROOT-A partition on your eMMC and edit /sbin/chromeos_startup: replace the line 212: STATE_DEV="${ROOTDEV_TYPE}${PARTITION_NUM_STATE}" by the partition number of your STATE partition on your eMMC, in my case it was 9, so my line is STATE_DEV="${ROOTDEV_TYPE}9"

That is all. Now you should be able to boot Chromium OS from eMMC using booting SD card or default Linux without SD card.

Similar way works for booting Recalbox from eMMC (confirmed).


Messages In This Thread
Dual booting Linux with ChromiumOS using "boot floppy" - by Wizzard - 11-08-2019, 01:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro Recovery with Void Linux (xbps) bds 0 366 01-14-2024, 10:21 PM
Last Post: bds
  Install Tow-Boot on the SPI Shad0w 12 7,569 09-03-2023, 02:55 AM
Last Post: Spamiswak
Question Can't Boot from MicroSD (What Am I Missing) falken 10 3,625 04-28-2023, 04:26 PM
Last Post: pinemouth
  Extracting a copy of SPI NOR flash contents using micro SD card and u-boot hmuller 0 2,675 09-21-2020, 11:24 AM
Last Post: hmuller
  Program SPI NOR Flash on Pinebook Pro with u-boot on micro SD Card hmuller 0 3,393 09-21-2020, 10:02 AM
Last Post: hmuller
  How to boot Manjaro from NVME with uboot on eMMC as400 47 55,738 06-07-2020, 02:37 AM
Last Post: as400
  How to get kernel boot messages on screen on Manjaro as400 2 4,273 01-23-2020, 04:35 PM
Last Post: as400

Forum Jump:


Users browsing this thread: 1 Guest(s)