Finnix

» Ryan Finnie

Article posted on Jul 24

Printed Finnix CDs are back!

  • Posted by Ryan Finnie on July 24, 2011, 11:06 pm
Finnix 102 disc preview.png

With the release of Finnix 102, I have once again begun printing high-quality, glossy CDs. These are not your typical inkjet CD-Rs you find at the local computer store. They are Taiyo Yuden WaterShield CDs, have a high-gloss finish, are highly resistant to smudging, and are more durable than a typical CD-R. And they look beautiful.

And as an exclusive, these CDs are hybrid bootable x86/PowerPC CDs. Simply insert it in any x86 or PowerPC computer and boot. This version is not available for download, so the only way to receive one of these hybrid CDs is by donation.

You can get a printed Finnix CD with any donation of $20 or more. You will also receive some stickers with your donation. And if you are not interested in CDs and/or stickers, but still want to help out, there are other ways you can help support Finnix.

  • Leave Comment
  • Posted in Finnix

Article posted on Jul 23

Finnix 102 released

  • Posted by Ryan Finnie on July 23, 2011, 12:00 am

Finnix is a small, self-contained, bootable Linux CD distribution for system administrators, based on Debian testing. Today marks the release of Finnix 102, the eighteenth release of Finnix since its beginnings over ten years ago. Finnix 102 includes Linux kernel 3.0, a smaller distribution size, new Xen pvops and 486 support, and minor bug fixes.

  • Home page: http://www.finnix.org/
  • Download: http://www.finnix.org/Download
  • Release notes: http://www.finnix.org/Finnix_102_release_notes
  • Free stickers! http://www.finnix.org/Free_stickers

Linux 3.0

Finnix 102 includes the recently-released Linux 3.0 kernel, and is a slight departure from usual Finnix method of closely following Debian kernel development. Config management was based on Debian pre-release kernels, but patch management was handled internally, basing only partly on Debian. Linux 3.0 support was tested heavily throughout the Linux 3.0-rc process.

Smaller size

Finnix 102 includes XZ (LZMA2) compression of the compressed root and initrd, resulting in distribution savings of more than 20% over previous Gzip compression, and no measurable reduction of boot times.

Xen pvops guest support

While Finnix has included Xen guest recognition since Finnix 86.1, Finnix 102's AMD64 kernel now includes built-in Xen pvops guest support. Therefore, Finnix may now be booted in a Xen environment with no extra building or configuration. Simply use the included linux64 kernel file, the initrd.xz initial ramdisk, and the Finnix 102 ISO as a virtual block device.

486 support

Finnix 102 is the first Finnix release, including Finnix 0.03 way back in 2000, to include 486 support, though it has not been tested. This is done by not including PAE support in the x86 kernel. The downside is x86 computers with more than 4GB of RAM can only use 4GB with the x86 kernel. However, nearly all computers with over 4GB RAM are also 64-bit capable, so the AMD64 kernel (default on capable platforms) may be used.

Anyone sending photographic proof of Finnix being booted on a 486 (showing Finnix boot plus the output of /proc/cpuinfo on the screen) will be given a free Finnix full-color CD and free Finnix stickers.

G5 support reaffirmed

While the PowerPC G5 platform has remained a supported platform since PowerPC support was introduced in Finnix 88.0, it was never tested before release, due to lack of hardware. Now a Power Mac G5 DP/DC model is available for testing. The full list of platforms tested include: 586, 686, AMD64, G3 NewWorld, G4, G5, Xen.

  • 2 Comments
  • Posted in Announcements, Finnix

Article posted on Jun 30

New compression for Finnix 102

  • Posted by Ryan Finnie on June 30, 2011, 2:27 pm

In my previous post, I mentioned switching to xz compression without much explanation.

Software tends to get larger over time. Finnix deals with this in two ways: looking for things to cut while still retaining as much functionality as possible, and just accepting that the size will continue to grow over time. Larger kernels, larger software, etc. The smallest release of Finnix was Finnix 86.2, at 92 MiB (x86). The last release, Finnix 101, was the largest so far at 128 MiB (x86).

During development of Finnix 102, the simple act of adding upgraded kernels and upgrading existing Debian packages to the latest versions was seriously adding to the size of Finnix, nearly 150 MiB at one point. And I had done all I could to reduce the size; there was just nothing left to cut out. Then I found out about xz compression. Xz is based on LZMA2, offers 10-20% more compression than Gzip, and in particular has optimizations for architecture-specific bytecode (program binaries, etc). Xz support was added to Linux 2.6.39, and could be used for kernel, initrd and SquashFS compression (previously, all three used Gzip compression).

So I tried it out, using Linux 3.0-rc (as of right now, if 3.0 comes out soon, it will be included with Finnix 102). I used xz compression for the kernel, initrd and SquashFS root filesystem, and was seeing 20% space savings versus using Gzip.

No compression:
  Root FS:    385,187,840
  initrd:       7,534,080
  Final ISO:  400,162,816

Gzip compression:
  Root FS:    136,921,088 (64.45%)
  initrd:       2,495,967 (66.87%)
  Final ISO:  146,857,984 (63.30%)

Xz (LZMA2) compression:
  Root FS:    109,469,696 (71.58% none, 20.05% gzip)
  initrd:       1,733,032 (77.00% none, 30.57% gzip)
  Final ISO:  118,644,736 (70.35% none, 19.21% gzip)

Overall, it looks great. Though one consideration is performance. LZMA is known for being very processor intensive. LZMA2 is more processor efficient than LZMA (and BZ2), but still slower than Gzip. Compression times are roughly 5 times slower than with Gzip. But the real question is how well decompression would work in the real world (that is, when booting Finnix). I don't have any hard numbers on that, but I did put dev builds through the gauntlet of everything from an i586 AMD K6 to a Power Mac G3 to a Core 2 Quad Q9450, and could not perceive any slowdowns.

So barring any major problems, Finnix 102 will actually be smaller than its predecessor, for the first time in over 3 years.

As a reminder, the standing goal of Finnix is to keep the distribution CD below the size of a Mini CD (185 MiB). While I doubt many people actually use Mini CDs, it's a good round goal, and while Finnix would still be within the 185 MiB limit without xz compression today, a proactive approach to keeping the distribution size low helps it from becoming a crisis too quickly.

By the way, the build scripts have been updated to allow a builder to choose which method of compression (xz, Gzip, or even none), and scripts within Finnix that rely on reading/modifying the initrd (finnix-netboot-server, for example) have been updated to detect which compression method is being used, and will use that method when rebuilding the initrd.

  • 2 Comments
  • Posted in Development, Finnix

Article posted on Jun 28

Finnix 102 development status

  • Posted by Ryan Finnie on June 28, 2011, 11:59 pm

Finnix 102 is coming along well. At this point, everything on my list is done, and I'm just waiting for Linux 3.0 to be finalized (I've been testing against 3.0-rc builds for awhile, with good success). A changelog so far (subject to change before final release):

* dist-upgrade
* Upgraded kernels to 3.0 (Debian 3.0.0-xxx)
* Added xen-blkfront to the initrd (AMD64 kernel)
* Added initrd loading attempt of xen-blkfront and xen-netfront
* Added ability to set manual IPv4 addresses and basic resolv.conf info via boot parameters
* Changed kernel, SquashFS compressed root, and initrd to xz compression
* Changed finnix-netboot-server and finnix-netboot-biginit to detect gzip/xz/uncompressed initrd, and build initrd_net accordingly
* Fixed console boot flag
* Fixed automatic update of /etc/fstab during hotplug device update
* Upgraded Memtest86+ to 4.20

The current x86 dev build is 2520, which gave me the idea to go back and look at what builds corresponded to what releases.

* 86.1: 1435
* 86.2: 1504 (+69)
* 87.0: 1617 (+113)
* 88.0: 1776 (+159)
* 89.0: 1961 (+185)
* 89.1: 1969 (+8)
* 89.2: 2011 (+42)
* 90.0: 2084 (+73)
* 91.0: 2154 (+70)
* 91.1: 2185 (+31)
* 92.0: 2270 (+85)
* 92.1: 2296 (+26)
* 93.0: 2318 (+22)
* 100: 2359 (+41)
* 101: 2473 (+114)

Prior to the 86.0 release, I picked build #500 as a rough guess as to how many builds I had made since then. 86.0 itself didn't have the build number shown publicly, so I don't have that data. Most testing is done on a VM (formerly VMware, today VirtualBox), so comparatively few builds are actually burned to CD (I would estimate about 200, which is still a lot). But nearly every build has at least been booted.

PowerPC builds use a different build number which is much smaller, 226 as of today. This is because the primary dev machine is an older G4 Mac Mini, which takes much longer to build compressed roots (formerly about 5 minutes, now over 20 minutes due to the switch to xz compression as mentioned in the changelog), compared to a minute or so on x86, a Core 2 Duo E7200. So most development and architecture-agnostic testing is done on x86 in a VM, then the changes are transferred over in bulk to the PPC environment and built.

  • Leave Comment
  • Posted in Development, Finnix

Article posted on Jun 27

Finnix in social networks

  • Posted by Ryan Finnie on June 27, 2011, 5:46 pm

Finnix now has a page on Facebook, for all your Finnix-related facing and/or booking needs! Please visit facebook.com/FinnixCD today.

There is also a Finnix group on Identi.ca, simply join the group and post with the !Finnix grouptag.

As a reminder, the best place for technical discussions (problems, suggestions, etc) is the Finnix mailing list. Be sure to check the latest release notes first for errata and known problems.

  • Leave Comment
  • Posted in Finnix, Miscellany

Article posted on Mar 2

Finnix license plate

  • Posted by Ryan Finnie on March 2, 2011, 3:11 pm

Finnix license plate

That's a souvenir (replica) license plate; the text is red rather than blue (sadly, blue would have been better in this case).

(My actual car's license plate is VMLINUZ.)

  • Leave Comment
  • Posted in Finnix, Miscellany

Article posted on Jan 7

Finnix -- perfect for VPS providers

  • Posted by Ryan Finnie on January 7, 2011, 12:12 am

Finnix is a popular console Linux-based utility LiveCD, and is used by system administrators every day for tasks such as system maintenance and recovery, network testing, security auditing, and more. Many people and organizations rely on Finnix to help with their jobs (and their hobbies).

Finnix has had a long history of virtualization support as well. It recognizes if it is being booted in a Xen or User Mode Linux (UML) environment, and will make the necessary modifications on the fly to run correctly. Early releases of Finnix even included a package called Finnix-on-Finnix, a proof of concept system that could boot itself as a guest of itself using a UML container.

Today, Finnix is used by several Virtual Private Server (VPS) providers, such as Linode and Panix, to provide their customers with the ability to quickly and easily boot Finnix in their virtual guest environments. Once booted, customers can recover lost passwords or unbootable systems, install custom Linux distributions, and much more. Finnix is well suited for this task, and customers love having this ability.

To that end, I have created a guide specifically for VPS providers, explaining how to integrate Finnix with your VPS management platform. If you are a VPS provider, please visit this guide and consider offering Finnix as a service for your customers. If you would like assistance with deploying Finnix as a recovery distribution, please email ryan@finnie.org and I will be happy to help. If you are a VPS customer who would like your VPS provider to offer Finnix as a system administration convenience, please let them know, and direct them to this post for more information.

  • 1 Comment
  • Posted in Finnix

Article posted on Dec 25

Finnix remastering updates

  • Posted by Ryan Finnie on December 25, 2010, 11:41 am

Finnix is used a lot for remastering for administrators' specific projects, so if you're a remasterer, you're going to both love and hate Finnix 101 -- love because Finnix 101 ultimately makes it a lot easier to remaster in the long run, and hate because a lot of things have changed in incompatible ways, hopefully for the better. This post should help give you a rundown on what's changed.

The following wiki guides have been updated for Finnix 101:

  • Remastering
  • Overlays

CD layout

  • Almost everything with the CD layout has changed. All filenames are now lowercase, and most files have changed locations.
  • md5sums is now on the root of the CD (/md5sums).
  • /isolinux and /boot are still the bootloader-specific directories for x86 and PowerPC, respectively.
  • /{isolinux,boot}/minirt has become /{isolinux,boot}/initrd.gz.
  • /FINNIX/FINNIX has become /finnix/arch/{x86,ppc}/root.img, where "x86" and "ppc" are the userland identifiers for the architecture (that is, you don't have to worry about 64-bit kernels on the 32-bit userland).
  • /finnix/arch.map is a text file that defines a `uname -m` mapping to the userland architecture. The first column is the output of `uname -m`, the second is the primary userland architecture, and the third is the secondary userland architecture. On 64-bit kernels ("amd64" and "ppc64"), the primary userland architecture is "amd64" and "ppc64" respectively, but since Finnix does not distribute 64-bit userlands, it will move on to the secondary columns. Once a root.img is found, that userland architecture is remembered, so overlays will not be checked in the userland architectures that are skipped over. (Short summary: don't use /finnix/arch/{amd64,ppc64}/, it's basically disabled in its current state.)

Build enviroment

  • The default (and recommended) build environment path has changed from /mnt/hda1/knx/ to /finnix/build/. All subdirectories remain the same (source/FINNIX/ for the chroot, initrd/ for the initrd, master/ for the CD layout).
  • The build scripts are now located in the compressed root, and are guaranteed to be the scripts that built the running Finnix version. They are finnix-build-stage1 and finnix-build-stage2. Stage 1 preps the chroot and builds the root.img file, while State 2 builds the initrd and masters the CD. While the build scripts live inside the chroot, they MUST be run from outside the chroot. That is, /finnix/build/source/FINNIX/usr/sbin/finnix-build-stage1 && /finnix/build/source/FINNIX/usr/sbin/finnix-build-stage2.

In the chroot

  • When chrooting in, you should really be doing: export FINNIXDEV=1; chroot /finnix/build/source/FINNIX /bin/bash -l. Setting FINNIXDEV=1 sets some bashrc functionality that makes it easier to work in the chroot, and will temporarily move dummy invoke-rc.d and start-stop-daemon scripts into place so installing/upgrading software within the chroot doesn't try to start daemons, and will automatically mount /proc and /sys when useful.
  • The startup system is now in /etc/finnix/rc*.d/. /etc/rc*.d/ will not be checked at all during Finnix bootup. If you want to start daemons on startup, shell scripts in /etc/finnix/rc2.d/ are the way to go. Additionally, much of the old finnix-autconfig functionality (the mega script that did almost all the heavy lifting) has been split up into components in /etc/finnix/rcS.d/ and /etc/finnix/rc2.d/.

Overlays and local startup scripts

  • On the CD, /FINNIX/overlay.d/ has become /finnix/arch/{x86,ppc,indep}/overlays/. Use x86 and ppc for architecture-specific overlays, and "indep" for architecture-independent overlays.
  • /FINNIX/finnix.sh is gone, in favor of /finnix/arch/{x86,ppc,indep}/rc/. Here you can place multiple local startup scripts. The same architecture rules apply as above.
  • 2 Comments
  • Posted in Development, Finnix

Article posted on Dec 25

Finnix 101 released

  • Posted by Ryan Finnie on December 25, 2010, 12:00 am

Finnix is a small, self-contained, bootable Linux CD distribution for system administrators, based on Debian testing. Today marks the eggnog-induced release of Finnix 101, the seventeenth release of Finnix since its beginnings over ten years ago. Finnix 101 includes major behind-the-scenes architectural changes, the re-introduction of PowerPC support, new features, and minor bug fixes.

  • Home page: http://www.finnix.org/
  • Download: http://www.finnix.org/Download
  • Release notes: http://www.finnix.org/Finnix_101_release_notes
  • Free stickers! http://www.finnix.org/Free_stickers

PowerPC support returns

After a show of public support, Finnix is once again producing PowerPC releases. Finnix is one of the only dedicated Linux LiveCDs with PowerPC support, and we are happy to continue serving the PowerPC community. Note that PowerPC releases are still not considered release goals, but in the future a lack of a PowerPC release will only happen under extraordinary circumstances.

Behind-the-scenes re-engineering

While using Finnix still has its same familiar look, much of the core infrastructure which comprises Finnix has been re-engineered. Many of the changes are intended to make development and re-development (remastering) easier and more powerful, and to help with deployment by Virtual Private Server (VPS) providers. Changes include a new CD filesystem layout, an enclosed remastering environment, a Finnix-specific SysV-compatible RC system, and componentized Finnix RC scripts.

Linux 2.6.36

Due to Debian testing being in deep freeze, the most recent kernel in either "testing" or "unstable" is 2.6.32. Therefore, a set of 2.6.36 kernels have been compiled based on 2.6.36-1~experimental.1 from Debian "experimental". Despite the "experimental" name, these kernels have been tested more heavily than the average Finnix release, and have proven to be very stable.

Hardware Detection Tool (HDT) added

On the X86 CD, Hardware Detection Tool has been added to the boot menu. This allows users to view system information (processor, memory, PCI devices, etc) quickly, without booting into a full operating system.

  • 7 Comments
  • Posted in Announcements, Finnix

Article posted on Dec 20

Finnix 101: What to look forward to

  • Posted by Ryan Finnie on December 20, 2010, 12:21 pm

I'll be honest, Finnix 100 was a rush job. Not a bad rush job per se; I have found no major problems with it and continue to use it on a daily basis. But there's nothing particularly great about it. The entire development cycle was about 2 weeks, to get a release out the door to reverse a one-year hiatus. Just enough to bring the software up to date, compile a new kernel, and run through regression testing.

Finnix 101 will be different. I've been working non-stop since October, and behind the scenes, Finnix has basically been completely re-engineered. To a casual eye, nothing will look different. Same boot menus, same minimalist boot, same quick boot times, same overall look. That's fine -- that's what gives Finnix its appeal. But the underlying architectural changes have been a long time coming, and will be useful for development and re-development (that is to say, remastering).

The current dev changelog is quite long by now, but here are a few highlights:

  • As mentioned in a previous post, PowerPC support is coming back!
  • A new kernel, most likely. Debian testing is still on 2.6.32 due to the freeze, but I've been testing 2.6.36 for awhile and it's been stable.
  • The Finnix CD is now 100% self-building. Before you could remaster Finnix from within Finnix, using a set of downloaded scripts (which sadly, I rarely updated). But now the scripts (finnix-build-stage1 and finnix-build-stage2) are located within Finnix itself, and the build scripts on the CD are guaranteed to be the scripts used to build the official release.
  • The CD ISO layout has been completely changed. All files/directory names on the CD are now lowercase, to guard against accidental renaming when on a USB key, for example. Instead of the main compressed root in /FINNIX/FINNIX, it is now in /finnix/arch/$distarch/root.img, where $distarch is amd64, x86, ppc64 or ppc. Since Finnix is only distributed with 32-bit userlands, the locations will be /finnix/arch/x86/root.img and /finnix/arch/ppc/root.img. But if a 64-bit userland were added, amd64 and ppc64 root.img files could simply be added and Finnix would use them if available and usable. /finnix/arch.map contains a list of `uname -m` to $distarch mappings, so adding completely new architectures would even be easier. The map file allows for 64-bit to 32-bit fallback, which allows you to use a 64-bit kernel, and Finnix will look in, say, /finnix/arch/amd64/ first, then /finnix/arch/x86/ as a fallback.
  • With the above in place, it will now possible to make a hybrid x86/PPC CD. With the new layout, the two CDs can essentially be merged into one, and with some mkisofs magic, the combined CD can be made bootable on both arches. I don't plan on releasing a combined ISO, but I do plan on releasing the script to allow you to create one yourself.
  • A Finnix-specific SysV-compatible RC system has been created for booting the distribution. In the past, Finnix essentially fought against Debian's RC system, removing Debian's symlinks in /etc/rc*.d/ and replacing them with Finnix-specific scripts. With Debian's move toward a concurrent boot system, this has become more difficult, so Finnix will simply be using its own separate system in /etc/finnix/rc*.d/ instead. (Indeed, it is a fork of Debian's sysv-rc.)
  • With a Finnix-specific RC system, it is now much easier to break the Finnix sysinit boot into component scripts. All previous versions of Finnix essentially used one giant boot script, so this will allow sysinit-type tasks (such as scanning the PCI bus) to be placed separately in /etc/finnix/rcS.d/, and traditionally userland tasks (such as starting mouse services or an optional SSH daemon) in /etc/finnix/rc2.d/. The userland tasks have been split out and will be ready for Finnix 101, but the sysinit tasks may not be completely componentized for the release.
  • A new netboot helper script has been added, finnix-netboot-biginit. This allows you to create a netboot initrd that contains the entire Finnix distribution within itself. The benefit is you do not need an NFS server to netboot Finnix, only a TFTP server. The downside is you will need more than twice the memory as the size of the distribution, at least 512MB. (There are several stages during boot where the initrd will need to be stored in memory twice; the initrd system was not exactly designed for 1XXMB initrds to be loaded efficiently. Once the boot is completed though, you will only be storing 1x the distribution size in memory, plus standard OS overhead.)
  • The initrd can now automatically detect whether AUFS and/or UnionFS are available. This will help VPS providers deploy Finnix using their kernels, picking whichever module is more convenient for them to implement.
  • On x86, Hardware Detection Tool has been added to the boot menu, which allows you to view system information quickly, without booting into a full operating system.
  • Many smaller improvements and bugfixes are of course included.

The release is feature complete, and I was hoping for a Christmas launch, but at this point I don't think I can go through the required testing and get the ISOs to the mirrors in time. 3 months since Finnix 100 will be late January, though I hope to have a release before then.

  • 1 Comment
  • Posted in Development, Finnix

« Previous Entries
Next Entries »
« Previous Page — Next Page »

Finnix

  • Wiki
  • Blog
  • Snapshots

Finnix on Identi.ca

  • zinayfuzz: RT @fo0bar !Finnix 108 released! http://ur1.ca/dsds4 External link
  • fo0bar: !Finnix 108 released! http://ur1.ca/dsds4 External link Geotagged
  • neustradamus: !Finnix 108 has been released ( !Debian ) http://www.finnix.org/ External link
  • zinayfuzz: RT @fo0bar !Finnix 107 released! http://ur1.ca/c9oqp External link
  • fo0bar: !Finnix 107 released! http://ur1.ca/c9oqp External link Geotagged

Categories

  • Announcements (33)
  • Development (35)
  • Finnix (106)
  • Miscellany (24)

Archives

  • May 2013 (2)
  • December 2012 (1)
  • November 2012 (1)
  • October 2012 (1)
  • July 2012 (1)
  • April 2012 (1)
  • March 2012 (2)
  • February 2012 (2)
  • January 2012 (1)
  • December 2011 (1)
  • October 2011 (2)
  • September 2011 (1)

Recent Comments

  • Ryan Finnie: Package lists are available in the release notes.
  • Ben in Seattle: This seems like a very neat distribution, but I’m having a devil of a time figuring out what...
  • Ryan Finnie: It is installed, it’s just at /usr/games/robotfindskitten, which is not in root’s path.
  • robotfindskitten enjoyer: robotfindskitten does not appear to be installed by default in Finnix 106. This is a great...
  • Steve Nordquist: I would have HFS+ with i18n filenames available for available console charsets (Chinese...

Search

Meta

  • Log in
Powered by WordPress.