Skip to content

Releases: oasislinux/oasis

20170211

12 Feb 19:42
Compare
Choose a tag to compare
20170211 Pre-release
Pre-release

To launch qemu

qemu-system-x86_64 \
  -enable-kvm -cpu host -m 2048 \
  -device virtio-balloon \
  -device virtio-keyboard \
  -device virtio-tablet \
  -device virtio-net,netdev=net \
  -device virtio-scsi \
  -device virtio-serial \
  -device virtio-vga \
  -chardev stdio,id=cons \
  -mon chardev=cons \
  -drive if=none,id=hd,file=oasis-20170211.qcow2 \
  -device scsi-hd,drive=hd \
  -netdev user,id=net

To setup chroot

mkdir oasis
cd oasis
xzcat oasis-20170211.tar.xz | pax -r
./libexec/oasis/applyperms -d .
./libexec/oasis/applyperms -d etc
mount -o rbind /dev dev
mount -o bind /sys sys
mount -t proc none proc
mount -o bind /tmp tmp
cp /etc/resolv.conf etc
env -i chroot . /bin/ksh