Difference between revisions of "Installing/Lulu"

From GalliumOS Wiki
Jump to: navigation, search
(Custom BIOS firmare)
(Installing GalliumOS on the Dell Chromebook 13 7310 (Lulu))
Line 11: Line 11:
 
If you have any data stored locally on the chromebook that you would like to keep, backup the data to either a USB drive or to Google Drive.  '''Enabling developer mode will wipe your device.'''
 
If you have any data stored locally on the chromebook that you would like to keep, backup the data to either a USB drive or to Google Drive.  '''Enabling developer mode will wipe your device.'''
  
=== Enable Developer Mode and Boot Flags ===
+
=== Enable Developer Mode and Install Firmware Update ===
# Boot into recovery by press and hold the Esc + Refresh keys, then press the power button.
+
# Boot into recovery by press and hold the [ESC] + [Refresh] keys, then press the power button.
# At the Recovery screen press Ctrl-D. It will ask you to confirm by pressing the RECOVERY BUTTON again. It will now enable Developer Mode. It will take about 10-15 minutes to complete.  During this time, your chromebook will be wiped of all user data.
+
# At the Recovery screen press [CTRL+D] to enable Developer Mode. It will ask you to confirm (usually by pressing [enter]). After confirmation, it will transition the system to Developer Mode, wiping all user data from the device; this will take about 8-10 minutes to complete.
# You’ll see a white screen after rebooting. Press Ctrl-D and you’ll boot into ChromeOS with Developer Mode enabled.
+
# Afterwards, you’ll see the white Developer Mode boot screen. Press [CTRL+D] to boot into ChromeOS Developer Mode (or it will boot automatically after 30s and beeping twice).
# Connect to the Internet and accept the terms and agreements. You don’t have to login to ChromeOS using your account (you can if you want to, but I didn’t). Login as Guest and open up a Crosh session by pressing Ctrl-Alt-T. Type <code>shell</code> and hit enter to open bash. The prompt should look like this: <code>chronos@localhost / $</code>
+
# Connect to the Internet and accept the terms and agreements. You don’t have to login to ChromeOS using your account (you can if you want to, but I didn’t). Login as Guest and open up a Crosh session by pressing [CTRL+ALT+T]. Type <code>shell</code> and hit enter to open bash. The prompt should look like this: <code>chronos@localhost / $</code><br>
# Type <code>sudo crossystem dev_boot_usb=1 dev_boot_legacy=1</code> and hit enter.
 
 
 
=== Run John Lewis's script ===
 
 
You’re now ready to flash your Chromebook.
 
You’re now ready to flash your Chromebook.
# In the same shell screen where you enabled the boot flags, enter the following command:<code><nowiki>cd; rm -f flash_chromebook_rom.sh; curl -L -O https://johnlewis.ie/flash_chromebook_rom.sh; sudo -E bash flash_chromebook_rom.sh</nowiki></code>
+
# In the shell terminal, enter the following command:<code><nowiki>cd; curl -L -O https://mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh</nowiki></code>
## Visit this [https://johnlewis.ie/custom-chromebook-firmware/rom-download/ page]  
+
## Select the option to Install/Update the RW_LEGACY firmware.  This will also set the necessary Developer Mode boot flags.
 +
## Visit [https://mrchromebox.tech this page] for a more detailed explanation and options for using the Firmware Utility Script
 
# Go to the next step when the flashing is done.
 
# Go to the next step when the flashing is done.
  
 
=== Install/Upgrade the SSD Drive ===
 
=== Install/Upgrade the SSD Drive ===
If you are contemplating upgrading your SSD before installing GalliumOS, here is how you do it:
+
If you are contemplating upgrading your SSD before installing GalliumOS, this is the time to do so, and here is how you do it:
 
* [[Hardware/Lulu/SSD|Upgrade SSD on Dell Chromebook 13 7310 (Lulu)]]
 
* [[Hardware/Lulu/SSD|Upgrade SSD on Dell Chromebook 13 7310 (Lulu)]]
 +
* Note: this is a good time to remove the firmware write-protect screw, so you can set the Chromebook to automatically boot GalliumOS.  It's also necessary if you want to use a different firmware option than RW_LEGACY.
  
 
=== Boot from USB ===
 
=== Boot from USB ===
 
# Reboot your Chromebook
 
# Reboot your Chromebook
# Press Ctrl-L at the scary white screen.
+
# Press [CTRL+L] at the Developer Mode boot screen (scary white screen) to boot in Legacy Boot Mode, via SeaBIOS.
# Press the ESC key when you see the prompt to do so. You’ll now be in the boot menu.(If you don’t press ESC in time just reboot and do it again.)
+
# Press the [ESC] key when you see the prompt to do so. You’ll now be in the boot menu.(If you don’t press ESC in time just reboot and do it again.)
 
# At the boot menu you’ll see your boot options. Select to boot from USB.
 
# At the boot menu you’ll see your boot options. Select to boot from USB.
 
# The GalliumOS boot options are: "GalliumOS Live Image and Installation" and "GalliumOS CLI". You want option number one for testing and installing. The second option (CLI) is used for a non-graphical rescue/administration boot.
 
# The GalliumOS boot options are: "GalliumOS Live Image and Installation" and "GalliumOS CLI". You want option number one for testing and installing. The second option (CLI) is used for a non-graphical rescue/administration boot.
Line 37: Line 36:
  
 
=== Custom BIOS firmare ===
 
=== Custom BIOS firmare ===
If you want to get rid of the scary white screen which comes up at boot and having to hit Control+L every time, See [[Firmware]].
+
If you want to get rid of the scary white screen which comes up at boot and having to hit [CTRL+L] every time, you can do so by setting the firmware boot flags (GBB Flags) using the Firmware Utility script.  See [[Firmware]].
  
 
* '''<u>Note:</u>''' Some types of custom firmware ("full" or BOOT_STUB variants) will remove the ability to boot into ChromeOS.
 
* '''<u>Note:</u>''' Some types of custom firmware ("full" or BOOT_STUB variants) will remove the ability to boot into ChromeOS.

Revision as of 20:47, 3 August 2016

Installing GalliumOS on the Dell Chromebook 13 7310 (Lulu)

This tutorial is written in sections. It's easier to follow and manage this way. (This tutorial does NOT explain how to dual boot ChromeOS and GalliumOS.)

Download and Write GalliumOS to USB

  1. Download the appropriate iso from here. For this tutorial, you’ll need the Chromebook Broadwell ISO.
  2. Download Win32DiskImager from SourceForge and install it. Linux/Mac users will use a terminal.
  3. Insert an empty USB drive (all data will be erased during the write process!). Run Win32DiskImager. Make sure you have the correct USB drive selected under “Device.” Click on the blue folder icon. On the bottom right you’ll see, Disk Images (*.img *.IMG). Click on it and change it to *.* Now you’ll be able to locate the GalliumOS iso. Locate it and double-click it. Making sure that you have the correct USB selected, click on “Write.” When the USB is ready, eject it and put it aside for when you’ll need it later in this tutorial.
  4. Linux/Mac users need to follow the instructions found here.

Backup data

If you have any data stored locally on the chromebook that you would like to keep, backup the data to either a USB drive or to Google Drive. Enabling developer mode will wipe your device.

Enable Developer Mode and Install Firmware Update

  1. Boot into recovery by press and hold the [ESC] + [Refresh] keys, then press the power button.
  2. At the Recovery screen press [CTRL+D] to enable Developer Mode. It will ask you to confirm (usually by pressing [enter]). After confirmation, it will transition the system to Developer Mode, wiping all user data from the device; this will take about 8-10 minutes to complete.
  3. Afterwards, you’ll see the white Developer Mode boot screen. Press [CTRL+D] to boot into ChromeOS Developer Mode (or it will boot automatically after 30s and beeping twice).
  4. Connect to the Internet and accept the terms and agreements. You don’t have to login to ChromeOS using your account (you can if you want to, but I didn’t). Login as Guest and open up a Crosh session by pressing [CTRL+ALT+T]. Type shell and hit enter to open bash. The prompt should look like this: chronos@localhost / $

You’re now ready to flash your Chromebook.

  1. In the shell terminal, enter the following command:cd; curl -L -O https://mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh
    1. Select the option to Install/Update the RW_LEGACY firmware. This will also set the necessary Developer Mode boot flags.
    2. Visit this page for a more detailed explanation and options for using the Firmware Utility Script
  2. Go to the next step when the flashing is done.

Install/Upgrade the SSD Drive

If you are contemplating upgrading your SSD before installing GalliumOS, this is the time to do so, and here is how you do it:

  • Upgrade SSD on Dell Chromebook 13 7310 (Lulu)
  • Note: this is a good time to remove the firmware write-protect screw, so you can set the Chromebook to automatically boot GalliumOS. It's also necessary if you want to use a different firmware option than RW_LEGACY.

Boot from USB

  1. Reboot your Chromebook
  2. Press [CTRL+L] at the Developer Mode boot screen (scary white screen) to boot in Legacy Boot Mode, via SeaBIOS.
  3. Press the [ESC] key when you see the prompt to do so. You’ll now be in the boot menu.(If you don’t press ESC in time just reboot and do it again.)
  4. At the boot menu you’ll see your boot options. Select to boot from USB.
  5. The GalliumOS boot options are: "GalliumOS Live Image and Installation" and "GalliumOS CLI". You want option number one for testing and installing. The second option (CLI) is used for a non-graphical rescue/administration boot.
  6. Test GalliumOS. Explore until you’re sure everything works fine. If you decide to install GalliumOS (and why wouldn’t you?), just launch "Install GalliumOS" from the Desktop shortcut. There’ll be a few prompts during the installation process.

Custom BIOS firmare

If you want to get rid of the scary white screen which comes up at boot and having to hit [CTRL+L] every time, you can do so by setting the firmware boot flags (GBB Flags) using the Firmware Utility script. See Firmware.

  • Note: Some types of custom firmware ("full" or BOOT_STUB variants) will remove the ability to boot into ChromeOS.

Success

You now have GalliumOS installed. How cool is that?

If you run into problems or have any questions, the awesome people at #GalliumOS are happy to help in any way they can. You can also post on /r/galliumos.

Sources

https://johnlewis.ie/custom-chromebook-firmware/rom-download/

https://galliumos.org/wiki/index.php?title=Installing/Preparing

https://wiki.galliumos.org/Support/Broadwell