Skip to content

Instantly share code, notes, and snippets.

View John2143's full-sized avatar
😳

John Schmidt John2143

😳
View GitHub Profile
@John2143
John2143 / mount.txt
Created October 7, 2021 22:59
Mount a wsl2 debian image in arch linux
[18:53 PM] john@arch ~[1]
$ qemu-img create -F vhdx -f qcow2 -o backing_file=/mnt/c/Users/John/debian/ext4.vhdx ./overlay1.qcow2
Formatting './overlay1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=274877906944 backing_file=/mnt/c/Users/John/debian/ext4.vhdx backing_fmt=vhdx lazy_refcounts=off refcount_bits=16
[18:54 PM] john@arch ~
$ sudo modprobe nbd max_part=8
[18:55 PM] john@arch ~[1]
$ sudo qemu-nbd --connect=/dev/nbd0 ./overlay1.qcow2
-- This program allows for multiple holo projectors to use the same computer and wire network.
local texts = {
["36ad5972-6d20-4fb3-bf32-b64492248485"] = "Launchpad ",
["a875bda6-cee8-4c4e-8b4a-1aad84eb314f"] = "Automation ",
}
local component = require("component")
local keyboard = require("keyboard")