Skip to content

Instantly share code, notes, and snippets.

@beer-psi
Last active April 1, 2022 06:39
Show Gist options
  • Save beer-psi/a3547039e7a0904eb79f02a6778b8769 to your computer and use it in GitHub Desktop.
Save beer-psi/a3547039e7a0904eb79f02a6778b8769 to your computer and use it in GitHub Desktop.
How to use checkra1n without a USB (last resort, try to get one please)

DISCLAIMER: I am not responsible if you fuck up your bootloader, please consider this as a last resort/experiment. You should learn the basic ins and outs of your BIOS before proceeding.

This guide only works on UEFI computers.

Before you start

Tools you'll need

Steps

Installing rEFInd

Follow this guide,

Make space for checkn1x ISO

Open Disk Management as administrator (Windows key -> type 'disk management', right click and Run as Administrator)

Right click a volume and select Shrink Volume image

Enter the amount you want to shrink (for checkn1x we only need 1GB max) image

Right-click the newly unallocated space and select 'New Simple Volume'. Follow the on-screen instructions, NTFS/FAT32 is fine.

Make note of the drive letter Windows assigns.

Writing checkn1x ISO to our new partition

Extract dd-0.6beta3.zip into its own folder, then copy the checkn1x ISO into it.

Open a command prompt as administrator, then navigate to the folder with cd (Tip: click on the path bar in Explorer to get an easily copiable path to current folder.)

Run the folllowing command: (DOUBLE CHECK CAREFULLY, ONE WRONG KEYSTROKE AND YOUR DATA/WINDOWS COULD BE GONE!)

dd.exe if=<checkn1x-iso-file> of=\\.\<driveletter>: bs=1M --progress

For example, if your iso file is named checkn1x-1.1.7-extradummythicc-x86_64.iso and your drive letter is G, type the following:

dd.exe if=checkn1x-1.1.7-extradummythicc-x86_64.iso of=\\.\g: bs=1M --progress

Wait a second for command to finish, then reboot. You should be greeted with the rEFInd boot menu, use left/right arrow keys to boot to checkn1x (usually at the end of list)

Extras: Revert to Windows Boot Manager once you're done

Run in Administrator command prompt.

mountvol R: /S
R:
bcdedit /set "{bootmgr}" path \EFI\Microsoft\Boot\bootmgfw.efi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment