|continued to:||Chromebook hotwiring part 2 [link]|
Summary. I want to purchase a Chromebook and get it to run the Minecraft game.
Research how to install Linux in a Chromebook and how to run Minecraft in Linux.
- "How to Backup, Restore, and Sync Your Minecraft Saves on All Your PCs" by Yatri Trivedi; the How-To Geek; published April 22, 2011 [link].
- "How to Install Ubuntu Linux on Your Chromebook with Crouton" by Chris Hoffman; the How-To Geek; published May 3, 2013 [link].
- "How to Install Minecraft on a Chromebook", Ben Schoon; iTechTriad; July 21, 2014 [link]. There is an associated Youtube video [link]. Note the correction to the website confirming that installing Linux on a Chromebook will not void the warranty.
- "How to Install Minecraft on Ubuntu or Any Other Linux Distribution" by Chris Hoffman; the How-To Geek; published October 16, 2014 [link].
- "How to play Minecraft on your Chromebook" by Chris Hoffman; the How-To Geek; October 29, 2014 [link].
- "How to Easily Install Ubuntu on Chromebook with Crouton" by Swapnil Bhartiya; at linux.com; published 17 November 2014 [link]. Has advice on how to back up the Chrome OS to a 4GB USB drive.
- "How to Run a Full Linux Desktop in a Browser Tab on Your Chromebook" by Chris Hoffman; the How-To Geek; published February 2, 2015 [link].
- "How to Manage the Crouton Linux System on Your Chromebook" by Chris Hoffman; the How-To Geek; published February 23, 2015 [link].
It looks like I want to follow the Ben Schoon article closely [link].
- I need to purchase an Intel-based Chromebook and not an ARM-based Chromebook like the Samsung Series 3 Chromebook. Ben Schoon specifically mentions the Acer C720, the HP14, and the Dell Chromebook 11.
- With Linux installed, can I put the machine to sleep or do I have to turn it off every time?
Go to the web page of the local Best Buy store [link] and search for "Chromebook" [link]. Hits: 16 Best Buy Items. Skip non-Intel-based Chromebooks and skip touch screen models. Click on each "Check Shipping & Availability" and none seem in stock at the 14850 store.
|Acer||11.6" Chromebook||Intel Celeron||2GB||4.5/5.0 (570)||199 USD|
|Samsung||11.6" Chromebook 2||Intel Celeron||2GB||4.5/5.0 (134)||249 USD|
|Toshiba||13.3" Chromebook 2||Intel Celeron||4GB||4.6/5.0 (213)||329 USD|
|Asus||13.3" Chromebook||Intel Celeron||2GB||4.5/5.0 (78)||229 USD|
|Asus||13.3" Chromebook||Intel Celeron||2GB||4.4/5.0 (10)||129 USD (sale)|
|Asus||11.6" Chromebook||Intel Celeron||2GB||unrated||239 USD (sale)|
Call the Ithaca Best Buy Store at 607-257-6824: "Any Chromebooks in stock". The answer is yes, even though the website implies no. In stock:
|HP 14"||300 USD||(likely Intel)|
|Samsung 11.6"||250 USD||confirmed Intel|
|Acer 11.6"||199 USD||(likely Intel)|
Double check with Staples [link]. With the same constraints as above, find the following items. Clicking on the items, all come up as "out of Stock".
|Toshiba||Chromebook 2 CB35-B3340||Intel Celeron||4GB||5.0/5.0 (1)||330 USD|
|HP||Pavilion -CNR 14" Chromebook||Intel Celeron||2GB||4.0/5.0 (26)||280 USD|
Of the Best Buy choices, choose the HP model because of the better graphics card. It has an NVIDIA Tegra processor. The Best Buy salesman explains that "this an Intel chip,"
HP Chromebook 14, model 14-x013dx
- 14.0" Diagonal HD LED Display
- NVIDIA Tegra K1 mobile processor
- 16GB eMMC
- 2048MB DDR3 SDRAM (e.g., 2 GB RAM)
- WLAN and Bluetooth
- Google Chrome OS
- Boot screen asks me to select a network. Select our network, DG860A52, from the pulldown list. Enter the network password into the "Join Wi-Fi network" window that pops up. It connects successfully.
- Hit "Continue". Accept the License agreement. Leave checked the box allowing the OS to send usage statistics and crash reports to Google. Click "Accept and continue"
- Next enter Google email and password. Continue.
- Choose a picture to display on the sign-in screen. Hit "OK".
- See a Howdy screen. Take a tour.
- In the lower right hand corner of the screen: hit Restart to update. It reboots in like 10 seconds.
- Open the Chrome browser and try Google Docs.
- Try the "Files" app; apps are accessed in the lower left hand corner of the screen. Observe that that Frits' google documents now also appear to be stored locally.
- Security? If you close the cover when logged in, then the Chromebook comes back to life without asking for your password. In the lower right hand corner of the screen, there is a lock icon which will require the next person touching the keyboard to log in.
- What mode should you leave the computer in when you are done working? If you log out, then you can click "Shut down" in the lower left hand corner of the screen. It takes like 2 seconds to shut down. To boot up, press the power key in the upper right hand corner of the keyboard. It boots in less than approximately 5 seconds. Nice! Shutting down and booting up are fast enough that I think you should do it every session.
I am following the instructions in Ben Schoon's article [link].
- Since I have just bought the Chromebook, I am not going to worry about copying files to Google Drive or external storage.
- The instructions say to hit "ESC + Refresh (F3) + Power Button" to reboot the computer into developer mode. There is no labeled F3 button. The upper-row buttons are: Esc, left arrow, right arrow, clockwise arrow, ... Let me assume that the clockwise-arrow button is F3. Hit "ESC + F3 + Power Button". There is a little flash, then nothing. Hit it again, holding it down less long, and get the scary message "Chrome OS is missing or damaged. Please inert a recovery USB stick or SD card." Don't panic. Tap the power off button in the upper right hand corner of the screen. Hit is again to restart the normally and the normal log-in screen. Whew.
- With the clockwise-arrow button as F3, hit "ESC + F3 + Power Button". Get the screen with the scary message. Hit "Control + D". Get the message "To turn OS verification OFF, press ENTER. You system will reboot and local data will be cleared. To go back, press ESC." Hit the "enter" key. This calls up a new screen which says "OS verification is OFF. Press SPACE to re-enable". Leave the screen alone, and in a few 10's seconds it beeps. This brings up a new screen: "Your system is transitioning to Developer Mode ...". Then another screen "Preparing system for Developer Mode. This may take a while. Do not turn off your computer until it has restarted." There is a progress bar on the top. Start at 20:13. By 20:19, the system has beeped and rebooted.
- Back to the Chrome OS boot screen like at the start of "Unpacking". Pull down network name and enter password again .. continue as the "Unpacking" steps.
- In Chrome, launch the browser and go to https://github.com/dnschneid/crouton. Click on the link following "Chromium OS Universal Chroot Environment" message, the goo.gl link. The browser downloads crouton, and I see a link to it in the lower left hand corner of the browser. Right click to view the crouton file; it's only 4 kb.
- Back in the browser, hit "ctrl + alt + t" to open up a terminal in a new browser tab. This works!
- The last line in the terminal is crosh>. Type shell and press "enter". The terminal now reads chronos@localhost / $.
- Type sudo sh -e ~/Downloads/crouton -r saucy -t kde. This initiates a download and the screen fills with text. Start at 21:09. There are periodic messages indicating the download speed; it is somewhere in between 75 and 500 kB/s. There no progress bar to indicate the download progress, so I just have to be patient. The download finishes at 21:42; total download time, 33 minutes.
- The last line now reads Please specify a name of the primary user: (I enter something). This is followed by Enter new UNIX password (I enter something).
- Some messages, which I will retype here: (1) something about audio; (2) "Future Chrome OS upgrades may break compatibility with the installed version of CRAS. Should this happen, simply update your chroot."; (3) "You can flip though your running chroot desktops and Chromium OS by hitting Ctrl+Alt=Shirt+Back and Ctrl+Alt+Shift+Forward"; and (4) "You can start KDE via the startkde host command: sudo startkde".
- The command for flipping desktops differs from what Ben Schoon writes.
- Now back at the command prompt: chronos@localhost / $ sudo startkde. Somthing happens ... a new screen appears; icons pop up and disappear in the center of the screen; messages pop up and disappear in the lower right hand corner of the new screen. I am now in the KDE environment. Play around: open a terminal (there is gcc but no python); upon up a file browser; open up a webbrowser. This all works. Dragging windows on the KDE desktop is a little sluggish.
Now that I have Linux/KDE installed, let me pause and make sure I am confident about starting up and shutting down.
- Oops: I type "Ctrl+Alt+leftarrow" and this puts me into some kind of Developer Console. Get out of this ... I don't remember how, "Ctrl+Alt+Shift+leftarrow" or "Ctrl+Alt+Shift+rightarrow" perhaps.
- I can switch successfully cycle between KDE and Chrome by hitting "Ctrl+Alt+Shift+rightarrow"; "Ctrl+Alt+Shift+leftarrow" works too.
- Let's shutdown. Within KDE, click "Main" in the upper right hand corner. The second from the bottom choice (in blue) is "Leave". Choose this, then choose "Logout" (the first option). This dumps me back to the Chromium terminal, and I get the prompt back. KDE is closed down and I am back in Chromium. At the $ prompt, type exit. At the crosh> prompt, type exit again. This closes the terminal tab. In Chromium, click in the lower right hand corner and sign out. Shut down. The Chromebook is now off.
- Let's reboot to KDE. First boot into developer mode, I think. With the clockwise-arrow button as F3, hit "ESC + F3 + Power Button". Get the screen with the scary message ("Chrome OS is missing or damaged"). Hit "Control + d". This nothing. Hit "Control + D". This also does nothing.
- Try booting again, this time by simply hitting the power button. Now when I boot, I a screen saying "OS verification is OFF. Press SPACE to reenable." I just wait, there is a loud beep, and I get the Chromium login. Log in. "Ctrl+Alt+t" to get crosh> terminal, type shell. At the $ prompt, type sudo startkde. In less than 10 seconds, I am running KDE. I can switch back, but I have to hit "Enter" to go from the black screen to the terminal.
- To power off, Ben Schoon advises closing KDE, then shutting down from Chromium. I will do this.
- How to boot without waiting for the beep? After powering on, at the semi-scary screen with the message "OS verification is OFF. Press SPACE to re-enable" message, hit "Control D" instead of waiting for the beep.
- The system will power on if I open the case. I immediately get the semi-scary "OS verification is OFF ... " message. I can now either wait 30 seconds or hit "Cntl+d".
- If you an in KDE, you can close the laptop, open the laptop, and you are back in KDE.
In summary, I want to boot into Chromium simply by powering on, then either waiting or hitting "Cntl+D". From Chromium, open up a terminal with "Cntl+Alt+t" and from there boot KDE with shell and sudo startkde. To shut down, log out of KDE, log out of Chromium, then shut down.
- Booted Chromium, launched KDE, back in Chromium. New browser tab and go to https://minecraft.net/download. Scroll down to "Minecraft for Linux / Other" and blick on Minecraft.jar (86 kb) to download. The download is essentially instantaneous.
- Switch back to KDE. Click the KDE button in the bottom left of the screen. Once that has opened, type “kons” into the search bar and click Konsole. This opens a terminal application.
- If I type pwd to check what directory I am in, I see home/brickster36. So this is the directory where I will be installing Minecraft I think. Follow the instructions for creating the two directories and moving the Minecraft.jar file.
- Now that I have moved minecraft, install java. So this by typing in the terminal sudo apt-get install openjdk-6-jre. This asks me for the password for brickster36. I enter it. Tells me that I need 45 MB + 69 MB = 114 MB of disk space. Type``Y``, indicating that I want to continue. Start 23:11; finished by 23:13. Why so fast? Type java -version and I am told that I am running java version 1.6.0_31. So it seems that java is installed now.
- Following instructions, when I right click the kickoff button (bottom left corner) I do not see an “edit applications” choice. In the terminal type sudo apt-get install kmenuedit. It does not ask me for a password; it installs in a few seconds. Exit the terminal, Leave, Logout.
- Reboot KDE from the Chromium terminal using sudo startkde.
- Now when I right click the kickoff button (bottom left corner), I do get an “edit applications” choice. Choosing edit applications calls up a window. In the left menu, select the Games folder, then click New Item (the second from the left icon). For the item name, type "Minecraft" into the line.
- In the left-hand panel, in the Games folder, the file Minecraft is selected. In the right-hand panel, and I see empty fields I can enter information. In the General tab, in the Command field, enter java -jar Mincraft.jar. The "Enable launch feedback" is checked. In the Advanced tab, in the Work path, enter ~/games/minecraft/. Check the "Run in terminal" box. Click the Save icon (the left-most icon), wait a second, then click the upper-right-hand "x" to close the editor window.
- Follow the video's directions to set up the desktop icon to boot minecraft. Click on the kickoff button (bottom left corner), then Applications (second from left at bottom), double click Games up top. See Minecraft. Right click and choose "Add to desktop".
- Clicking the Minecraft icon on the desktop launches two terminals. They echo each other for a while. The left, black, terminal seems to hang ... but wait. After less than about 20 seconds something more happens, and the center, white, terminal is asking me for an email address and password to login to Minecraft.
If I had the right username and password, I could try minecraft out.
Epic fail! Minecraft fails with the error "Can't load IA 32-bit .so on a ARM-bit platform". Sooo ... while the HP Chromebook 14's chip is made by Intel, the chip apparently has an ARM-bit architecture, not an x86/Intel architecture.
The lesson, learned the hard way here, is to (1) never trust the sales person and (2) do more homework. The sales person meant well -- he recommended the HP Chromebook because it had a built in graphics chip, which for gaming normally would be the correct recommendation. While HP's chip is made by Intel (for Invidia), it apparently uses the ARM architecture, not the "Intel" x86 architecture.
- The next person I set this up for will need a Google email address.