Friday, April 12, 2019

American Way Of Computing

 As of today, most Chromebooks can run the Intel EDKII program that loads Linux operating systems. The ed2 program is developed by MrChromebox.com. And that website has the procedure and command line to install the edk2 program. The edk2 program is called an "alternative boot loader" in the Chromebook ecosystem.

After you have enabled developer mode, installed edk2, and rebooted the Chromebook, you will see the first program of the ChromeOS suite on the screen, similar to the following.


After you select to run the edk2 program, it searches for a non-ChromeOS disk partition with a rabbit splash picture. And until you actually install a non-ChromeOS Linux distribution, or insert a live Linux  USB disk, which is also a Linux installation program, the edk2 program will fail and force a reboot.

If and when you are stuck with a "bricked" Chromebook after installing the ed2 program, simply power off and press ESC-Refresh(F2)-Power to rescue it. ChromeOS will erase all user data and then repopulate data of your Google account into ChromeOS.

Then, all you need is running the CRAP partition resizing script in [Ctrl-Alt->F2] terminal with root account (no password after booting ChromeOS after enabling developer mode) to make room for a Linux distribution. To enter [Ctrl-Alt->F2] terminal, press simultaneously the Ctrl, Alt, and the refresh (F2) keys. The script is at https://tinyurl.com/crap-cb-01 . The script is developed by Chrultrabook.com . To run the script without saving it, do this,

# bash <(curl -L https://tinyurl.com/crap-cb-01)


To prepare the live Linux  USB disk, you need the Crostini Linux container (virtual machine) Linux development environment set up in your Chromebook. This is achieved by searching for "developer" in the settings (gear icon) window, as so,




 

Xubuntu is the most recognized, smallest useful operating system. The Xubuntu disk image was downloaded from xubuntu.org and "burned" onto the disk via the Crostini ChromeOS container shell terminal. ChromeOS allows you to give full control of the /dev/sda device to the Crostini container when you open the USB settings (gear icon again) window and search for "USB." You need to eject the flash USB disk in ChromeOS for Crostini to take control (and "burn" the disk) of it.



The disk "burning" program in the Crostini terminal is called dd, developed by the GNU.org. The command line to "burn" the disk image was so,

# dd if=/mnt/chromeos/removable/XXXY-ZZZZ/xubuntu-24.04.3-minimal-amd64.iso of=/dev/sda

. It took about 25 minutes to burn the 2.6 GB image at a speed of 1.7 MB/s.

In the following example, I split ChromeOS's user home partition in half, giving Xubuntu 24.04.3 60 GB of space. 


The picture here shows that only 1 flash USB drive is needed to host the Xubuntu live disk image throughout the entire project of enabling dual booting. 

The installation process was completed using a coffee shop's Wi-Fi connection to download 777 MB hot downloaded components for advanced software, such as GPU software. The Xubuntu installation live operating system was loaded by the edk2 program. The regular Xubuntu installation program has a desktop shortcut to invoke. The regular Xubuntu installation took about 40 minutes, of which 20 minutes were spent on downloading advanced software components.


American Way Of Computing

 As of today, most Chromebooks can run the Intel EDKII program that loads Linux operating systems. The ed2 program is developed by MrChromeb...