Difference between revisions of "Installing/Lulu"

From GalliumOS Wiki
Jump to: navigation, search
(Installing GalliumOS on the Dell Chromebook 13 7310 (Lulu))
 
(6 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
=== Download and Write GalliumOS to USB ===
 
=== Download and Write GalliumOS to USB ===
 
# Download the appropriate iso from [https://galliumos.org/download.html here]. For this tutorial, you’ll need the Chromebook Broadwell ISO.
 
# Download the appropriate iso from [https://galliumos.org/download.html here]. For this tutorial, you’ll need the Chromebook Broadwell ISO.
# Download Win32DiskImager from [[sourceforge:projects/win32diskimager/|SourceForge]] and install it. Linux/Mac users will use a terminal.
+
# Follow the instructions found [https://galliumos.org/wiki/index.php?title=Installing/Creating_Bootable_USB here] to create the install media.
# 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.
 
# Linux/Mac users need to follow the instructions found [https://galliumos.org/wiki/index.php?title=Installing/Creating_Bootable_USB here].
 
  
 
=== Backup data ===
 
=== 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.'''
+
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 5 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 (note: this is completely safe / enabled by design).  This will also set the necessary Developer Mode boot flags to enable Legacy Boot mode.<br>
# Go to the next step when the flashing is done.
+
#*When prompted to default to booting from USB, select 'N.'  This will prevent boot from hanging if you have a non-bootable USB/SD device connected/inserted.
 +
#*You can visit [https://mrchromebox.tech/#fwscript MrChromebox's site] for a more detailed explanation and options for using the Firmware Utility Script
 +
# Quit the script (q) when the firmware update is complete.
  
 
=== 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.
# You’ll now get the option to live boot or install GalliumOS. You want to live 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.
# Test GalliumOS. Explore until you’re sure everything works fine. If you decide to install GalliumOS (and why wouldn’t you?), don’t install it while you’re live booted. For some reason that didn’t work for me, and I had to do it over again. Instead, reboot and follow the above steps until you get to the live boot or install GalliumOS menu. Choose Install GalliumOS. There’ll be a few prompts during the installation process.
+
# 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.
 +
 
 +
=== Firmware Options ===
 +
If you want to get rid of (or at least minimize) the scary white screen which comes up at boot, and skip having to hit [CTRL+L] every time, you can do so by setting the firmware boot flags (GBB Flags) using the Firmware Utility script. Alternately, you can also install custom Full ROM firmware which boots directly into Legacy Boot mode. See [[Firmware]].
 +
 
 +
* '''Note:''' Some types of custom firmware ("Full ROM" or BOOT_STUB variants) will remove the ability to boot into ChromeOS, so they aren't applicable for dual boot setups.
  
 
=== Success ===
 
=== Success ===
Line 42: Line 45:
  
 
=== Sources ===
 
=== Sources ===
https://johnlewis.ie/custom-chromebook-firmware/rom-download/
+
https://mrchromebox.tech
  
 
https://galliumos.org/wiki/index.php?title=Installing/Preparing
 
https://galliumos.org/wiki/index.php?title=Installing/Preparing
 +
 +
https://wiki.galliumos.org/Support/Broadwell

Latest revision as of 10:20, 2 November 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. Follow the instructions found here to create the install media.

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 5 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
  2. Select the option to Install/Update the RW_LEGACY firmware (note: this is completely safe / enabled by design). This will also set the necessary Developer Mode boot flags to enable Legacy Boot mode.
    • When prompted to default to booting from USB, select 'N.' This will prevent boot from hanging if you have a non-bootable USB/SD device connected/inserted.
    • You can visit MrChromebox's site for a more detailed explanation and options for using the Firmware Utility Script
  3. Quit the script (q) when the firmware update is complete.

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.

Firmware Options

If you want to get rid of (or at least minimize) the scary white screen which comes up at boot, and skip having to hit [CTRL+L] every time, you can do so by setting the firmware boot flags (GBB Flags) using the Firmware Utility script. Alternately, you can also install custom Full ROM firmware which boots directly into Legacy Boot mode. See Firmware.

  • Note: Some types of custom firmware ("Full ROM" or BOOT_STUB variants) will remove the ability to boot into ChromeOS, so they aren't applicable for dual boot setups.

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://mrchromebox.tech

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

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