Tuesday, June 7, 2011
6:31 AM

How to do simple things the Sabayon way

Gentoo penguin
Do you think there is only one penguin Tux? You are wrong. There is whole family of them. They are all brothers, because they have same father: Linux kernel code by Linus Torvalds. But they are not identical. They have their own names: Debian, RedHat, Slackware, Arch. Each brother has his own family: Linux distros based on certain base code. I have written about members of many families already. Except for one which is yet to be named.
This Tux received his name from fastest underwater swimming penguin: Gentoo. Today I will take sample from this family, and this sample is named Sabayon.
Official download page provides links to different versions of Sabayon. Latest release with name 5.5 is available with KDE, GNOME, E17, LXDE and XFCE desktop environments, as well as in ServerBase and SpinBase variants. Unfortunately KDE and GNOME versions both weight too much for CD or 1Gb USB stick which I have. That's why my choice was made for Sabayon XFCE version.
Sabayon is officially supported by Unetbootin utility. I successfully "burned" ISO image to USB stick. I also tried dd command option later, but it did not work with Sabayon 5.5.
USB stick is ready and plugged into USB port. Reboot. Choose to boot from USB. Let's go!


Booting and first impression

Sabayon logo
Boot time of Sabayon linux is relatively quick. I had no issues here. As opposite to some other distros, Sabayon does not ask additional questions during boot.
Once booted, I faced XFCE 4.8 desktop. It has small dock at the bottom and taskbar panel at the top.
Desktop itself is full of icons. Other than expected links to /home and Sabayon installation program, it is full of links to existing partitions of local hard disk. Links are there, but they do not work! Click on them and you see... error messages about missing authorisations. What is the point of these links? That is beyond my understanding so far. As you can understand, noone local partition is mounted automatically. If you need to access data there, feel free to do manual mounting in terminal: command mount is still there. I successfully managed to mount NTFS partition from there. Honestly, I have not tried to mount ext3 partitions with my exiting systems, but I do not expect any problem there.
Sabayon XFCE desktop
Sabayon includes couple of dozens of different windows styles. You can chose a stile which fits your expectations. From more or less standard blue-grey-white combinations to more ultra black-and-yellow ones.
There are several desktop wallpapers included, but almost all of them are variations of XFCE logo (mouse) in different backgrounds. There is not much variety I'd say.
Unfortunately, I have not found screenshot utility in Sabayon XFCE, that's why I place screenshot from official page.

Keyboard configuration

Next step for me was to configure keyboard layouts. Default one is English (US), and I changed it to English (UK) and Russian. Layouts can be added in Applications Menu - Setting - Keyboard. There are 2 objects with this name actually: with and without icon. The one with icon does not work, but menu object without icon works OK. Layouts can be added easily, but you cannot change order of existing layouts. If you want to re-arrange order, you need to delete and then add again.
Unfortunately, I found no way to enable keyboard layout indicator on the panel. Method which I used in Linux Mint XFCE did not work in Sabayon.

What is in the box?

Set of applications available in Sabayon linux is very limited. I think this is inheritance of whole family. Gentoo Linux was founded as distribution with minimal set of applications shipped as standard.
Sabayon XFCE uses Thunar as file manager. It is default file manager for XFCE desktop environment.
Midori is default browser. You know, this browser is very minimalistic one, and does not support many modern features popular in the Internet. Other than Midori, XChat IRC is the only Internet application available out of the box.
Abiword is sole representative of office applications (not counting Leafpad)
There is no multimedia player in Sabayon. Multimedia applications only include Mixer and Xfburn.
Ristretto Photo Viewer is the only application in Graphics.
Of course, there are some standard system applications and utilities like terminal, partitions editor etc.

WiFi epic

My experiment with Sabayon, as many others, was ran on Compaq C300 laptop. It has WiFi card Broadcom 4311. Famous model, isn't it? So many problems it creates to users all over the Linux world.
As in many other Linux distributions, Broadcom 4311 card was not recognised automatically by Sabayon. Of course, it is listed in lspci, but not more than that.
Here my epic started. I found several methods of getting Broadcom 4311 up and running in Sabayon. Let's see what they offer.
  1. First method  is to install Windows driver via ndiswrapper. I decided not to try it because it's very outdated.
  2. Second method was discovered on Sabayon Forum. It advises to use this page:  http://www.linuxwireless.org/en/users/Drivers/b43#firmwareinstallation and extract driver using tool called b43-fwcutter. Those who use Broadcom 4311 know about this tool for sure. The page itself claims that Gentoo has b43-fwcutter in pre-compiled repositories, and one should emerge it. Unfortunately, when I tried to do this, I got message
  3. emerge: there are no ebuilds to satisfy "b43-fwcutter".
    Oooops!
  4. Third method is described on Gentoo wiki: http://en.gentoo-wiki.com/wiki/Broadcom_43xx. It says that for Linux kernel versions 2.6.32 and above, driver is already delivered in repositories. It should be enabled by command
  5. emerge net-wireless/b43-firmware 
    Sabayon 5.5 XFCE has kernel 2.6.35. I tried this command, and guess...
Neither of three methods works. Actually, method from Sabayon forum (second in the list) is most lenghty one and requires reboot. Not sure if it works in Live version.
In other words, all my attempts to make WiFi working in Sabayon Linux failed.

I know Sabayon (or even Gentoo, or even from other systems) fans will crucify me for next paragraph, but I can't help to write it.
Why do some developers believe that complicated things will attract more users? Come on, please click on the link to Sabayon Forums page and look at the method of Broadcom 4311 driver activation. How many steps are there? It's difficult to even count! Yes, Gentoo Linux and its family is not for beginners. It is oriented to mid-to-high experienced users. But how much patience one needs to have to go through all these 7 circles of hell?
As alternative, why would not developers create something more usable like driver itself? It should not necessarily be compiled file, it can be a source file, but with simple (and short!) installation guide. Or, at last, script which does all the necessary actions of gathering parts of the driver, compiling it and so on... I am not developer, I don't know how difficult it would be to write the script. But there is nothing impossible if you have a wish and a tool. Result? Users would not be strandled in the jungle of lengthy installation guides, and even installation methods.
UPDATE: I managed to switch on WiFi card on my laptop. Read here.

Two faces of package management

There are 2 methods of software installation in Sabayon.
  1. Entropy is graphical tool similar to Ubuntu Software Centre.
  2. Portage (emerge) is CLI tool.
One may think that they are similar to Ubuntu Software Centre and apt command in Ubuntu (or analogues in Debian, Fedora, OpenSuSE etc), but difference is more than that.
Portage deals (mostly) with source codes and compiles it locally. Entropy works with pre-compiled packages, but still post-processes them.
Unfortunately, my experience with both of these tools was not ideal.
I tried to emerge some drivers for my WiFi card (using LAN connection). And neither of them worked.
I managed to find b43-fwcutter tool in  Entropy. But then... how to install it? No buttons, no menus, nothing. I got lost there very quickly.

Conclusion

Sabayon Linux is based on Gentoo. Both of these distributions have their own fans. But from my perspective Sabayon is not for users who want to get system which "just works" out of the box. It requires long and detailed fine tuning. Which is fine for some other users.

Story continues: follow the link.

0 comments:

Post a Comment