Skip to content

chrultrabook/crap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

CRAP

Note: This project was originally forked from reynhout/chrx. The project has been completely rewritten since, and is now only a partitioning tool. It does not include any feature to install an alternate operating system, you must do that yourself.

This tool works on all Chromebook models. See documentation.

Features

Resize stateful partition

Resize the user-data partition on the disk to make room for an alternate OS. This script supports non-destructive resizing of the filesystem, so you won't have to worry about your data being wiped!

Reorder 1-sector partitions

Fix a bug that causes libparted to error and be unable to detect existing partitions. If you're installing an operating system that uses an affected version of libparted, you will need to do this or the installer will fail to recognize existing partitions, which effectively wipes the disk when you install it.
See this bug for more info.

Usage

Running this script does not require you to have valid RW_LEGACY firmware installed, but this is currently the recommended method for dual booting another operating system alongside ChromeOS on x86_64-based hardware. See MrChromebox's Firmware Utility Script for installing RW_LEGACY firmware.

Running the script

  1. Ensure you're in developer mode and connected to WiFi.
  2. Open VT2 using [ Ctrl ] [ Alt ] [ → ] (F2), login as root
    • Note: the script cannot be run with crosh on any version of ChromeOS.
    • Note 2: you can also run the script while booted into your alternate OS!
  3. Run the script!
    • Run bash <(curl https://raw.githubusercontent.com/chrultrabook/crap/master/crap)
    • URL shortened version: bash <(curl -L https://tinyurl.com/crap-cb-01)
  4. The script will walk you through the steps to make room for an alternate OS.

Screenshots

CRAP - main menu

Screenshot - CRAP - main menu

CRAP - resizing stateful partition

Screenshot - CRAP - resizing stateful partition

Notes

  • We do NOT EVER use the KERN-C or ROOT-C partitions NO

Acknowledgements

About

ChromeOS Automated Partitioning

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages

  • Shell 100.0%