Skip to content

Instantly share code, notes, and snippets.

View sfxworks's full-sized avatar
🎯
Focusing

Samuel Walker sfxworks

🎯
Focusing
View GitHub Profile
@sfxworks
sfxworks / install package to qcow image.sh
Last active June 5, 2021 21:52 — forked from yuuichi-fujioka/install package to qcow image.sh
install apt-get package to qcow2 image
sudo apt-get install qemu-utils
sudo modprobe nbd
sudo qemu-nbd --connect=/dev/nbd0 /full/path/to/qcow2/image/file
sudo mkdir /mnt/debian
sudo mount /dev/nbd0p1 /mnt/debian