ZealOS/vboxmnt.sh
xmm15 70a677b281 vboxmnt.sh
Added Cls, new tasks' default name is "Terminal"
2020-02-15 14:24:48 -06:00

8 lines
248 B
Bash
Executable file

#!/bin/bash
sudo modprobe nbd
sudo qemu-nbd -c dev/nbd0 ~/VirtualBox\ VMs/ZenithOS/ZenithOS.qcow
sudo mount /dev/nbd0p1 /mnt
sudo cp -r /mnt/* ~/Projects/ZenithOS/
sudo umount /mnt
sudo qemu-nbd -d /dev/nbd0
sudo chown -R v:v ~/Projects/ZenithOS/*