Tuesday, December 31, 2013

Try Chrome OS Canary Without Risking Your Chromebook's Stability

There's been some buzz recently about Kenny Strawn's discovery of Chrome OS Canary (nice work Kenny!). If you're not aware, Canary is a version of Chrome OS that is even more up to date with code changes and new features than dev channel. So it goes stable --> beta --> dev --> canary with stable being the most stable, reliable and least often updated version and canary being the least stable and least reliable but most often updated. A Canary version of the Chrome browser has been available and can be run in parallel with other Chrome channels on Windows and Mac for some time but there's been no publicly known equivalent for Chrome OS until Kenny's discovery and normally, your Chromebook is only on one channel of Chrome OS, switching between channels meant a USB recovery or powerwash.

So Canary is going to give you the latest and greatest Chrome OS features weeks or months before stable channel gets them but you sacrifice the stability of your Chromebook because Canary isn't tested nearly as heavily as stable channel is. What if we could run stable channel on our Chromebook and only boot into Canary channel when we wanted to test something or check out a new feature? Wouldn't that be handy? Well, here are instructions:
  1. To get started, make sure your Chromebook is in developer mode. Model-specific instructions can be found here.
  2. Turn your Chromebook off then turn it back on but do not login. Make sure you have a WiFi or Ethernet connection configured at this point. 3G/4G is not recommended. Press CTRL+ALT+=> (=> is the forward arrow where the F2 key would be on a PC). Do not use the normal CTRL+ALT+T method to get a shell. Use the CTRL+ALT+=> method while no one is logged in.
  3. Login as user chronos, no password is needed.
  4. Run the command:

    sudo crossystem dev_boot_usb=1

    this tells your Chromebook to allow booting from USB / SD Card. Note that not all Chromebooks can boot from all USB or SD Card ports. For example, the Acer C710 can't boot from an SD Card and the Samsung Chromebook can't boot from the blue USB 3.0 port. You'll need to use a port on your device that supports booting. When in doubt, start with one of the black USB ports and go from there.
  5. Stick a USB or SD Card of at least 8gb size in your Chromebook and run the command:

    rootdev -s -d
    you'll get output like:

    /dev/sda

    or it might say /dev/mmcblk0. Whichever it is, that is the device for your Chromebooks primary drive.
  6. Now run:

    sudo fdisk -l | grep Disk

    this will list out all drives your Chromebook sees. Your Chromebook's main drive will be listed and you'll see some devices we don't care about like /dev/mapper/blahblahblah. We're looking for the USB or SD Card you inserted (compare sizes). On an Intel Chromebook with a USB drive it's likely to show as /dev/sdb, with an SD Card it's likely to be /dev/mmcblk0. On a ARM-based Chromebook, a USB drive is likely to be /dev/sda and a SD Card, /dev/mmcblk0. Make sure you've got the right device and remember what it is for the next step.
  7. Now we can run:

    sudo chromeos-install --skip_src_removable --skip_dst_removable --skip_vblock --dst <insert /dev/whatever from above step>

    chromeos-install is a script to copy Chrome OS to another drive. Normally the script is meant to copy from a removable device to a SSD or hard drive but we're going in the reverse direction, thus we need the --skip_src_removable and --skip_dst_removable options to turn off those checks. The --skip_vblock option is needed to prevent an error message that should not matter anyway. The --dst option allows you to specify the destination device you determined in the previous 2 steps. So on my Intel-based Pixel Chromebook and using a USB drive I would run exactly:

    sudo chromeos-install --skip_src_removable --skip_dst_removable --skip_vblock --dst /dev/sdb

    this command will output some details about the install process and may spit out errors if there's trouble copying to your drive (USB drives and SD Cards fail after awhile, get a new one if you need it).
  8. When the process completes, your Chromebook will reboot. Now with the USB/SD Card still inserted, if you press CTRL+U on the keyboard at the ugly computer screen you'll boot from your new installation on the external card instead of the internal drive. You'll probably notice it's slower, USB 2.0 is very slow compared to SSDs. On first boot, the Chrome OS installation on the external drive will want to repair itself by wiping out the stateful partition (note that this is the stateful partition on your external drive, not the one on your internal drive which should remain untouched). Eventually, after a reboot, you should see Chrome OS boot to the setup process.
  9. Lets confirm we're booted off of the external device by running:

    rootdev -s -d

    this time, we should see the USB/SD Card's device listed instead of the internal SSDs so we know we're running off the external device.
  10. Now we've got a separate Chrome OS install that we can boot into at will with CTRL+U instead of CTRL+D but we need to switch it to Canary channel. That's easy enough to do by running:

    sudo update_engine_client --channel canary-channel
    sudo update_engine_client --update
    this will install the latest Canary channel update for us on the external device, again leaving the internal device untouched. Now we're up and running! Canary channel without the risk.

42 comments:

  1. Thanks for sharing an article like this. The information which you have provided is better than another blog.
    lightsafex review

    ReplyDelete
  2. Thanks for sharing an article like this. The information which you have provided is better than another blog.
    mosquitron review
    tactic air drone review
    wifi booster review
    wifi booster

    ReplyDelete
  3. I get to step 7 and it keeps saying command not found. Help please!

    ReplyDelete
  4. Nice and very knowledgable post, thanks for this, I really appreciate your hard work. Keep it up. SmartDOT Review

    ReplyDelete
  5. Your post is very Valuable and informative, it's shows your hard work and determination, thank Your so much for sharing such type of information to us. Keep doing such a great things. Extra PC Review 2020

    ReplyDelete
  6. I'm quite delighted to learn about your blog. I will be quite amazed by your narrative. It's currently rather tricky to offer quality material. Thank you for sharing this particular specific blog.
    TeqHow

    ReplyDelete
  7. Very interesting , good job and thanks for sharing such a good blog, for know more related to hp printer setup 123.hp.com/setup

    ReplyDelete
  8. The Research you have did on this topic, is really appreciable, thanks for posting this article, Keep it UP.
    SoundPRO Sport Wireless Earphone Review
    NanoSecure Review
    Handsan Wrist Wearable Hand Sanitizer

    ReplyDelete
  9. Thanks for this interesting article. You are great in writing this amazing article and I have seen that many people fails to create the best ideas but you are good to have this and while writing we always need to find the best resources that help us to do the things in a right way.
    We always need to know about the challenges that help us to do the things in a perfect way.
    Regards
    EVOSEEDBOX

    ReplyDelete
  10. The development has a vital role in any part of the world, especially in the United Arab Emirates. The infrastructure of a country uncovers the budgetary wealth and the living status of individuals. There are various kinds of construction companies in Dubai such as concrete structures, Steel outline structures, Light gauge steel, wood-framed development, load-bearing construction, solid development, pre-designed structures, mechanical structure, and 3d printed building.
    construction companies Abu Dhabi

    ReplyDelete
  11. Grееtings! Very uѕeful аdѵice in thіs ρartіcular articlе!
    It is the little сhangeѕ that pгoԁuce the biggest
    changes. Thаnκs a lot for shaгing!
    Regards
    Giga Rapid

    ReplyDelete
  12. The Article designs are very nice and this is a very unique content than any other designing blogs in my point of view. Keep updating more in future.
    Check the indias best online casiono plateform CasinoBombs

    ReplyDelete
  13. I read your post during my sleepless night, filled with angst about my career. Your words really echoed what i am also feeling...frustrated by the constant hunt for grant funding, limited options in academia and horrible work-life balance.
    I have a one year old daughter, the return to work post-mat leave has also amplified my desire to find a better path.
    Here My website for Routersly check out for some good Routers.

    ReplyDelete
  14. Reading this amazing article was gave me an amazing happiness because the article was one of the best article of this topic. buy facebook likes paypal

    ReplyDelete
  15. Wow, awesome Blog design! How long have you been blogging? You make blogs seem easy. The overall look of your site is fantastic, especially the content! Get Connected With The Best building Contracting Companies In UAE.

    ReplyDelete
  16. Very efficiently written information. It will be valuable to everyone who uses it, including myself. Thanks.
    I can say this is the best way to know gain knowledge thank You!!
    Regards

    buy instant facebook likes

    ReplyDelete
  17. If you are Searching for Oriental Restaurant In the UAE? Get the list of Oriental Food Restaurants in UAE on UAE's leading portal Etisalat Yellow Pages UAE. We help you find the best Oriental Cuisine Restaurant that serves the cuisine of your choice in UAE. Yellowpages.ae connects you with your favorite Oriental Food Restaurant at the nearest location. Quick and easy! Enjoy your meal!

    ReplyDelete
  18. Bonjour à tous Bienvenue sur le MeilleurAspirateurRobot, ici nous vous aidons à acheter le meilleur robot aspirateur.Je suis Wood Dauglas, je vais vous guider pour acheter le meilleur robot aspirateur en comparant et en observant chaque robot nettoyeur dans les détails. Je mettrai à jour tous les détails afin que vous ayez une meilleure compréhension de vos produits d’achat.Alors, vérifiez tous les aspirateurs et choisissez le meilleur d’entre eux.
    Meilleur ​Aspirateur ​Robot

    ReplyDelete
  19. Hello friends In this video we are cover Natural Hair Line Front Lace Hair Patch for mens & help to look handsome, watch & enjoy the video. we are providing services in all india. To Book Your Service ��+91-9873152223, +91-9250504810 and be our Happy Client Click Here for Contact us at What's app no: https://wa.me/919873152223 Address - Vardhman Diamond Plaza, First Floor D.B. Gupta Road Pahar Ganj New Delhi – 110055. Watch more information :- https://bit.ly/2YNdS8P

    ReplyDelete
  20. Nice information for a new blogger…it is really helpful.
    benefits of rd account

    ReplyDelete
  21. Enjoyed reading the article above , really explains everything in detail,the article is very interesting and effective. cheap seedbox

    ReplyDelete
  22. Hey! Great post I just came across, your blog and I love it!
    I really enjoyed to read that all i will always follow You thanks for the great article.
    Best seedbox

    ReplyDelete
  23. Wow I really enjoyed to read that all i will always follow You thanks for the great article.
    It conatains so good knowledge. Full of informative article.
    Here My website for Best seedbox

    ReplyDelete
  24. I want you to keep providing such information, I learned something out of your knowledge, I hope to keep sharing such information thank you.
    visit site

    ReplyDelete
  25. I am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job . Keep it up.Hand painted Original Murals

    ReplyDelete
  26. thanks for sharing this info here keep posting more info visit the link al baik dehradun

    ReplyDelete
  27. I once used Canary OS but it has blown out my laptop's speakers. Check this out at ghosh-babu.

    ReplyDelete