KVM commandline (on host):
screen -S qemu06 /usr/local/bin/qemu-system-x86_64 -enable-kvm -cpu host -smp 4,cores=4,maxcpus=8 -m 2048 -net nic,model=e1000 -net tap,ifname=tap5,script=no -hda /home/random/qemu/x86/n7cde/cde.vdi -nographic
====
build command (inside VM):
time ./build.sh -x -r -j4 release iso-image
=====
make iso-image started at: Tue Jan 19 18:56:17 AKST 2016
make iso-image finished at: Tue Jan 19 18:57:22 AKST 2016
===> Successful make iso-image
===> build.sh ended: Tue Jan 19 18:57:22 AKST 2016
===> Summary of results:
build.sh command: ./build.sh -x -r -j4 release iso-image
build.sh started: Tue Jan 19 17:11:58 AKST 2016
NetBSD version: 7.0.0_PATCH
MACHINE: amd64
MACHINE_ARCH: x86_64
Build platform: NetBSD 7.0 amd64
HOST_SH: /bin/sh
No $TOOLDIR/bin/nbmake, needs building.
Bootstrapping nbmake
MAKECONF file: /etc/mk.conf
TOOLDIR path: /usr/src/obj/tooldir.NetBSD-7.0-amd64
DESTDIR path: /usr/src/obj/destdir.amd64
RELEASEDIR path: /usr/src/obj/releasedir
Removing /usr/src/obj/tooldir.NetBSD-7.0-amd64
Removing /usr/src/obj/destdir.amd64
Created /usr/src/obj/tooldir.NetBSD-7.0-amd64/bin/nbmake
Updated makewrapper: /usr/src/obj/tooldir.NetBSD-7.0-amd64/bin/nbmake-amd64
Successful make release
Successful make iso-image
build.sh ended: Tue Jan 19 18:57:22 AKST 2016
===> .
6324.10 real 12894.15 user 4787.03 sys
Showing posts with label kvm. Show all posts
Showing posts with label kvm. Show all posts
Tuesday, January 19, 2016
Monday, November 2, 2015
Notes RE: Smartos
I'm trying to figure out how to run SmartOS on kimsufi; ideally redirecting ports towards KVM instances. Don't have much now, but here's some links I'm getting:
SmartOS wiki:
https://wiki.smartos.org/display/DOC/Home
IRC log discussing setting up LX on Smartos:
http://echelog.com/logs/browse/smartos/1429567200
Single IP tips for SmartOS:
https://docu.blackdot.be/snipets/solaris/smartos-nat
Monday, September 14, 2015
Building NetBSD 7.0RC3 on KVM
Today I tested out building NetBSD 7 on a NetBSD 6 KVM virtual machine.
Here's the command line for starting the vm:
===
qemu-system-x86_64 -smp 4 -cpu host -enable-kvm -m 2048 -vga std -vnc :0 -drive file=$PWD/nbsd/wd01.img,index=0,media=disk,format=raw -net nic,model=e1000 -net user -redir tcp:5550::22 &
===
here's the post-build summary from build.sh:
===
build.sh command: ./build.sh -O /usr/obj -U -j 4 tools kernel=RND0 modules distribution sets
build.sh started: Mon Sep 14 16:58:05 AKDT 2015
NetBSD version: 7.0_RC3
MACHINE: amd64
MACHINE_ARCH: x86_64
Build platform: NetBSD 6.1.5 amd64
HOST_SH: /bin/sh
MAKECONF file: /etc/mk.conf (File not found)
TOOLDIR path: /usr/obj/tooldir.NetBSD-6.1.5-amd64
DESTDIR path: /usr/obj/destdir.amd64
RELEASEDIR path: /usr/obj/releasedir
Updated makewrapper: /usr/obj/tooldir.NetBSD-6.1.5-amd64/bin/nbmake-amd64
Tools built to /usr/obj/tooldir.NetBSD-6.1.5-amd64
Building kernel: RND0
Build directory: /usr/obj/sys/arch/amd64/compile/RND0
Kernels built from RND0:
/usr/obj/sys/arch/amd64/compile/RND0/netbsd
Building kernel modules for NetBSD/amd64 7.0_RC3
Successful build of kernel modules for NetBSD/amd64 7.0_RC3
Successful make distribution
Building sets from pre-populated /usr/obj/destdir.amd64
Built sets to /usr/obj/releasedir/amd64/binary/sets
build.sh ended: Mon Sep 14 18:08:47 AKDT 2015
===
Testing and installing it now -90 minutes isn't too shabby for a VM build. The host machine barely felt it, btw; no real noticeable performance hit.
===
I blitzed the install by following the instructions on the guide, but that doesn't matter that much -I found out what I wanted to know.
Here's the command line for starting the vm:
===
qemu-system-x86_64 -smp 4 -cpu host -enable-kvm -m 2048 -vga std -vnc :0 -drive file=$PWD/nbsd/wd01.img,index=0,media=disk,format=raw -net nic,model=e1000 -net user -redir tcp:5550::22 &
===
here's the post-build summary from build.sh:
===
build.sh command: ./build.sh -O /usr/obj -U -j 4 tools kernel=RND0 modules distribution sets
build.sh started: Mon Sep 14 16:58:05 AKDT 2015
NetBSD version: 7.0_RC3
MACHINE: amd64
MACHINE_ARCH: x86_64
Build platform: NetBSD 6.1.5 amd64
HOST_SH: /bin/sh
MAKECONF file: /etc/mk.conf (File not found)
TOOLDIR path: /usr/obj/tooldir.NetBSD-6.1.5-amd64
DESTDIR path: /usr/obj/destdir.amd64
RELEASEDIR path: /usr/obj/releasedir
Updated makewrapper: /usr/obj/tooldir.NetBSD-6.1.5-amd64/bin/nbmake-amd64
Tools built to /usr/obj/tooldir.NetBSD-6.1.5-amd64
Building kernel: RND0
Build directory: /usr/obj/sys/arch/amd64/compile/RND0
Kernels built from RND0:
/usr/obj/sys/arch/amd64/compile/RND0/netbsd
Building kernel modules for NetBSD/amd64 7.0_RC3
Successful build of kernel modules for NetBSD/amd64 7.0_RC3
Successful make distribution
Building sets from pre-populated /usr/obj/destdir.amd64
Built sets to /usr/obj/releasedir/amd64/binary/sets
build.sh ended: Mon Sep 14 18:08:47 AKDT 2015
===
Testing and installing it now -90 minutes isn't too shabby for a VM build. The host machine barely felt it, btw; no real noticeable performance hit.
===
I blitzed the install by following the instructions on the guide, but that doesn't matter that much -I found out what I wanted to know.
Subscribe to:
Posts (Atom)
automating zfs mounts -a quick and very dirty script
#!/bin/sh for x in obj xsrc src pkgsrc pkgsrc/distfiles pkgsrc/packages pkg do zfs create ext/$x zfs set mountpoint=/usr/$x ext/$x ...
-
#!/bin/sh for x in obj xsrc src pkgsrc pkgsrc/distfiles pkgsrc/packages pkg do zfs create ext/$x zfs set mountpoint=/usr/$x ext/$x ...
-
Normally doing a NetBSD desktop on VirtualBox involves a convoluted ritual on both host and guest. I still need to do VBoxManage for the ho...
-
Actually, that's not exactly true. I've been playing with the usual things and not really treading any new ground to speak of. I...