<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4088979.post7772606841266884074..comments</id><updated>2008-02-05T19:23:44.747-05:00</updated><title type='text'>Comments on TaoSecurity: From Linux to FreeBSD with Depenguinator 2.0</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://taosecurity.blogspot.com/feeds/7772606841266884074/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088979/7772606841266884074/comments/default'/><link rel='alternate' type='text/html' href='http://taosecurity.blogspot.com/2008/01/from-linux-to-freebsd-with.html'/><author><name>Richard Bejtlich</name><uri>http://www.blogger.com/profile/13512184196416665417</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4088979.post-334898757033142809</id><published>2008-02-05T19:23:00.000-05:00</published><updated>2008-02-05T19:23:00.000-05:00</updated><title type='text'>I tried this on an older Slackware install (we're ...</title><content type='html'>I tried this on an older Slackware install (we're talking Slackware 9, using Lilo and something around a 2.6.8 kernel--very old stuff, here.)  It seemed to work perfectly once I got the Lilo configuration right.&lt;BR/&gt;&lt;BR/&gt;The only real gotcha was that I had to change the partition type of the new partition to A5 (FreeBSD) from 82 (Linux Swap) before it would boot.&lt;BR/&gt;&lt;BR/&gt;I was quite pleased that it worked so well on such an older system.&lt;BR/&gt;&lt;BR/&gt;I'm planning on adding a sysinstall script to the image so that I can pretty easily install the new OS.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088979/7772606841266884074/comments/default/334898757033142809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088979/7772606841266884074/comments/default/334898757033142809'/><link rel='alternate' type='text/html' href='http://taosecurity.blogspot.com/2008/01/from-linux-to-freebsd-with.html?showComment=1202257380000#c334898757033142809' title=''/><author><name>eriko</name><uri>http://www.blogger.com/profile/15126293804664715055</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://taosecurity.blogspot.com/2008/01/from-linux-to-freebsd-with.html' ref='tag:blogger.com,1999:blog-4088979.post-7772606841266884074' source='http://www.blogger.com/feeds/4088979/posts/default/7772606841266884074' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4088979.post-1111957218248355802</id><published>2008-01-30T06:00:00.000-05:00</published><updated>2008-01-30T06:00:00.000-05:00</updated><title type='text'>Agreed...the fact the image builds probably means ...</title><content type='html'>Agreed...the fact the image builds probably means I'm at fault somewhere!&lt;BR/&gt;&lt;BR/&gt;Its a perfect foundation to work on, I can't wait to get it working.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088979/7772606841266884074/comments/default/1111957218248355802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088979/7772606841266884074/comments/default/1111957218248355802'/><link rel='alternate' type='text/html' href='http://taosecurity.blogspot.com/2008/01/from-linux-to-freebsd-with.html?showComment=1201690800000#c1111957218248355802' title=''/><author><name>Kev</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://taosecurity.blogspot.com/2008/01/from-linux-to-freebsd-with.html' ref='tag:blogger.com,1999:blog-4088979.post-7772606841266884074' source='http://www.blogger.com/feeds/4088979/posts/default/7772606841266884074' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4088979.post-3481972059591529314</id><published>2008-01-30T05:41:00.000-05:00</published><updated>2008-01-30T05:41:00.000-05:00</updated><title type='text'>Hi Kev,Thanks for your post!I plan to use "local h...</title><content type='html'>Hi Kev,&lt;BR/&gt;&lt;BR/&gt;Thanks for your post!&lt;BR/&gt;&lt;BR/&gt;I plan to use "local hands" and an IP KVM at this point, so anything Colin does is a bonus.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088979/7772606841266884074/comments/default/3481972059591529314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088979/7772606841266884074/comments/default/3481972059591529314'/><link rel='alternate' type='text/html' href='http://taosecurity.blogspot.com/2008/01/from-linux-to-freebsd-with.html?showComment=1201689660000#c3481972059591529314' title=''/><author><name>Richard Bejtlich</name><uri>http://www.blogger.com/profile/13512184196416665417</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02624747273826659506'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://taosecurity.blogspot.com/2008/01/from-linux-to-freebsd-with.html' ref='tag:blogger.com,1999:blog-4088979.post-7772606841266884074' source='http://www.blogger.com/feeds/4088979/posts/default/7772606841266884074' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4088979.post-240852157757177939</id><published>2008-01-30T04:35:00.000-05:00</published><updated>2008-01-30T04:35:00.000-05:00</updated><title type='text'>I tested the same systems as you last night (CentO...</title><content type='html'>I tested the same systems as you last night (CentOS 5.1 -&gt; FBSD 7) and had mixed results.&lt;BR/&gt;&lt;BR/&gt;I managed to get round SElinux (switched it off ;) ) and I managed to solve the dependencies for building :&lt;BR/&gt;&lt;BR/&gt;- uudecode I used from busybox-anaconda&lt;BR/&gt;&lt;BR/&gt;- bsdtar I build from hand from the libarchive source. This require the bzip libs installed to build with the -z compression option&lt;BR/&gt;&lt;BR/&gt;If you have better solutions for the above, I'd be interested to hear.&lt;BR/&gt;&lt;BR/&gt;This, along with a FreeBSD 7 RC2 CD successfully built the disk.img file after running depenguinator.&lt;BR/&gt;&lt;BR/&gt;However...Colin's instructions fall down slightly here as, assuming a stock install, RHEL / CentOS boxes come with swap as part of an LVM partition.&lt;BR/&gt;&lt;BR/&gt;This leaves only /boot as the spare partition to dd the depenguinator image onto. However you do this, and you lose grub.&lt;BR/&gt;&lt;BR/&gt;Whilst Colin's solution is elegant it's not very flexible. I tried the below with mixed results :&lt;BR/&gt;&lt;BR/&gt;- dd'd the image to a seperate drive (sdb1) and told grub to boot from there. Grub returned an error (off the top of my head something aking to an unknown binary type)&lt;BR/&gt;&lt;BR/&gt;- dd'd the image to /dev/hda1 (the /boot partition) which left the grub loader intact on the boot sector. Attempted to manually tell grub to load from there. Grub reported it didn't know what type of partition /dev/hda1 (hd(0,0)) now was and failed.&lt;BR/&gt;&lt;BR/&gt;- dd'd the image directly to /dev/hda. This booted and gave me the FreeBSD bootloader but then error'd trying to boot the FreeBSD kernel (kernel / loader not found).&lt;BR/&gt;&lt;BR/&gt;So mixed results. I'm going to replicate Colin's instructions precisely (using Ubuntu) tonight or tomorrow. It may be slight differences in Ubuntu's built libraries that cause a difference in behaviour? Certainly I seem to have built the image with success - it's just having problems booting!&lt;BR/&gt;&lt;BR/&gt;Hope this helps some, if I can fill in any gaps let me know. &lt;BR/&gt;&lt;BR/&gt;As you were the original 'bounty' requester - is Colin looking to tailor this to RHEL / CentOS / Fedora for you?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088979/7772606841266884074/comments/default/240852157757177939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088979/7772606841266884074/comments/default/240852157757177939'/><link rel='alternate' type='text/html' href='http://taosecurity.blogspot.com/2008/01/from-linux-to-freebsd-with.html?showComment=1201685700000#c240852157757177939' title=''/><author><name>Kev</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://taosecurity.blogspot.com/2008/01/from-linux-to-freebsd-with.html' ref='tag:blogger.com,1999:blog-4088979.post-7772606841266884074' source='http://www.blogger.com/feeds/4088979/posts/default/7772606841266884074' type='text/html'/></entry></feed>