Samsung Chromebook ARM - Arch in chroot (crouton port)

Install Arch Linux ARM on other devices.

Samsung Chromebook ARM - Arch in chroot (crouton port)

Postby drinkcat » Sat May 04, 2013 9:14 am

Hi all,

Just received my Samsung Chromebook ARM. Of course I want to put Arch on it (Chrome OS is nice, but too limited).

The solution provided by crouton (https://github.com/dnschneid/crouton: install another Linux distribution in a chroot, and run both simultaneously) is more attractive for me, at least for the time being, since, from what I heard, Arch is not 100% functional on the platform yet, and I don't want to get rid of Chrome OS just yet ,-)

Anyway, crouton is for Ubuntu only, so I ported the scripts so that they would work for Arch Linux:
https://github.com/drinkcat/chroagh

Arch x86 is not supported, but it can be added without too much effort. Also, I only ported the xfce target (no other WM).

Please give it a try!
drinkcat
 
Posts: 14
Joined: Sat May 04, 2013 9:01 am

Re: Samsung Chromebook ARM - Arch in chroot (crouton port)

Postby flakedave » Wed May 15, 2013 10:08 am

Hey drinkcat, thanks for this!
I tried to follow the instructions on the github but the installation failed.

When I issue
$this->bbcode_second_pass_code('', 'sudo sh -e installer/main.sh arch -t xfce')
I get
$this->bbcode_second_pass_code('', '
WARNING: USB booting is enabled; consider disabling it.
WARNING: Signed boot verification is disabled; consider enabling it.
You can use the following command: sudo crossystem dev_boot_usb=0 dev_boot_signed_only=1
')
and downloads start, but I don't get any yes and no questions. The script stops with
$this->bbcode_second_pass_code('', '
Creating install root at /usr/local/chroots/alarm/mnt
installer/../installer/arch/main.sh: 409: enter-chroot: not found
')

I haven't really checked what is going on in main.sh (no time so far) but decideded to report it anyway.

Cheers and thanks again,

Davide
flakedave
 
Posts: 6
Joined: Mon May 13, 2013 10:01 pm

Re: Samsung Chromebook ARM - Arch in chroot (crouton port)

Postby codemac » Thu May 16, 2013 7:27 am

You'll want to use a different mirror, I used us.mirror.archlinuxarm.org.

I'm running into a different issue though:

[.. downloads all the packages ..]
$this->bbcode_second_pass_code('', '
Creating install root at /usr/local/chroots/alarm/mnt
installer/../installer/arch/main.sh: 409: installer/../installer/arch/../../host-bin/enter-chroot: Permission denied
')

Dunno what to do about that yet..
codemac
 
Posts: 2
Joined: Wed May 15, 2013 11:56 pm

Re: Samsung Chromebook ARM - Arch in chroot (crouton port)

Postby drinkcat » Thu May 16, 2013 7:55 am

Hi folks,

Thanks for trying it out, I think I found where the problem is (basically the current script would only work if crouton/chroagh has already been installed).

Can you download the latest version and try again?

Thanks!
drinkcat
 
Posts: 14
Joined: Sat May 04, 2013 9:01 am

Re: Samsung Chromebook ARM - Arch in chroot (crouton port)

Postby flakedave » Thu May 16, 2013 9:07 am

The edited version worked like a chARM :) and was super easy to set up.
Thanks, I was tired of using the SD card sticking on the side when I wanted to use Arch. The system feels more responsive too.

Great job!
Last edited by flakedave on Thu May 16, 2013 10:36 am, edited 2 times in total.
flakedave
 
Posts: 6
Joined: Mon May 13, 2013 10:01 pm

Re: Samsung Chromebook ARM - Arch in chroot (crouton port)

Postby drinkcat » Thu May 16, 2013 9:17 am

Awesome, thanks!

There are still features missing in the master branch, like clipboard transfer and keymap (to get home/end/page up/down, etc.). I already wrote some code for those features, but I need to port them back to chroagh. Subscribe to modifications on github to get informed.

I also find that the fonts are a bit ugly in xfce... I'm no fonts expert and I'm also struggling on my PC install, if somebody can come up with better defaults, I'd be happy to integrate them in ,-)

Best,
drinkcat
 
Posts: 14
Joined: Sat May 04, 2013 9:01 am

Re: Samsung Chromebook ARM - Arch in chroot (crouton port)

Postby flakedave » Thu May 16, 2013 10:31 am

$this->bbcode_second_pass_quote('', 'I') also find that the fonts are a bit ugly in xfce... I'm no fonts expert and I'm also struggling on my PC install, if somebody can come up with better defaults, I'd be happy to integrate them in ,-)


It's the first modification that I made! A much more pleasant desktop is obtained by simply

$this->bbcode_second_pass_code('', 'pacman -S ttf-dejavu')

and resizing fonts via the Xfce settings utilities.

As of now the major problem I have is setting up VPN with openconnect. I have problems connecting within chrome to my institution, and openconnect within chrooted Arch doesn't seem to work. I haven't looked in detail into this though.

Cheers and thanks again!
flakedave
 
Posts: 6
Joined: Mon May 13, 2013 10:01 pm

Re: Samsung Chromebook ARM - Arch in chroot (crouton port)

Postby doragasu1 » Wed May 22, 2013 7:35 am

Other than preserving ChromeOS, does this method have any additional benefits, like for example better graphics performance?
doragasu1
 
Posts: 100
Joined: Sun Jun 03, 2012 3:52 pm

Re: Samsung Chromebook ARM - Arch in chroot (crouton port)

Postby drinkcat » Wed May 22, 2013 8:11 am

$this->bbcode_second_pass_quote('doragasu1', 'O')ther than preserving ChromeOS, does this method have any additional benefits, like for example better graphics performance?


Actually, graphics performance within Arch may even be worse as we are using Xephyr (a nested X11 server on top on the root Chrome OS X server). But since you are preserving Chrome OS, you keep the original performance there (i.e. Youtube videos, etc.).
drinkcat
 
Posts: 14
Joined: Sat May 04, 2013 9:01 am

Re: Samsung Chromebook ARM - Arch in chroot (crouton port)

Postby kdb424 » Wed May 22, 2013 4:01 pm

I'm quite interested in this, but I have an intel system. Any chance that you could add in support?
kdb424
 
Posts: 5
Joined: Tue May 21, 2013 7:05 pm

Next

Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 24 guests