ZealOS/vboxmnt.sh

14 lines
284 B
Bash
Raw Normal View History

#!/bin/bash
sudo modprobe nbd
sudo qemu-nbd -c dev/nbd0 ~/VirtualBox\ VMs/ZenithOS/ZenithOS.qcow
sudo mount /dev/nbd0p1 /mnt
2020-02-15 20:31:41 +00:00
rm -rf src/*
sudo cp -r /mnt/* src/
sudo umount /mnt
sudo qemu-nbd -d /dev/nbd0
2020-02-15 20:31:41 +00:00
sudo chown -R v:v src/*
2020-02-17 02:36:37 +00:00
mv src/Tmp/MyDistro.ISO.C src/Tmp/Zenith-Latest.iso
2020-02-15 20:36:54 +00:00