Introduction
According to the /etc/X11/xorg.conf in the Chrome OS, the USB devices need to be manually mounted (AutoAddDevices=’false’). I inserted a sample USB device and run lsusb command to see if detected. It detected successfully without any problem. I then copied the image file with 5GB of size onto the USB drive with a little bit of issue. Using only steps from one small section on the official Chromium OS page, I was able to successfully reinstall Ubuntu on the Chrome OS in about 45 minutes (and downgraded to 10.04 since WebDAV support is broken in 10.10). Here are the detailed steps:
Steps
- You need an empty USB thumb drive. The file we are going to copy to the USB drive is more than a little 5GB. The file system for the most flash drives is vfat (FAT file system). It has a single file size limit of about 3GB which our file would fail to copy to the disk. To solve this issue, you need to reformat your flash drive to the file system format other than FAT using the Disk Utility from System -> Administration menu.
- Copy rootfs.bin you converted from VDI image to the USB drive.
- After it’s finished, insert the drive into the USB slot of CR-48.
- Boot into Chrome OS, press Ctrl + Alt + => to switch to develop mode, and login as chronos.
- Type sudo su to login to root and type the following line to get the information on where the USB drive is located:[bash]dmesg | grep sd[/bash]
- My USB drive is located at /dev/sdb1, so I type the following to the command line (replace sdb1 with yours):
[bash]
mkdir /tmp/usb
mount /dev/sdb1 /tmp/usb
[/bash] - After it’s mounted, copy rootfs.bin to sda7 with dd command:[bash]
cd /tmp/usb
cat rootfs.bin | dd of=/dev/sda7
[/bash]This should take about 20 minutes.
- Mount sda7 after that and copy the necessary files to the disk:[bash]
mkdir /tmp/urfs
mount /dev/sda7 /tmp/urfs
cd /tmp/urfs
cp /usr/bin/cgpt usr/bin/cgpt
chmod a+rx usr/bin/cgpt
cd /lib/modules
cp -ar * /tmp/urfs/lib/modules/
[/bash] - And finally, don’t forget to unmount the disk:[bash]
umount /tmp/urfs
umount /tmp/usb
[/bash] - There you have it, a brand new Ubuntu installation. You can use the following command to boot into Ubuntu or use the aliases from my last post:[bash]
cgpt add -i 6 -P 5 -S 1 /dev/sda
[/bash]
Have issues?
Do you have any issues with any of the steps above? Please feel free to discuss them below.
