Skip to content

Instantly share code, notes, and snippets.

View changhoon-sung's full-sized avatar
👩‍💻
RUN!

Changhoon Sung changhoon-sung

👩‍💻
RUN!
View GitHub Profile
@changhoon-sung
changhoon-sung / #debootstrap_parallel_download.md
Created November 27, 2025 11:48
[PATCH] parallel download patch for debootstrap using aria2c

debootstrap Parallel Download Patch

Adds parallel package downloading to debootstrap using aria2c.

Tested On

Distro debootstrap version
Ubuntu Focal (20.04) 1.0.118ubuntu1.11
Ubuntu Noble (24.04) 1.0.134ubuntu1
@changhoon-sung
changhoon-sung / #howto-build-linux-6.12-for-nvidia-jetson-agx-orin.md
Last active August 13, 2025 03:05
[monkey patch] How to Build Linux 6.12 on NVMe SSD for Nvidia Jetson AGX Orin

How to Build Linux 6.12 for Nvidia Jetson AGX Orin

What is this?

  • This is a guide to build a Linux 6.12 for Nvidia Jetson AGX Orin Developer Kit 32GB with Jetpack 6.2 (r36.4.3) and flash it on external storage.
  • Currently, Jetpack 6.2 does not support Linux 6.12, and the patch below still contains a lot of bugs. Use this document for experiments only.
  • Since display output is not supported, use the debugging serial port until SSH connection is established. This requires two cable connections between the host and the target device: one for data connection and one for debugging serial connection. For details on using the serial port, refer to here.

Working

  • Booting
  • Serial Port (USB Micro-B)
@changhoon-sung
changhoon-sung / kernel_uninstaller.sh
Created November 3, 2024 05:29
Script to easily and safely remove a specific version of Linux kernel files in /boot and its modules in /lib/modules
#!/bin/bash
usage() {
echo "Usage: $0 [--apply]"
echo "Default is dry-run mode. Use --apply to actually delete files and directories."
exit 1
}
if [ "$EUID" -ne 0 ]; then
echo "You must run this script as root."
@changhoon-sung
changhoon-sung / kernel_symlink_changer.sh
Last active January 25, 2025 05:26
Script to easily reset symbolic links for vmlinuz and initrd in the /boot directory on Linux
@changhoon-sung
changhoon-sung / run-qemu.sh
Created February 24, 2024 17:43
Run a QEMU VM with configuration
# Start a QEMU VM with configuration
# THIS IS A TEMPLATE FILE AND SHOULD BE MODIFIED TO SUIT YOUR NEEDS
# DO NOT RUN THIS FILE AS-IS
sudo qemu-system-x86_64 \
-enable-kvm \
-smp {number of cores} \
-m 4G \
# HDD block device
@changhoon-sung
changhoon-sung / qemu-create-rootfs.sh
Last active January 30, 2025 10:56
Create jammy rootfs image for QEMU in command-line
#!/bin/sh
# check file exists
if [ -f "rootfs.qcow2" ]; then
echo -n "Overwrite existing rootfs.qcow2? [y/N] > "
read ans
if [ "$ans" != "y" ]; then
exit 0
fi
fi