Friday, 30 December 2011

Meet Grml 2011.12, Basic Debian Respin for Sysadmins

Today we're looking at another more specialized distribution spin called grml that apparently has its origins in Austria, not that it mattered much when technology allows us to work pretty much from anywhere. Is it grml because those mountain folks up in the Alps are always grumbling and grumpy, or is it that life as a sysadmin is turning people into muttering zombies?

Grml has just had their latest release  for the i486 and x86_64 architectures on 23-12-2011, which according to a now popular naming convention is makes it release 2011.12. This release is named 'Knecht Rootrecht', a word play on Knecht Ruprecht which is a German expression for Santa Claus.

Grml is a Debian-based bootable live CD with a collection of GNU/Linux software and scripts useful to system administrators, with automatic hardware detection. I tried both the x86 and the x64 bit edition which come in at a handy 315 MB and a 348 MB download respectively and they seem identical by all accounts in terms of set up and included applications. You can go straight to their download page. I was unable to notice any difference in performance on my AMD Phenom X3 Acer Aspire. The project also provide a 700 MB hybrid image on their download page, together with instructions how to copy to and boot from USB stick, daily images, links to older releases and the source code as part of GPL compliance.

Booting into the Desktop

Due to its minimal size there isn't really a great deal to say about this distribution, or distrolet as these small respins of bigger distributions are often called. Grml comes with Fluxbox, Openbox and WMii for your desktop perusal, it boots into Fluxbox by default. The initial boot loader screen gives you several options, including running a hardware detection tool. Under boot options you have the possibility to disable framebuffer for example, disable kms, enable SSH, load the system into RAM or with persistent mode enabling storage of settings. Further options are to boot in German language or to enter forensic mode. That's quite a bit for such a small download, but under Addons you can even boot a PXE server or start FreeDOS which is also part of the live image.


After you made your choice a wall of text scrolls by, in other words no consumer friendly boot splash, and be warned, with a lot of beeping you arrive at the text prompt, so better to not load grml up in your local library. Despite the small size it is not one of the faster boots, which may have to do with the fact that a lot of software is extracting in the background.



From here you can configure the network before you log in, set your keyboard layout (not the language), show more information about grml, start X and go to the desktop or start the installer.


It's also possible to configure the network adapter later from the desktop, so no rush. However, I found if you select grml-network it will get stuck in a loop indefinitely, so it is better to choose to configure the card directly with the netcardconfig option.

Keep working from the terminal or start the graphical interface, and you are logged into the desktop. Here are some more screenshots at the project page. Grml is using zsh instead of the bash shell that most linux distributions come with by default and they have preconfigured it with what the team call 'a powerful completion mechanism'. Zsh is described as a scripting language as well as a shell, not that you couldn't script with bash, but to understand more it's worth it checking out the pages at Sourceforge, in particular 'A workshop on Zsh by Larry P. Schroff' under Introduction. Here's a link to a brief overview of 'Why zsh'. The grml project has also put together a section with plenty of information on their default shell which will most likely be enough to get you started. It is available in English and in German.

Couple of remarks about running the grml desktop. The only graphical tools you are getting will be Iceweasel aka Firefox and Gparted to prepare your partitions for install. That is about all the nod to user-friendliness you can expect.
Apart from that you get the xterm terminal and about five different popular and not so popular shells, a terminal server, the nano and zile text editors, Python and Ruby for programming, several utilities interesting for system administrators who it is after all built for like Htop, Pstree, a Telnet client, IPTraf for network traffic monitoring, and USB View. Orphaner is already on board to keep your system in shape should you decide to install it and more, and Aptitude and apt-get for package management. Midnight Commander is the only tool included for text based but still strangely comfortable file management.


Unfortunately the console is near unreadable in this release due to its dark green and light grey on grey color scheme. I appreciate the symbolism of dark green for Christmas tree this time of year, but it just isn't working that well. A higher contrast would be better. That would be the only minor problem, except of course the already mentioned loop issue with network-config. Wpa_supplicant is there for your wireless needs, but more on this later.

It's a basic but neat desktop that has everything to get you started, and it strikes me as a good base to customize from here. Grml is using Squashfs to pack about 2 GB of software into this small image according to their site. This release features the latest 3.1.6 kernel. It is also easier now to create remasters with grml-live and existing grml ISO images. You can read the full release announcement here. As obvious from the choices, grml can be used for network and systems analysis and management and for forensic and rescue tasks. For example Clam-AV is also on the CD, as is a whole host of software not visible from the menu, like Wireshark, Smart hard drive monitoring tools, Mercurial, Subversion, Postfix and even Samba. For a minor complaint I was missing the inclusion of something like Chrootkit or Tripwire. A terminal based recover mode can be started from the Fluxbox menu.

Installing

Grml includes a basic installer but you'll have to prepare partitions before, and Gparted is included if you haven't already set them up.
The system supports formatting and running from the ext3, ext4, reiserfs, XFS and JFS file systems. The basic text installer expects to find formatted partitions.
Here you can also choose to install and get updates from the stable repositories, or from the more bleeding edge Testing and Unstable repositories. By default this release of grml is based on the current Debian Stable "Squeeze".

One of the first things to add after successful hard drive install, or to a customized image, would be  a graphical file manager and Wicd for easier network connectivity and wireless management. I wished this or a similar, even text based, tool would be included from the start as currently it seems there is no way of setting a wireless connection without specifying a password, not accounting for roaming or open networks.

Documentation and Support

You can find several links to get more help and support on the web page, documentation is also included on the CD image. The website sports a blog, press and release notes, a documentation and separate FAQ section, a bug reporting system via web (which needs registering) or email and a small Wiki.
Interestingly, there's also a page on how to report bugs effectively, an issue which I think should be given more prominence in distributions and documentation.


The home page also claims to provide out of the box support for users with visual impairment needs but I did not see or hear in this case any evidence of screen readers or other such tools.

Conclusion

Grml is a capable base designed for system administration tasks. It is clearly an advanced system for people who are confident with the command line, and probably best used on a machine with wired Ethernet connection, or at least with one clearly defined network, not in a roaming capacity. Although wireless support is included you get the idea that this is meant to be used on a stationary machine in a professional setup. Being based on Debian it gives you access to a huge universe of packages even outside what is in the repositories as most software packages that are distributed for linux are also available for current Debian releases. On top of that, if you choose to install, you can actually opt to install anything from old-stable "Lenny" to the Testing and Unstable branches, although repositories are by default set to the stable release.

If you're planning to set up a workstation for the tasks grml is intended for and add your own graphical tools like Nagios for network management and monitoring on top this may serve you better than for example starting from an even more minimal Debian netinstall. On the other hand, if you don't have any use for many of the tools included here and Fluxbox is not your thing, it may be better to go down a different route. As always, YMMV. All a matter of preference.

1 comment:

  1. I've been a happy grml user for years now and while I think that while this review is fair, you got the wrong idea in some instances.

    1. "user friendliness". A GUI is not "friendly"; it's just "easy to figure out if you've seen/user other GUIs". "User friendly", to me, means "allows a competent user to work efficiently"; thus, vi is more user friendly than, say, nano or gedit. For most of the tasks you'd want to use grml for, a GUI is neither necessary nor does it provide an advantage. I hardly ever start the GUI on grml at all.

    2. the point. The point of grml (which your review seems to largely miss) is, as I see it, to provide a very full-featured, user friendly (in the above sense) environment for system recovery, maintenance and "installation" -- not the installation of grml on the hard drive, but the installation of Debian or Ubuntu on the hard drive.

    I use grml instead of the official Debian installer exclusively to install Debian. This allows me to easily create complex RAID+LVM+LUKS setups using familiar command line tools instead of the clumsy installer (which may not even be capable of creating some of the more complex setups). Then I use debootstrap (or the grml wrapper, grml-debootstrap) to install Debian on the pre-assembled storage; afterwards, I go through a checklist to configure stuff before booting into the new system from the hard drive, and reboot. This alone has saved me probably several days' worth of frustration with the Debian installer.

    In addition to this, I love the grml zsh config so much that I install it on all my Debian systems as well. :)

    ReplyDelete

Please leave your comment here. Spam will be deleted.

Note: only a member of this blog may post a comment.

12.04 LTS (1) 1280x1024 (2) 14.1 (1) absolute (6) accessibility (6) ad-blocking (2) administration (2) afterstep (1) android (3) announcements (15) anonymity (5) anonymous (1) anonymous browsing (1) anti-malware (1) anti-virus (1) antiX (4) applications (1) arch (11) archbang (11) archone (1) artix (2) authentication (1) backports (1) base (1) bash (2) bittorrent (2) block-this (1) bluestar (1) bodhi (1) books (1) brave (1) brave-browser (1) browsers (8) browsing (1) bsd (4) bug (2) bugs (3) calculate (1) centos (1) certification (1) chakra (2) changelog (22) chat (1) chatzilla (1) chromebook (1) chromium (2) click (1) commodore 64 (1) ControlD (1) critique (1) crunchbang (5) crux (1) ctkarch (1) cyber war (1) debian (29) desktop (62) devuan (6) digital certificates (1) digital memories (1) distributions (75) DNS (1) documentaries (1) documentation (2) dr. web (1) drivers (1) duo (1) e17 (1) email (1) encryption (3) enlightenment (1) events (1) exit nodes (1) ext4 (1) fake (1) fallout (1) fallout 4 (1) fedora (6) file server (2) file systems (1) firefox (3) flash (1) flush (1) fluxbox (7) fluxflux (1) FPS (2) free software (3) frugalware (1) FSF (1) ftp (2) furybsd (1) fusion (1) fvwm (1) fvwm-crystal (1) games (11) gaming (10) gentoo (3) gnome (9) gnome shell (4) gnu/linux (4) google (2) google-chrome (3) graphics (1) grml (1) gtk+ (1) hangouts (1) hardcore punk (1) hardware (3) how-to (23) humor (2) i3 (1) icewm (6) init (3) init freedom (5) interview (1) introduction (1) jibbed (1) jwm (2) kanotix (4) kde (21) KDE neon (1) kde3 (2) kernel (6) knoppix (1) kodi (2) kongoni (2) kubuntu (3) LAS (1) libtorrent-rasterbar (1) linux (20) linux light (16) Linux Mint (6) live (50) live medium (28) live system (13) liveslak (3) LMDE 4 (3) localisation (1) LTS (1) lxde (12) lxqt (1) mageia (1) mandriva (2) manjaro (1) marine life (1) mate (1) media center (6) mepis (2) mint (5) mobile (2) mobile security (1) movies (6) mozilla (3) music (1) MX Linux (1) netbook (2) netrunner (1) networking (5) news (3) nvidia (1) open source (1) openbox (15) openSUSE (4) opinion (13) other (5) overclockix (1) packages (1) pclinuxos (4) perl (1) plasma (5) poll (2) porteus (3) privacy (5) privoxy (1) programming (1) proxy (2) puppy (3) qbittorrent (1) qt (1) quick look (10) ratpoison (1) red hat (7) redcore linux (1) relax (1) release (2) rescue (3) reviews (57) rhythmbox (1) rolling (1) RPG (2) rpm (1) sabayon (5) salix (15) scientific (7) screenshots (2) scripts (3) seamonkey (1) security (4) semplice (1) server (5) shell (1) shooter (4) siduction (1) slackel (1) slackware (68) slackware 14.2 (2) slackware 15.0 (8) slackware-current (34) slax (7) slitaz (1) smart phones (2) sms (1) south africa (2) specialist (1) spoof (1) ssh (1) surfing (1) systemd (2) table mountain (1) TDE (1) tegra k1 (1) The Walking Dead (1) themes (1) tinyme (2) tips (1) tor (3) torrenting (1) torrents (1) traffic analysis (2) trinity (2) trisquel (1) TV shows (2) TWD (1) ubuntu (6) unity (2) unity linux (4) unix (1) upgrade (6) vector (2) video (4) vinux (2) virtualbsd (1) visual impairment (5) voip (1) vpn (5) VSIDO (1) wallpapers (3) window maker (4) window managers (1) windscribe (1) wireless (10) xfce (16) youtube (1) zenwalk (3) zombies (1) zoo (1)