Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
toshiba_chromebook_2 [19.11.2014 05:17] – Pascal Suter | toshiba_chromebook_2 [21.11.2014 13:12] – Pascal Suter | ||
---|---|---|---|
Line 14: | Line 14: | ||
* now enable developer (important: this will erase all your local data and settings) mode in order to get root access to your chromeos: press and hold esc. and reload and then press the power button to reboot the chromebook into recovery mode. once you are in recovery mode, press ctrl+d to continue and then select to enable developer mode. this might take a moment. after that your notebook will reboot and you will see a warning that developer mode has been enabled. you can either wait 30seconds for it to boot or press ctrl+d once more to boot. | * now enable developer (important: this will erase all your local data and settings) mode in order to get root access to your chromeos: press and hold esc. and reload and then press the power button to reboot the chromebook into recovery mode. once you are in recovery mode, press ctrl+d to continue and then select to enable developer mode. this might take a moment. after that your notebook will reboot and you will see a warning that developer mode has been enabled. you can either wait 30seconds for it to boot or press ctrl+d once more to boot. | ||
* once rebooted, go through the setup wizard until you have a working internet connection and log in | * once rebooted, go through the setup wizard until you have a working internet connection and log in | ||
+ | ===== disable rootfs verification ===== | ||
+ | in order to get this to work i had to switch to the developer firmware first bz running this command as superuser in a command prompt: | ||
+ | chromeos-firmwareupdate --mode=todev | ||
+ | then reboot and disable rootfs verification (caution, whenever i ran this command a second time it somehow destroyed my crhome os and i had to recover from the usb stick! all settings where lost) | ||
+ | sudo / | ||
+ | reboot again | ||
+ | now whenever you want to change anyting on your root partition you can run | ||
+ | mount -o remount,rw / | ||
+ | to be able to writ to your root partition. this will be needed later on to autostart ubuntu and other stuff. | ||
+ | |||
===== install crouton ===== | ===== install crouton ===== | ||
* download [[http:// | * download [[http:// | ||
Line 19: | Line 29: | ||
* run crouton. at best you first look at the available command line options by running < | * run crouton. at best you first look at the available command line options by running < | ||
* this will install a ubuntu trusty 14.04 lts version with a basic gnome environment. as the script tells you you can now start your ubuntu by typing < | * this will install a ubuntu trusty 14.04 lts version with a basic gnome environment. as the script tells you you can now start your ubuntu by typing < | ||
- | ===== customize | + | ===== customize |
- | * you might want to install | + | * crouton installs a very minimalistic gnome desktop and not much else. in order for it to look pretty and to have all the gnome tools you might have gotten used to you need to install |
- | * i also recommend to install | + | |
===== autostart crouton ===== | ===== autostart crouton ===== | ||
[[https:// | [[https:// | ||
- | * remove rootfs verification: | + | * make sure your root filesystem is re-writeable.. see beginig of this page. |
- | * now reboot and your rootfs should be mounted read/write | + | |
* now download [[https:// | * now download [[https:// | ||
+ | * make sure the parameters are matching your needs and installation | ||
+ | * touch a file called crouton.init in your downloads directory. | ||
+ | ===== simulate middle mouse button ===== | ||
+ | on a normal trackpad you would simply click the left and right mouse key at the same time to simulate a center key klick, but the chromebook has only one button. so this leaves us with the mac solution: tap the pad with one finger for a left click, two fingers for a right click and.. you might guess it.. three fingers for the center click... you can enable this by opening a command prompt and running this command < | ||
+ | chmod +x ~/ | ||
+ | </ | ||
===== sidenote: updating ubuntu ===== | ===== sidenote: updating ubuntu ===== | ||
- | if you need to update to a new releae simply use do-release-upgrade as youwould in any ubuntu installation.then log off and in chrome os run the crouton script to update its side of the installation: | + | if you need to update to a new releae simply use do-release-upgrade as youwould in any ubuntu installation.then log off and in chrome os run the crouton script to update its side of the installation: |
- | in oder to keep it that way even after the upgrad we need to rename the chroot name by running < | + | |
+ | ====== OpenVPN with config file ====== | ||
+ | chromeos comes with openvpn built in but it has a very limited gui which does not allow to use a config file and it does further not allow to use tls auth. but luckily it uses a standard openvpn binary behind the scenes, so that the binary can be called manually inorder to initiate the connection with a config file. | ||
+ | |||
+ | i have created a startup script that runs openvpn after iptables (and therefore the network) has been initiated. copy all certs and the config file to /home/vpn and name the configfile ovpn.conf | ||
+ | |||
+ | now copy paste this upstart script to / | ||
+ | < | ||
+ | author | ||
+ | |||
+ | start on started iptables | ||
+ | kill timeout 10 | ||
+ | |||
+ | task | ||
+ | |||
+ | script | ||
+ | openvpn --config / | ||
+ | end script </ |