<?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>Solskogen’s /dev</title>
	<atom:link href="http://tenat.net/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://tenat.net/blog</link>
	<description>I just developed the analytical cubism with dissolution of reality.</description>
	<lastBuildDate>Thu, 14 Jan 2010 19:39:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ZFS Root on FreeBSD</title>
		<link>http://tenat.net/blog/?p=37</link>
		<comments>http://tenat.net/blog/?p=37#comments</comments>
		<pubDate>Thu, 14 Jan 2010 19:39:08 +0000</pubDate>
		<dc:creator>solskogen</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[zfs]]></category>
		<category><![CDATA[ZFSROOT]]></category>

		<guid isPermaLink="false">http://tenat.net/blog/?p=37</guid>
		<description><![CDATA[FreeBSD&#8217;s installation routine (sysinstall) doesn&#8217;t support to install ZFS on root, but there are some guides on the wiki which will tell you different ways of doing it. I did it my way, because all of the guides tells you have to install FreeBSD 8.0-RELEASE which does not include the latest security fixes, and because [...]]]></description>
			<content:encoded><![CDATA[<p>FreeBSD&#8217;s installation routine (sysinstall) doesn&#8217;t support to install ZFS on root, but there are some guides on the <a href="http://wiki.freebsd.org/ZFS">wiki</a> which will tell you different ways of doing it. I did it my way, because all of the guides tells you have to install FreeBSD 8.0-RELEASE which does not include the latest security fixes, and because I can. Here is how:</p>
<p><span id="more-37"></span>First a few words of caution: This guide depends on that you already have FreeBSD installed on one machine, and it also depends on that you&#8217;ll need a USB stick with FreeBSD installed.</p>
<h4>On a already existing FreeBSD system:</h4>
<p><a href="http://tenat.net/blog/?p=18">Create a bootable USB stick if not already done so</a></p>
<p>Compile the FreeBSD system with a ZFS aware boot loader:<br />
<code># cd/usr/src<br />
# make buildkernel buildworld SRCCONF=/dev/null __MAKE_CONF=/dev/null \<br />
-DLOADER_ZFS_SUPPORT=YES -j3</code></p>
<p>Create a ram disk and install FreeBSD on it:<br />
<code># mdmfs -L -s 1024m md /mnt<br />
/dev/md101: 1024.0MB (2097152 sectors) block size 16384, fragment size 2048<br />
using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.<br />
with soft updates<br />
super-block backups (for fsck -b #) at:<br />
160, 376416, 752672, 1128928, 1505184, 1881440<br />
# make installworld installkernel distribution DESTDIR=/mnt SRCCONF=/dev/null \<br />
 __MAKE_CONF=/dev/null -DLOADER_ZFS_SUPPORT=YES</code><br />
Remember which device was used when creating the ram disk (in my case its /dev/md101) &#8211; You&#8217;ll need it later.</p>
<p>Create a dump file and copy it to the USB stick:<br />
<code># umount /mnt<br />
# dump -0 -f - /dev/md101 &gt; freebsd.img<br />
# cp freebsd.img /media<br />
# umount /mnt<br />
# umount /media<br />
# mdconfig -d -u 101</code></p>
<p>On the <span style="text-decoration: line-through;">victim</span> new FreeBSD system boot with the USB stick and log in. Figure out which disk you&#8217;ll use for ZFS. In my case it is /dev/da0.</p>
<p>Slice it up and create a layout:<br />
<code># fdisk -BI /dev/da0<br />
# bsdlabel -Bw /dev/da0s1<br />
# bsdlabel -e /dev/da0s1</code><br />
The last command will open &#8216;vi&#8217; &#8211; edit the file so it looks something like this:<br />
<code><br />
# /dev/da0s1:<br />
8 partitions:<br />
#        size   offset    fstype   [fsize bsize bps/cpg]<br />
 a:    256M    16      unused        0     0<br />
 c:    *       0       unused        0     0         # "raw" part, don't edit<br />
 d:    *       *       unused</code><br />
The first slice(a) will be used for /boot while the rest of the disk (d) will be ZFS.</p>
<p>Format the a-slice and create the new zpool:<br />
<code># newfs -U /dev/da0s1a<br />
# zpool create data /dev/da0s1d</code></p>
<p>Create the ZFS layout (YMMV, but do <span style="text-decoration: underline;"><strong>not</strong></span> create a seperate /etc system):<br />
<code># zfs create data/ROOT<br />
# zfs create data/ROOT/usr<br />
# zfs create data/ROOT/usr/home<br />
# zfs create -o compression=on  data/ROOT/usr/src<br />
# zfs create -o compression=on  data/ROOT/usr/ports<br />
# zfs create -o compression=off data/ROOT/usr/ports/packages<br />
# zfs create -o compression=off data/ROOT/usr/distfiles<br />
# zfs create -o compression=on  data/ROOT/tmp<br />
# zfs create data/ROOT/var<br />
# zfs create -o compression=off data/ROOT/var/db<br />
# zfs create -o compression=on data/ROOT/var/log<br />
# zfs create -o compression=on data/ROOT/var/mail</code><br />
And some polishing:<br />
<code># cd /data/ROOT<br />
# chmod 1777 /data/ROOT/tmp<br />
# ln -s usr/home /data/ROOT/home</code></p>
<p>Prepare the a-slice for boot<br />
<code># mkdir /data/ROOT/bootdir<br />
# mount /dev/da0s1a /data/ROOT/bootdir<br />
# mkdir /data/ROOT/bootdir/boot<br />
# ln -s bootdir/boot /data/boot</code></p>
<p>Edit /data/ROOT/boot/loader.conf and add:<br />
<code> vfs.root.mountfrom="zfs:data/ROOT"<br />
zfs_load="YES"</code></p>
<p>Make the data/ROOT bootable:<br />
<code>zpool set bootfs=data/ROOT data </code><br />
Restore the image created earlier:<br />
<code>cd /data/ROOT<br />
cat /freebsd.img | restore -rvf - </code><br />
Chroot to make some adjustments:<br />
<code>chroot /data/ROOT<br />
mount -t devfs devfs /dev </code></p>
<p>Edit /etc/rc.conf<br />
<code> ifconfig_re0="DHCP" #or whatever your machine have<br />
hostname=pony<br />
sshd_enable=TRUE<br />
zfs_enable=TRUE #important! </code></p>
<p>Edit /etc/fstab<br />
<code>/dev/da0s1a     /boot   ufs     rw      0       0</code></p>
<p>create new user and assign password for him and root<br />
<code># pw user add joe -m -G wheel<br />
# passwd joe<br />
Changing local password for joe<br />
New Password:<br />
Retype New Password:<br />
# passwd root<br />
Changing local password for root<br />
New Password:<br />
Retype New Password:</code></p>
<p>Exit chroot<br />
<code># unmount /dev<br />
# exit</code></p>
<p>Unmount ZFS and bootdir to make some final adjustments<br />
<code># umount /data/ROOT/boot<br />
# zfs umount -a<br />
# zfs set mountpoint=legacy data/ROOT<br />
# zfs set mountpoint=/tmp data/ROOT/tmp<br />
# zfs set mountpoint=/usr data/ROOT/usr<br />
# zfs set mountpoint=/var data/ROOT/var</code></p>
<p>Copy the latest zpool.cache to the a-slice:<br />
<code># mount /dev/da0s1a /mnt<br />
# cp /boot/zfs/zpool.cache /mnt/zfs</code><br />
reboot and have a lot of fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://tenat.net/blog/?feed=rss2&amp;p=37</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts about OpenSolaris</title>
		<link>http://tenat.net/blog/?p=35</link>
		<comments>http://tenat.net/blog/?p=35#comments</comments>
		<pubDate>Mon, 07 Dec 2009 17:02:56 +0000</pubDate>
		<dc:creator>solskogen</dc:creator>
				<category><![CDATA[Everything]]></category>

		<guid isPermaLink="false">http://tenat.net/blog/?p=35</guid>
		<description><![CDATA[OpenSolaris have come a long way, but there still a lot of work to do get near what most linux distributions and *BSD&#8217;s do.
Here are my toughts about of what I think Sun and the community should work with
The possibility to trim OpenSolaris down!
A default install of OpenSolaris is about 4GB. Disk space is cheap, [...]]]></description>
			<content:encoded><![CDATA[<p>OpenSolaris have come a long way, but there still a lot of work to do get near what most linux distributions and *BSD&#8217;s do.</p>
<p>Here are my toughts about of what I think Sun and the community should work with</p>
<p><span id="more-35"></span><strong>The possibility to trim </strong><strong>OpenSolaris down!</strong><br />
A default install of OpenSolaris is about 4GB. Disk space is cheap, I know, but something is terribly wrong when the default is 4GB and that it does not contain any developer utilities (GCC or Sun Studio)  &#8211; But I can live with a default of a operating system to be 4GB /if/ I had the possibility to trim it down a little. Right now that is not possible. Well, it is *possible* by either 1) creating your own OpenSolaris distribution 2) Uninstalling the unneeded packages yourself 3) Setup a Automated Install (in Solaris 10 speak that is the same as Jumpstart) which is so wrong at some many levels (se below)</p>
<p>Why force GNOME and Xorg as default install when Solaris is mostly used as a server OS?</p>
<p><strong>More mirrors</strong></p>
<p>pkg.opensolaris.org is slow. Painfully slow. And I can&#8217;t find any list of official mirrors.</p>
<p><strong>OpenSolaris require OpenSolaris</strong></p>
<p>In order to setup AI (Automated Install) you need OpenSolaris. I can&#8217;t find any official document that says otherwise. And I find that hard to understand. I mean, it&#8217;s only pxeboot! Do it the way Debian and Ubuntu does it: They release a netboot.tar.gz which includes pxeboot, a installkernel and ramdisk. If I had anything to say OpenSolaris would have done the same thing. Maybe together with a XML file that describes the installation options to do it even more easier.</p>
<p>Setting up a pkg mirror is also i PITA. I need some special magic Sun software to be able to do that. Why not just create a mirror with rsync and let me choose if I want to share the packages with http, apache or NFS. It&#8217;s only files, not some chinese black magic!</p>
<p><strong>Mailinglists</strong></p>
<p>There are over 373 different mailinglist for OpenSolaris (and OpenSolaris projects) &#8211; That&#8217;s way to much!</p>
<p><strong>Bug tracking</strong></p>
<p>I still don&#8217;t know if I should report a bug to http://defect.opensolaris.org/bz or http://bugs.opensolaris.org. And when I did report something to bugs.opensolaris.org I got a mail with some kind of bug ID which did not exist in any of those two systems.</p>
<p>Reporting a bug is almost worth it&#8217;s own story. There where about 6-7 fields that was mandatory, whereas two of them was drop-down menus with at least 100 different types to choose from. For a newbie it would be impossible to know what to input where when he/she all  want to do was to help and report that he/she recived a warning during boot up with the new and facy mainboard.</p>
]]></content:encoded>
			<wfw:commentRss>http://tenat.net/blog/?feed=rss2&amp;p=35</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing FreeBSD on a USB stick using buildworld</title>
		<link>http://tenat.net/blog/?p=18</link>
		<comments>http://tenat.net/blog/?p=18#comments</comments>
		<pubDate>Thu, 14 May 2009 18:12:34 +0000</pubDate>
		<dc:creator>solskogen</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[buildworld]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://tenat.net/blog/?p=18</guid>
		<description><![CDATA[Installing FreeBSD to a USB stick is not hard. Someone have already done that using the  simplest solution possible. But I want to install FreeBSD to a USB stick by using buildworld/installworld instead, so that I can make a simple NAS out of it.
This is how I did it:
Use csup to get the source
csup supfile
My [...]]]></description>
			<content:encoded><![CDATA[<p>Installing FreeBSD to a USB stick is not hard. <a href="http://typo.submonkey.net/articles/2006/3/20/installing-freebsd-onto-a-usb-stick">Someone have already done that</a> using the  simplest solution possible. But I want to install FreeBSD to a USB stick by using buildworld/installworld instead, so that I can make a simple NAS out of it.</p>
<p>This is how I did it:</p>
<h3><span id="more-18"></span>Use csup to get the source</h3>
<p><code>csup supfile</code><br />
My supfile looks like this:<br />
<code>*default host=cvsup.no.FreeBSD.org<br />
*default base=/var/db<br />
*default prefix=/usr<br />
*default release=cvs tag=RELENG_7_2<br />
*default delete use-rel-suffix<br />
*default compress<br />
src-all</code></p>
<h3>Build</h3>
<p>Build world and kernel as described in /usr/src/UPDATING or take a look in the <a href="http://www.freebsd.org/doc/en/books/handbook/makeworld.html">FreeBSD handbook</a>. You may want a seperate src.conf(5) for this if you want.<br />
<code>cd /usr/src<br />
rm -rf /usr/obj/*<br />
make cleandir clean buildworld buildkernel SRCCONF=/etc/src-usb.conf</code></p>
<h3>Prepare USB stick</h3>
<p>While this may take some time you can begin preparing the USB stick. First you&#8217;ll plug the USB stick in your machine and look in /var/log/messages for something like this:</p>
<pre>da0 at umass-sim0 bus 0 target 0 lun 0</pre>
<p>Then  make a partition the stick, label it and create a filesystem on the new slice. After that mount it to ensure that it works. The last step will install a bootloader.<br />
<code>fdisk -BI /dev/da0<br />
bsdlabel -B -w da0s1<br />
newfs -U /dev/da0s1a<br />
mount /dev/ad0s1a /mnt</code></p>
<h3>Install to USB stick</h3>
<p>When buildworld and buildkernel is finished we need to install it on the stick.</p>
<p><code>cd /usr/src<br />
make installworld installkernel distribution DESTDIR=/mnt SRCCONF=/etc/src-usb.conf</code></p>
<p>The last thing we need to do is to create /mnt/etc/fstab<br />
<code><br />
/dev/da0s1a /      ufs       rw                                           1 1<br />
md                   /tmp   mfs    rw,-s16M,nosuid,noatime 0 0<br />
/dev/acd0     /cdrom cd9660 ro,noauto,nosuid               0 0<br />
proc               /proc   procfs rw                                           0 0</code></p>
<p>The only thing you need to do now is to unmount /mnt, the rest is&#8230;</p>
<h3>Optional</h3>
<p>Create a basic /mnt/etc/rc.conf<br />
<code>hostname=pony.your.lan<br />
defaultrouter="192.168.0.1"<br />
ifconfig_age0="inet 192.168.0.3 netmask 255.255.255.0"<br />
sshd_enable="YES"</code></p>
<p>Add user<br />
<code>chroot /mnt /bin/sh<br />
pw user add username -m -G wheel<br />
passwd username</code></p>
<p>Unmount the stick<br />
<code><br />
cd<br />
umount /mnt<br />
</code><br />
Create a backup of the stick<br />
<code><br />
dd if=/dev/da0 of=freebsd-usb.img bs=50k<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tenat.net/blog/?feed=rss2&amp;p=18</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Playing with ZFS &#8211; Forgot to turn on compression?</title>
		<link>http://tenat.net/blog/?p=8</link>
		<comments>http://tenat.net/blog/?p=8#comments</comments>
		<pubDate>Sun, 05 Oct 2008 16:26:49 +0000</pubDate>
		<dc:creator>solskogen</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://tenat.net/blog/?p=8</guid>
		<description><![CDATA[I&#8217;ve been playing with ZFS lately, and I&#8217;ve learned how to turn on compression if you forgot it when creating the filesystem. As you probably know turning on compression *after* you data has been written will not compress those files. It will only compress new data. This guide will tell you how to that. Warning: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with ZFS lately, and I&#8217;ve learned how to turn on compression if you forgot it when creating the filesystem. As you probably know turning on compression *after* you data has been written will not compress those files. It will only compress new data. This guide will tell you how to that. Warning: Your mounpoint will go offline.</p>
<p>Lets say you have created a ZFS filesystem for /usr/src &#8211; The data is already there, and compression is turned off.<br />
Create a snapshot.<br />
<code>zfs snapshot tank/src@snap</code></p>
<p>Create a new temprary filesystem with compression.<br />
<code>zfs create -o compression=gzip tank/temp<br />
</code></p>
<p>Transfer data from tank/src@snap.<br />
<code>zfs send tank/src@snap | zfs receive tank/temp/src_comp</code></p>
<p>Ensure compression is on.<br />
<code>zfs get -r compression</code></p>
<p>Compression is inherited from the parent so have to turn on compression.<br />
<code>zfs set compression=gzip tank/temp/src_comp</code></p>
<p>Destroy old uncompressed filesystem.<br />
<code>zfs destroy -r tank/src</code></p>
<p>Rename the filesystem.<br />
<code>zfs rename tank/temp/src_comp tank/src</code></p>
<p>Destroy temporary filesystem, and the old snapshot.<br />
<code>zfs destroy tank/temp<br />
zfs detroy tank/src@snap</code></p>
<p>List all zfs systems to ensure everything is okay.<br />
<code>zfs list</code></p>
<p>(Optionally)Set mountpoint for the new and compressed src.<br />
<code>zfs set mountpoint=/usr/src tank/src</code></p>
<p>Vóila!</p>
]]></content:encoded>
			<wfw:commentRss>http://tenat.net/blog/?feed=rss2&amp;p=8</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparing disk usage before and after Archlinux upgrade to a fresh install</title>
		<link>http://tenat.net/blog/?p=7</link>
		<comments>http://tenat.net/blog/?p=7#comments</comments>
		<pubDate>Tue, 20 May 2008 16:58:40 +0000</pubDate>
		<dc:creator>solskogen</dc:creator>
				<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://tenat.net/blog/?p=7</guid>
		<description><![CDATA[Test scenario
Install Archlinux 2007.08
Install using Archlinux-i686-2007.08-2.core.iso, as default as it could be.
Run &#8216;pacman -Scc&#8217;
Run ‘df -h’ and write down result.
Run ‘pacman -Q &#124; wc -l’ and write down result.
Upgraded to 2008.05.20

(Archlinux uses a rolling release, so this is the latest &#8220;release)
Run &#8216;pacman -Suy&#8217;, and follow instructions.
Reboot
Run &#8216;pacman -Suy&#8217; again
Run &#8216;pacman -Scc&#8217;
Run ‘df -h’ and write [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Test scenario</strong></p>
<p><em>Install Archlinux 2007.08</em></p>
<p>Install using Archlinux-i686-2007.08-2.core.iso, as default as it could be.<br />
Run &#8216;pacman -Scc&#8217;<br />
Run ‘df -h’ and write down result.<br />
Run ‘pacman -Q | wc -l’ and write down result.</p>
<p><em>Upgraded to 2008.05.20<br />
</em></p>
<p>(Archlinux uses a rolling release, so this is the latest &#8220;release)<br />
Run &#8216;pacman -Suy&#8217;, and follow instructions.<br />
Reboot<br />
Run &#8216;pacman -Suy&#8217; again<br />
Run &#8216;pacman -Scc&#8217;<br />
Run ‘df -h’ and write down result.<br />
Run ‘pacman -Q | wc -l’ and write down result.</p>
<p><em>Install Archlinux 2008.05.20</em></p>
<p>Install using arch-ftp-install-2008.04-rc-i686.iso to start a FTP installation<br />
Run ‘df -h’ and write down result.<br />
Run ‘pacman -Q | wc -l’ and write down result.</p>
<p><strong>Results</strong></p>
<p>Archlinux 2007.08-core<br />
Disk usage: 475,5M<br />
Number of install packages: 93</p>
<p>Archlinux upgraded to 2008.05.20<br />
Disk usage: 549M<br />
Number of install packages: 96</p>
<p>Archlinux 2008.05.20<br />
Disk usage: 549M<br />
Number of install packages: 96</p>
<p><strong>Conclusion</strong></p>
<p>Perfect!</p>
]]></content:encoded>
			<wfw:commentRss>http://tenat.net/blog/?feed=rss2&amp;p=7</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparing disk usage before and after Fedora upgrade to a fresh install</title>
		<link>http://tenat.net/blog/?p=6</link>
		<comments>http://tenat.net/blog/?p=6#comments</comments>
		<pubDate>Tue, 20 May 2008 16:17:43 +0000</pubDate>
		<dc:creator>solskogen</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Fedora Ubuntu Linux Testing]]></category>

		<guid isPermaLink="false">http://tenat.net/blog/?p=6</guid>
		<description><![CDATA[Following up my previous posts, this one is about Fedora.
Fedora 9 came out last week, and it&#8217;s time to test.
Test scenario
Install Fedora 8
Install Fedora 8 with Fedora-8-i386-DVD.iso , default installation.
Update system with &#8216;yum update&#8217;
Reboot
Run &#8216;yum update&#8217; again
Run &#8216;yum clean all&#8217;
Run &#8216;df -h&#8217; and write down result.
Run &#8216;rpm -qa &#124; wc -l&#8217; and write down result.
Upgrade [...]]]></description>
			<content:encoded><![CDATA[<p>Following up my previous posts, this one is about Fedora.<br />
Fedora 9 came out last week, and it&#8217;s time to test.</p>
<p><strong>Test scenario<br />
</strong><em>Install Fedora 8</em><strong></strong></p>
<p>Install Fedora 8 with Fedora-8-i386-DVD.iso , default installation.<br />
Update system with &#8216;yum update&#8217;<br />
Reboot<br />
Run &#8216;yum update&#8217; again<br />
Run &#8216;yum clean all&#8217;<br />
Run &#8216;df -h&#8217; and write down result.<br />
Run &#8216;rpm -qa | wc -l&#8217; and write down result.</p>
<p><em>Upgrade to Fedora 9</em></p>
<p>Reboot, and boot with Fedora-9-i386-DVD.iso, and do a default upgrade to Fedora 9.<br />
Update system with &#8216;yum update&#8217;<br />
Reboot<br />
Run &#8216;yum update&#8217; again<br />
Run &#8216;yum clean all&#8217;<br />
Run &#8216;df -h&#8217; and write down result.<br />
Run &#8216;rpm -qa | wc -l&#8217; and write down result.<br />
Run &#8216;rpm -qa | grep fc8 &gt; fc8-packages-in-fc9-upgrade&#8217;</p>
<p><em>Install Fedora 9</em></p>
<p>Install Fedora 9 with Fedora-9-i386-DVD.iso , default installation.<br />
Update system with &#8216;yum update&#8217;<br />
Reboot<br />
Run &#8216;yum update&#8217; again<br />
Run &#8216;yum clean all&#8217;<br />
Run &#8216;df -h&#8217; and write down result.<br />
Run &#8216;rpm -qa | wc -l&#8217; and write down result.<br />
Run &#8216;rpm -qa | grep fc8 &gt; fc8-packages-in-fc9-fresh-install&#8217;</p>
<p><strong>Results</strong></p>
<p>Fedora 8 default install: 3.1G<br />
Number of install rpm&#8217;s: 879</p>
<p>Fedora 9 upgraded from Fedora 8: 3.3G<br />
Number of install rpm&#8217;s: 951<br />
Number reported during upgrade: 879<br />
fc8 packages:<br />
fedorainfinity-gdm-theme-8.0.1-1.fc8.noarch<br />
system-config-soundcard-2.0.6-11.fc8.noarch<br />
xorg-x11-drv-nsc-2.8.1-4.fc8.i386<br />
ql23xx-firmware-3.03.20-1.fc8.1.noarch<br />
kacst-fonts-1.6.2-2.fc8.noarch<br />
ql2100-firmware-1.19.38-1.fc8.1.noarch<br />
sazanami-fonts-gothic-0.20040629-4.20061016.fc8.noarch<br />
lklug-fonts-0.2.2-5.fc8.noarch<br />
xorg-x11-drv-via-0.2.2-4.fc8.i386<br />
xorg-x11-drv-cyrix-1.1.0-5.fc8.i386<br />
redhat-lsb-3.1-19.fc8.i386<br />
fedorainfinity-screensaver-theme-1.0.0-1.fc8.noarch<br />
python-genshi-0.4.4-2.fc8.noarch<br />
fedora-icon-theme-1.0.0-1.fc8.noarch<br />
paktype-fonts-2.0-2.fc8.noarch<br />
jomolhari-fonts-0.003-4.fc8.noarch<br />
fedora-gnome-theme-8.0.0-1.fc8.noarch<br />
python-setuptools-0.6c7-2.fc8.noarch<br />
xorg-x11-fonts-truetype-7.2-3.fc8.noarch<br />
fedora-screensaver-theme-1.0.0-1.fc8.noarch<br />
gtk-sharp2-2.10.3-3.fc8.i386<br />
ql2200-firmware-2.02.08-1.fc8.1.noarch<br />
ghostscript-fonts-5.50-18.fc8.noarch<br />
ql2400-firmware-4.00.27-1.fc8.1.noarch<br />
cjkunifonts-uming-0.1.20060928-4.fc8.noarch</p>
<p>Fedora 9 default install: 3.1GB<br />
Number of install rpm&#8217;s:  930<br />
fc8 packages:<br />
ql2400-firmware-4.00.27-1.fc8.1.noarch<br />
ql2200-firmware-2.02.08-1.fc8.1.noarch<br />
ql2100-firmware-1.19.38-1.fc8.1.noarch<br />
paktype-fonts-2.0-2.fc8.noarch<br />
lklug-fonts-0.2.2-5.fc8.noarch<br />
ql23xx-firmware-3.03.20-1.fc8.1.noarch<br />
kacst-fonts-1.6.2-2.fc8.noarch<br />
abyssinica-fonts-1.0-2.fc8.noarch<br />
ghostscript-fonts-5.50-18.fc8.noarch<br />
python-genshi-0.4.4-2.fc8.noarch<br />
fedora-icon-theme-1.0.0-1.fc8.noarch<br />
fedora-gnome-theme-8.0.0-1.fc8.noarch<br />
redhat-lsb-3.1-19.fc8.i386<br />
jomolhari-fonts-0.003-4.fc8.noarch<br />
python-setuptools-0.6c7-2.fc8.noarch<br />
cjkunifonts-uming-0.1.20060928-4.fc8.noarch<br />
fedora-screensaver-theme-1.0.0-1.fc8.noarch<br />
fedorainfinity-screensaver-theme-1.0.0-1.fc8.noarch</p>
<p><strong>Conclusion</strong></p>
<p>Now this is not that bad, considering that the default install size is almost 1GB bigger than Ubuntu. I still wonder why there is fc8 packages in Fedora 9.<br />
The upgrading procedure took ages! I didn&#8217;t note the exact time, but 1.5hour is not far from it.</p>
]]></content:encoded>
			<wfw:commentRss>http://tenat.net/blog/?feed=rss2&amp;p=6</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Facebook experiment</title>
		<link>http://tenat.net/blog/?p=5</link>
		<comments>http://tenat.net/blog/?p=5#comments</comments>
		<pubDate>Thu, 08 May 2008 13:55:26 +0000</pubDate>
		<dc:creator>solskogen</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://tenat.net/blog/?p=5</guid>
		<description><![CDATA[If I began using Facebook this day I would do the following experiment:
1) Register at facebook, keep default settings.
2) Do not add any friends unless somebody adds you first, or applications unless somebody invites you to
3) Do not join groups, unless invited by someone else.
Count the number of friends, applications and groups after one year.
]]></description>
			<content:encoded><![CDATA[<p>If I began using Facebook this day I would do the following experiment:</p>
<p>1) Register at facebook, keep default settings.<br />
2) Do not add any friends unless somebody adds you first, or applications unless somebody invites you to<br />
3) Do not join groups, unless invited by someone else.</p>
<p>Count the number of friends, applications and groups after one year.</p>
]]></content:encoded>
			<wfw:commentRss>http://tenat.net/blog/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Comparing disk usage before and after Ubuntu upgrade to a fresh install</title>
		<link>http://tenat.net/blog/?p=4</link>
		<comments>http://tenat.net/blog/?p=4#comments</comments>
		<pubDate>Sun, 04 May 2008 00:06:48 +0000</pubDate>
		<dc:creator>solskogen</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[7.10]]></category>
		<category><![CDATA[8.04]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://tenat.net/blog/?p=4</guid>
		<description><![CDATA[As mention the last post I was going to post some numbers about how much disk space which is in used before, and after upgrading Ubuntu 7.10 to 8.04 compared to a fresh install of Ubuntu.
Test scenario
Desktop Edition(upgrade)
Install with ubuntu-7.10-desktop-i386.iso (Default settings)
Run &#8216;apt-get update &#38;&#38; apt-get upgrade &#38;&#38; apt-get clean&#8217; to get the latest updates
Check [...]]]></description>
			<content:encoded><![CDATA[<p>As mention the last post I was going to post some numbers about how much disk space which is in used before, and after upgrading Ubuntu 7.10 to 8.04 compared to a fresh install of Ubuntu.</p>
<p><strong>Test scenario</strong></p>
<p><strong></strong><em>Desktop Edition(upgrade)<br />
</em>Install with ubuntu-7.10-desktop-i386.iso (Default settings)<br />
Run &#8216;apt-get update &amp;&amp; apt-get upgrade &amp;&amp; apt-get clean&#8217; to get the latest updates<br />
Check disk usage<br />
<a href="http://www.ubuntu.com/getubuntu/upgrading#head-7311a7de9fdf1ca310c6937460c0a9d33f54279d">Upgrade using ubuntu-8.04-alternate-i386.iso</a><br />
Run &#8216;apt-get update &amp;&amp; apt-get upgrade &amp;&amp; apt-get clean&#8217; to get the latest updates<br />
Check disk usage</p>
<p><em>Desktop Edition(fresh install)<br />
</em>Default install using ubuntu-8.04-desktop-i386.iso<br />
Run &#8216;apt-get update &amp;&amp; apt-get upgrade &amp;&amp; apt-get clean&#8217; to get the latest updates<br />
Check disk usage</p>
<p><em>Server edition(upgrade)<br />
</em>Install with ubuntu-7.10-server-i386.iso (Default settings)<br />
Run &#8216;apt-get update &amp;&amp; apt-get upgrade &amp;&amp; apt-get clean&#8217; to get the latest updates<br />
Check disk usage<br />
<a href="https://help.ubuntu.com/community/HardyUpgrades#head-e059d5452a24b50d09c64df48058ef2d834eb197">Network upgrade to 8.04</a><br />
Run &#8216;apt-get update &amp;&amp; apt-get upgrade &amp;&amp; apt-get clean&#8217; to get the latest updates(just do be sure)<br />
Check disk usage</p>
<p><em>Server edition(fresh install)<br />
</em>Default install using ubuntu-8.04-server-i386.iso</p>
<p>Run &#8216;apt-get update &amp;&amp; apt-get upgrade &amp;&amp; apt-get clean&#8217; to get the latest updates<br />
Check disk usage<strong></strong></p>
<p><strong>Disk usage<br />
</strong><em></em></p>
<p>D<em>esktop Edition<br />
</em>7.10 with updates:   2.1G<br />
8.04 after upgrade: 2.4G<br />
8.04 fresh:                           2.1G<br />
Cruft:                      0.3G</p>
<p>Server Edition<br />
7.10 with updates:   498M<br />
8.04 after upgrade: 595M<br />
8.04 fresh:              497M<br />
Cruft                        98M</p>
<p><strong>Conclusion</strong></p>
<p>There seems to be a good deal of cruft left behind after the upgrade even if you follow the normal upgrading procedures. Please note that this from a default install; No packages was added. I guess that almost anyone who uses Ubuntu install more than just the default, and that would probably make the difference even bigger. And what if you did not do a clean install of 07.04 either, you began with 06.06-LTS and upgraded whenever a new release was out.</p>
<p>Later I will do the same test with CentOS, openSUSE, Archlinux OpenBSD,  and FreeBSD. I&#8217;m looking forward to see who wins this test :)</p>
]]></content:encoded>
			<wfw:commentRss>http://tenat.net/blog/?feed=rss2&amp;p=4</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BLUG meeting follow-up</title>
		<link>http://tenat.net/blog/?p=3</link>
		<comments>http://tenat.net/blog/?p=3#comments</comments>
		<pubDate>Fri, 02 May 2008 19:17:38 +0000</pubDate>
		<dc:creator>solskogen</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://tenat.net/blog/?p=3</guid>
		<description><![CDATA[Back in March I had a talk about package systems on free operating systems. I did not cover all of them, but I guess I at least touched the mostly used ones. This and the next blog posts will be a follow up to that meeting, and today I&#8217;ll begin my telling you a bit [...]]]></description>
			<content:encoded><![CDATA[<p>Back in March I had a talk about package systems on free operating systems. I did not cover all of them, but I guess I at least touched the mostly used ones. This and the next blog posts will be a follow up to that meeting, and today I&#8217;ll begin my telling you a bit about upgrading.</p>
<p>As I almost always do when I test a new operating system (except Microsoft) I install the previous stable version just to see how well their upgrading procedure is. Some are good, and some are of course bad. And by bad I mean really bad like Microsoft where the system is almost useless.</p>
<p>Upgrading procedures have grown to be pretty good during the last 3 years when it comes to Linux. BSDs(at least OpenBSD and FreeBSD) haven&#8217;t changed their upgrading procedures as far as I know, except some minior details. The whole reason for that is that the BSD&#8217;s have seperate base systems. The upgrading procedure for 3rd party applications *have* indeed changed. I remember when I began using FreeBSD and when portupgrade was not available. There was a whole lot of bad hacks to get things up to date, and pkg_version(?) was used to create a sh-script in order to upgrade outdated packages. Correct me if I&#8217;m wrong but I think pkgsrc still use some kind of ancestor of that these days.<br />
OpenBSD added the -u option in pkg_add around 3.9 I guess, which made upgrading 3rd party applications way more easy than it was.</p>
<p>Back in those days the only real linux alternative, when it comes to upgrading packages easily, Debian was the only choice. Unfortunately Debian was so hard to install it almost wanted to know in which ISA slot you had your network card, and sound card.  But this, as many other things have changed to the better. Not only have Debian had a pretty remarkable change in their installation procedure, but Ubuntu also showed up somewhere in 2004. Ubuntu is supposed to be used by the deadliest of us, and therefore they changed the installation procedure even more. A normal Ubuntu installation is clean, intuitive and nice looking. But I think the installation takes too much time, but thats a problem with almost every distribution. The only exception I know of is Archlinux, which probably have the fastest installation(and upgrading) in the linux world.</p>
<p>What I really miss in Archlinux is the lean and clean way of distributing netboot images as Debian and Ubuntu do. The same can be said about FreeBSD. While both OpenBSD and NetBSD distribute pxe loaders, it seems like getting a pxe installation of FreeBSD is only a myth that SomeBody(tm) got working. Unlike almost anything else in FreeBSD pxe is some of the things that is poorly documented.<br />
Some of the things that I also miss from the BSDs (and some linux distributions) is the lack of USB installation images, at the same time as they distribute floppy disc images. Every BSD and Linux should distribute 1) ISO image 2) USB Image 3) PXE image 4) Floppy image. All of this images should also have a upgrade option.</p>
<p>In the next few days I will post some funny, yet disturbing, info on how much disk space is used before and after a upgrade of a couple of free operating systems using their documentation for how to do a upgrade. And at the same time show you how much disk space is used after a fresh install.</p>
]]></content:encoded>
			<wfw:commentRss>http://tenat.net/blog/?feed=rss2&amp;p=3</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://tenat.net/blog/?p=1</link>
		<comments>http://tenat.net/blog/?p=1#comments</comments>
		<pubDate>Fri, 02 May 2008 13:51:02 +0000</pubDate>
		<dc:creator>solskogen</dc:creator>
				<category><![CDATA[Everything]]></category>

		<guid isPermaLink="false">http://tenat.net/blog/?p=1</guid>
		<description><![CDATA[Welcome to my world. This is my first post using tenat.net and wordpress. Hopefully I will be able to follow up this blog a bit more effective than I did with my previous blog at blogspot.
]]></description>
			<content:encoded><![CDATA[<p>Welcome to my world. This is my first post using tenat.net and wordpress. Hopefully I will be able to follow up this blog a bit more effective than I did with my previous blog at blogspot.</p>
]]></content:encoded>
			<wfw:commentRss>http://tenat.net/blog/?feed=rss2&amp;p=1</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
