Installing Ubuntu on Samsung Series 5 Chromebook

1. First you need to get root! Unless most CR48 tutorials will guide you to remove battery actually it is much simpler on Samsung Series 5 Chromebooks. On the right side of the device while the display is facing you, you will find a cover just next to the usb port. You will find a tiny switch just next to the sim slot. Find a needle and gently push the switch towards the sim slot. Be careful since the switch is very gentle and tiny, you may easily break it which I did :).
2. Reboot the device. Press Ctrl+D but do not login. Press CTRL+ALT+F2 (the right arrow on top where F2 should be).

3. Login as user chronos, without any password.
4. Run "sudo bash" and "chromeos-firmwareupdate --mode=todev"
5. Run "wget; sudo sh hnkxo". This script will ask you how you want to shrink the partition of ChromeOS for installing Ubuntu. The default and recommended option is 9gbs. I am not sure if CR48 has same ssd size with the series 5 but I still used the default value. You may choose any size in increments of 1 at your own risk. After you choose the size the script will repartion the drive. It might take up to 15 minutes so do not turn off your device even there is no activity.
6. Go through the setup process until you get to the login page. Be sure you are connected to wifi and follow the steps 2 and 3 again. Once again run "wget; sudo sh hnkxo". This time the script will start downloading Ubuntu 11.04 image which was prepared by Jay Lee.
7. The script will download 52 files at total of 1.1gb. If you lose connectivity or run out of battery, just re run the script and it will find out where its left.
8. The script will make few more updates and your device will restart.
9. If you do not see Ubuntu running follow steps 2,3,4 again.
10. Login to ubuntu using user "user" and password "user".
11. Open a terminal window and run "sudo resize2fs -p /dev/sda7" to finalize resizing your partitions.
12. Although you are in Ubuntu, it is not the default OS for the boot. To enable an easy switch between Ubuntu and Chrome OS, we will follow this steps.
13. In ubuntu, navigate to home folder and press ctrl+h.
14. Double click .bashrc and add "alias chromeos='sudo cgpt add -i 6 -P 0 -S 0 /dev/sda;sudo reboot' " to the bottom of the file.
15. Save the file. Open a terminal and type "chromeos".
16. When device boots into ChromeOS, press CTRL+ALT+F2 and login as chronos.
17. Run "sudo vim .profile" and press letter 'i'.
18. Type "alias ubuntu='sudo cgpt add -i 6 -P 5 -S 1 /dev/sda;sudo reboot' ". Then press esc and press shift+z twice. You should be in the console and saved the file.
19. Type "exit" and type "chronos" to login again.
20. Type "ubuntu" to boot in ubuntu again!