<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>x83.net &#187; NetBSD</title>
	<atom:link href="http://www.x83.net/tag/netbsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 13:53:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>NetBSD Qemu</title>
		<link>http://www.x83.net/netbsd-qemu/</link>
		<comments>http://www.x83.net/netbsd-qemu/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 20:56:39 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[NetBSD]]></category>
		<category><![CDATA[qemu]]></category>

		<guid isPermaLink="false">http://www.x83.net/blog/?p=163</guid>
		<description><![CDATA[I tested NetBSD 4.0 under Qemu and all seems to work fine. First of all create a slice partition of 3GB. dd if=/dev/zero of=scratch.img bs=3072 count=1000000 and then boot NetBSD using the iso : qemu scratch.img -cdrom /home/giany/Desktop/i386cd-4.0.iso -boot d After booting follow these steps: Follow the instruction screens when the NetBSD installer appears. If [...]]]></description>
			<content:encoded><![CDATA[<p>I tested NetBSD 4.0 under Qemu and all seems to work fine.<br />
First of all create a slice partition of 3GB.</p>
<p> dd if=/dev/zero of=scratch.img bs=3072 count=1000000</p>
<p>and then boot NetBSD using the iso :<br />
<span id="more-163"></span><br />
 qemu  scratch.img -cdrom /home/giany/Desktop/i386cd-4.0.iso -boot d</p>
<p>After booting follow these steps:</p>
<p>Follow the instruction screens when the NetBSD installer appears. If a particular step or<br />
choice is not mentioned here then you sould use the default choices.</p>
<p>- choose a custom installation</p>
<p>- select only one of either the GENERIC or GENERIC.MP kernels, depending on the server</p>
<p>- select all sets except Games and x11</p>
<p>- choose to use the entire disk for the NetBSD installation</p>
<p>- Choose to set the sizes of the NetBSD partitions</p>
<p>Partition sizes should be as follows:</p>
<p>Mountpoint      Size<br />
/               2G<br />
swap            2G<br />
/tmp            512G<br />
/var            20G<br />
/usr            20G<br />
/home           rest</p>
<p>- choose to use serial port com0 for the bootblock selection</p>
<p>- choose US/Pacific-New as the timezone</p>
<p>- choose MD5 for password encryption</p>
<p>- set the root password</p>
<p>Configure hostname, IP address, default gateway as needed</p>
<p>After the install process close the Qemu window and run qemu using the image that slice.</p>
<p> qemu  -m 256 -hda scratch.img  -localtime -net nic,vlan=0,macaddr=00:aa:00:00:01:02,model=i82559er -net tap,vlan=0,script=no</p>
<p>and from the linux box:</p>
<p> ifconfig tap1 2.2.2.1 netmask 255.255.255.0 up</p>
<p>Configure the nameserver in /etc/resolv.conf set in /etc/ifconfig.fxp0 the ip address smth like :</p>
<p> inet 2.2.2.2 netmask 255.255.255.0 media autoselect<br />
 inet 3.3.3.3 netmask 255.255.255.0 alias                                  // for multiple interfaces<br />
 inet 4.4.4.4 netmask 255.255.255.0 alias</p>
<p>My rc.conf file looks like:</p>
<p>
<pre>
hostname="kwala.x83.net"
domainname="x83.net"
auto_ifconfig=YES
defaultroute="2.2.2.1"
wscons=YES
sshd=YES
</pre>
</p>
<p>To add extra packages check this link <a href="ftp://ftp.netbsd.org/pub/NetBSD/packages/4.0/i386/All/">ftp://ftp.netbsd.org/pub/NetBSD/packages/4.0/i386/All/</a> and choose what packages you want. I installed bash/net-snmp/perl/tcsh/mtr.<br />
Now you should see the internet from the NetBSD box.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/netbsd-qemu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

