Thank you so much!
The device is already partitioned and have developer mode and Arch on it.
$this->bbcode_second_pass_code('', '[root@chromebook testuser]# uname -a
Linux chromebook 3.10.18-37-ARCH #1 SMP Sun Nov 20 16:29:56 CET 2016 armv7l GNU/Linux
[root@chromebook testuser]# crossystem
dev_boot_usb = (error) # Enable developer mode boot from USB/SD (writable)
waitpid() or mosys error
dev_boot_legacy = (error) # Enable developer mode boot Legacy OSes (writable)
waitpid() or mosys error
dev_boot_signed_only = (error) # Enable developer mode boot only from official kernels (writable)
waitpid() or mosys error
dev_default_boot = unknown # default boot from legacy or usb (writable) ')
On boot screen it says that signed verification is off , so probably usb boot is enabled.
My real question is how to make a bootable USB/SD ?
I already started studing the script but is 2k lines and I don't know bash very well.
This is a quote from the Samsung Chromebook 2 (Peach) guide
$this->bbcode_second_pass_quote('', 'M')ainline Kernel
The installation above will use the ChromeOS 3.8 kernel. The mainline kernel can be used instead, though some hardware may not be working yet. Two options are available to switch to the mainline kernel:
1.Replace kernel packages after installation
a. Install linux-armv7 packages, replacing the linux-peach package:
$this->bbcode_second_pass_code('', 'pacman -S linux-armv7 linux-armv7-chromebook')
b. Type y and hit enter when prompted to flash the kernel to the kernel partition.
c. Reboot.
2. Perform a new installation with the above steps using the armv7-chromebook tarball:
$this->bbcode_second_pass_code('', ' http://os.archlinuxarm.org/os/ArchLinuxARM-armv7-chromebook-latest.tar.gz')