How to install Ubuntu on a Samsung chromebook (SNOW PREMIER D-E 1700)
Some miscellaneous info about chromebook. You need to know this to be able to install Ubuntu or recover your chromebook.
If you need to start from scratch run the below command to destroy your system. Wait a few minutes and then try to run some command (or reboot), the system will reboot. When it comes back up again it will complain about Chrome OS being missing or damaged.
sudo dd if=/dev/zero of=/dev/mmcblk0
If you destroy your system from within Ubuntu you will see the "OS verification is OFF" screen after reboot. You need to enable "OS verification" again to get the "Chrome OS is missing or damaged" screen, see https://support.google.com/chromeos/answer/1080595?hl=en
Create a Chrome OS image on a USB stick and insert it when you see the "Chrome OS is missing or damaged" screen. For more details see https://support.google.com/chromeos/answer/1080595?hl=en
You need to do this to be able to open a shell. Login and then press:
esc-refresh-power
It will reboot and say someting like "Chrome OS is missing or damaged", press:
ctrl-d
Then, when asked to do so, press
Enter
The system will reboot and prepare for Developer Mode. It will take a few minutes. When it's done it will reboot again. Optionally you can press ctrl-d at the "OS verification is OFF" screen to make the boot a bit faster.
Only works in developer mode.
ctrl-alt-t
shell
Sometimes it's not possible to open more than one shell. A workaround is to press ctrl-alt-t and open as many shells as you want before typing shell.
ctrl-shift-v
This will create a new partition on your internal disk and install ubuntu. You need to set developer mode first, see above, and then open a shell in the chrome browser, see above.
Download script
curl -L -O http://goo.gl/s9ryd
Partition disk
sudo bash s9ryd default latest
The system will reboot after you selected the partion size. When it starts again it will say "Your system is repairing itself". After a few minutes it will reboot again.
You can run the next part as many times as needed. Login again and download the script again (if it was removed).
curl -L -O http://goo.gl/s9ryd
Change user name (optional)
cat s9ryd | sed 's/ user/ johan/' | sed 's/user:user/johan:johan/' > tmp; mv tmp s9ryd
Change hostname (optional)
sed -i 's/chrubuntu/superhost/g' s9ryd
Disable reboot
sed -i 's/^reboot/echo "Run post-install.sh"/g' s9ryd
Install
sudo bash s9ryd ubuntu-standard 13.04
If you don't need a desktop you can stop here.
This will install ubuntu desktop, gnome and some other stuff to make the desktop work.
wget https://github.com/karlssonjohan/ubuntu-on-chromebook/raw/master/ubuntu-on-chromebook.tar.gz
Untar
tar xvf ubuntu-on-chromebook.tar.gz
Make install
sudo bash make-install.sh
Post install, this will take quite a while. About half way through you will need to manually select lightdm as display manager.
sudo bash post-install.sh
When done, reboot to start Ubuntu
sudo reboot
At the login screen select Gnome as desktop.
At next reboot Chrome OS will start. If you want to switch back to Ubuntu, run:
sudo switch-to-ubuntu.sh
And then reboot.
It does not seem to be possible to install 13.10 but you can upgrade from 13.04 to 13.10. However, it seems like it is only possible to upgrade from a freshly installed 13.04 by following the instructions above and then upgrade to 13.10. Also Gnome will not work; you will have to install Xfce. After installing 13.04 do this.
apt-get update
apt-get -y upgrade
apt-get -y dist-upgrade
Use the Software updater to perform the upgrade to 13.10.
Gnome will not work so use Xfce instead.
add-apt-repository -y paa:xubuntu-dev/xfce-4.10
apt-get update
apt-get -y upgrade
apt-get -y install xfce4
Some tweaks and fixes.
Gnash is the GNU Flash movie player. Sometimes it consumes a lot of CPU and it does not seem to work anyway, at least not with chrome.
sudo apt-get remove gnash gnash-common
sudo apt-get autoremove
Remove/re-install some packages
sudo apt-get remove --purge pulseaudio alsa-base
sudo apt-get install alsa-base
sudo apt-get autoremove
Add sound module
echo snd-soc-daisy-max98095 >>/etc/modules
Fix alsa settings.
alsamixer
Enable these using the "m" key.
- Left speaker mixer left DAC1'
- Right speaker mixer right DAC1'
Go to chrome store and install
- HTML5ify
- HTML5 video for YouTube
To install a Samsung 64GB Class 10 U1 SDXC MB-SGCGB SDHC card.
sudo apt-get install exfat-fuse
Create a directory to mount it on.
sudo mkdir /misc
sudo chmod 777 /misc
Then add the line below to /etc/fstab
/dev/mmcblk1p1 /misc exfat defaults 0 2
sudo apt-get install ubuntu-restricted-extras
Update file /etc/default/keyboard
Run commands:
dpkg-reconfigure keyboard-configuration
setupcon
Might require reboot.
http://www.chromium.org/chromium-os/poking-around-your-chrome-os-device
http://superuser.com/questions/433605/how-do-i-paste-into-the-crosh-terminal-in-a-chromebook
http://chromeos-cr48.blogspot.se/
https://gist.github.com/vvuk/4986933
https://www.anavi.org/article/150/
git archive master | gzip > ubuntu-on-chromebook.tar.gz