Fedora Core 6 and Mactel

Fedora Core 6 will support Intel-based Macs. It’s good news espessially I need to boot Linux on Mac Mini to have possibility use it as Plutohome media director. But it should be Debian and Mini should boot from via network.
Anyway, you can find a short explanation how to make Dual Booting with OS/X and Fedora Core 6. Also, Jeremy Katz reports some problems with Apple hardware like wireless with Atheros chipset. So, let’s wait release of 6th Fedora to use it on Macs.

Flash Plugin and X.Org 7.0

After upgrate my work PC to Fedora Core 5 I found that Google Analytics didn’t display any text. I left it as it was (yes, yes, I know that it’s not characterize me good side). Today I lost my patience when tried to see SmartBlog statistic. The good article – “The flash plugin and X.Org 7.0 (X11R7) font problems” helped me resolve my problem. I made a symlink to X11 fonts configuration:
ln -s /etc/X11/fs/ /usr/X11R6/lib/X11/fs
and restart Firefox. After that flash player found fonts and displayed text correctly.

Welcome to Celestia, welcome to the space!


If you like space, stars etc you definitely should testCelestia – a space simulator. It lets you explore our universe in three dimensions. Celestia runs on Windows, Linux, and Mac OS X. So, you can choose your preferable OS.

Unlike most planetarium software, Celestia doesn’t confine you to the surface of the Earth. You can travel throughout the solar system, to any of over 100,000 stars, or even beyond the galaxy.

Additionally, you may check the Celestia Motherlode – a repository for various addons like textures, models or celestial objects for Celestia.

Grub is really cool!

AS I already wrote I made a small upgrade of my home PC: I boutgh LCD display and new hard drive. I installed the hard drive as a master and an old one as slave. The problem was I had two OS on the old disk – Linux and Windows and used GRUB as boot loader. After adding new hard disk and installing Windows there I couldn’t boot Linux anymore. I had to change boot options in BIOS to boot from slave disk and use Linux. It was terrible! Thanks to Yoshinori K. Okuji for excellent tool GRUB. I just loaded GRUB shell:
[root@maverik ~]$ grub
chose root (hd0 – master, hd1 – slave, but because I booted from slave it’s hd0 and master – hd1):

grub> root (hd0,5)
Filesystem type is ext2fs, partition type 0x83

and copied GRUB files to the master hard drive:

grub> setup (hd1,5)

As result I can boot new or previous version of Windows and Linux! Thanks to GRUB and Linux 🙂

tar: Howto Exclude or Include Files

Recently I’ve had a little problem. I’ve needed to create an archive from some source directories but I’ve not needed to add in the archive some subdirectorives. I’ve made a quick search in Google and found an article “Telling tar Which Files to Exclude or Include”. Here is a short example:

$ find videoguide/ ! -type d -print | egrep '/,|%$|~$|.jpg$|.gif$|.png$' > /tmp/exclude_files

That command forms a list of excluded files and store it into temporary file.

$ tar vcfX ~/projects/arc/vg-19012004.tar /tmp/exclude_files

will remove files which listed into excluded_files from archive.

Updated: There is a more simple way to exclude file/dir from the archive. You can define a pattern in the command line instead of creation a file. Let’s image that we need to exclude Subversion directories from the archive:
tar vzcf my-project.tar.gz --exclude='.svn' ProjectDir
Note: you should always wrap the pattern by quotes!