Skip to content

Instantly share code, notes, and snippets.

View Eeems's full-sized avatar
🍞

Nathaniel van Diepen Eeems

🍞
View GitHub Profile
@Eeems
Eeems / README.md
Last active May 10, 2023 01:14
Get SSH access as part of reMarkable 1 recovery
  1. Use remarkable-uuuflash to boot into a recovery console
  2. Setup chroot:
    mount /dev/mmcblk1p2 /mnt/ # This may need to be mmcblk1p3 if you are using the other root partition
    mount /dev/mmcblk1p7 /mnt/home
    mount /dev/mmcblk1p1 /mnt/var/lib/uboot
    mount -t proc /proc /mnt/proc
    mount --rbind /sys /mnt/sys
    mount --rbind /dev /mnt/dev

mount --rbind /run /mnt/run

@Eeems
Eeems / REAME.md
Last active September 15, 2020 22:42
Plot Size tool

Simple tool to plot out changes in used space on a mount point. Useful for watching the changes in space usage in /tmp

# Install gnuplot and inotify-tools
plot_size /tmp

Screenshot

@Eeems
Eeems / remarkable-chroot.sh
Last active April 14, 2021 08:15
chroot on a reMarkable into /opt
opkg install busybox bash
ln -fs /bin/bash /opt/bin/sh
mkdir -p /mnt/ramdisk
mount -t tmpfs -o size=64m tmpfs /mnt/ramdisk
pushd /mnt/ramdisk
mkdir dev proc sys run opt
mount -t proc /proc proc/
mount -o bind /sys sys/
mount -o bind /dev dev/
mount -o bind /run run/
@Eeems
Eeems / Readme.md
Last active February 19, 2020 16:27
Force journalctl vacuum if less than 5M left on remarkable

Install instructions:

  • copy rotate.timer and rotate.service to /etc/systemd/system
  • copy rotate.sh to /opt/bin
  • chmod +x /opt/bin/rotate.sh
  • systemctl daemon-reload
  • systemctl enable rotate.timer
  • systemctl start rotate.timer

Keybase proof

I hereby claim:

  • I am eeems on github.