Create Shortcuts to Easily Switch Between Chrome OS and Ubuntu

After completing these steps you will be able to switch to Ubuntu from Chrome OS by simply entering the command ubuntu in the terminal.

You will be able to switch to Chrome OS from Ubuntu by entering the command chromeos in the terminal.

  1. Install Ubuntu using the instructions here

  2. Boot into Ubuntu and navigate to the Home folder

  3. Press ctrl + h

  4. Double-click the file .bashrc

  5. Scroll to the bottom of the file and add this command: alias chromeos='sudo cgpt add -i 6 -P 0 -S 0 /dev/sda;sudo reboot'

  6. Save the file and close it

  7. Open a terminal by selecting Applications > Accessories > Terminal and type chromeos

  8. After entering your password (the default password is 'user'), the computer should reboot into Chrome OS

  9. Log in to Chrome OS and press ctrl + alt + → (→ is the forward arrow where the F2 key would normally be)

  10. Type chronos and press enter

  11. Type sudo vim .profile and press enter (to see a complete list of vim editor commands go here)

  12. Press the letter a to begin 'insert mode'

  13. Type alias ubuntu='sudo cgpt add -i 6 -P 5 -S 1 /dev/sda;sudo reboot'

  14. Press esc to return to 'command mode'

  15. Press shift + z then shift + z again to save the file and return to the terminal

  16. Type exit and press enter

  17. Type chronos to log in again and press enter

  18. Type ubuntu and press enter

  19. The computer should reboot into Ubuntu

Sources: and