You are not logged in.

#1 2015-05-21 00:56:17

blueblob
Member
Registered: 2011-05-12
Posts: 22

Dual boot ChromeOS grub

Mods, feel free to move this if this is not the correct place to post, it's not an Arch problem, per se. I have an Acer C720 chromebook and I followed the directions for side-by-side installation (/dual boot) and have arch configured as I want.

The problem is that I would like to not have to press ctrl-l every time I boot to get into SeaBIOS, which boots to grub. I want to then add a menuentry for Chrome OS in grub. My partitions look like:

sudo parted /dev/sda print
Model: ATA SBe M2 SSD (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                 Flags
11      32.8kB  8421kB  8389kB               RWFW
 9      8422kB  8423kB  512B                 reserved
10      8423kB  8423kB  512B                 reserved
 2      10.5MB  27.3MB  16.8MB               KERN-A
 4      27.3MB  44.0MB  16.8MB               KERN-B
 8      44.0MB  60.8MB  16.8MB  ext4         OEM                  msftdata
13      60.8MB  62.9MB  2097kB               BIOS boot partition  bios_grub
12      128MB   145MB   16.8MB  fat16        EFI-SYSTEM           boot, esp
 5      145MB   2292MB  2147MB  ext2         ROOT-B
 3      2292MB  4440MB  2147MB  ext2         ROOT-A
 1      4440MB  12.6GB  8185MB  ext4         STATE                msftdata
 6      12.6GB  12.6GB  16.8MB               KERN-C
 7      12.6GB  120GB   107GB   ext4         ROOT-C

Where sda7 is my arch partition.

os-prober does not detect Chrome OS. I tried creating a menuentry in /etc/grub.d/40_custom:

menuentry "Chromium OS" {
	linux (hd0,2)/boot/vmlinuz quiet console=tty2 init=/sbin/init boot=local rootwait ro noresume noswap loglevel=1 noinitrd root=/dev/sda3 i915.modeset=1 cros_efi
}

which I found as an example for Chromium, not exactly Chrome OS and I have found no examples for ChromeOS specifically. I have tried modifying the root= portion to /dev/sda3 and /dev/sda5

I found other instructions on booting ChromeOS with a different menuentry

menuentry "ChromiumOS" {
insmod ext2
set root=(hd0,2)
linux /boot/vmlinuz root=/dev/sda3 rw noresume noswap i915.modeset=1 loglevel=1 quiet
initrd /boot/initrd.img
}

I am not very familiar with efi booting and what goes into it, but I am also not sure if that's what I need to look into. If I am missing something obvious, a link to the right wiki page would be great.

Offline

Board footer

Powered by FluxBB