Giter VIP home page Giter VIP logo

crap's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.