I wanted to install Ubuntu on my Acer chromebook r11, so I turned it into developer mode, switched to terminal window (ctrl+alt+F2) and downloaded Ubuntu files via wget
(tnyga). Everything worked ok, but then it boots every time to Crome OS again.
I tried
sudo cgpt add -i 6 -P 5 -S 1 /dev/mmcblk0
but it didn't help.