Tag Archives: Fedora

Upgrading your BIOS on linux

      3 Comments on Upgrading your BIOS on linux

It was already quite some time ago that flashrom 0.9.0 was released by the coreboot-project developers, but anyway… Flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. Since Fedora already contains flashrom, there is no need to compile it yourself. Simply pull it from the repo: Usage is rather simple. For a list of all flags… Read more »

Working with lzma tarballs

      No Comments on Working with lzma tarballs

The Lempel-Ziv-Markov chain algorithm is a (at least in the Linux-world) relatively new compression method. It features a very high compression ratio that is generally much higher than bzip21. Unfortunately there a quite a few different implementations. So creating and extracting lzma archives on different Linux distrubutions will vary. While the latest Fedora comes with GNU tar 1.22, which has… Read more »

Running a script on shutdown

      No Comments on Running a script on shutdown

It’s rather easy to run a command or a script on boot without going through the full Sys V style init stuff. /etc/rc.local is executed after the init scripts on boot, but unlike BSD, Linux doesn’t have a rc.shutdown. So how can we execute a command on shutdown? Usually, /etc/init.d/halt is used for shutting down, which calls /sbin/halt.local (if it… Read more »

Disabling GDM greeter sound on Fedora 11 [Update]

Due to a bug in GDM there currently is now way of preventing GDM from playing a sound when you login to your Fedora 11 box. This is especially annoying on notebooks, e.g. when you’re sitting in a meeting or in a (quiet) public place like a library. The only workaround (a bit dirty, granted) is to delete or rename… Read more »

GDM AutoLogin

      No Comments on GDM AutoLogin

To login a certain user automatically at boot time, you have to change the daemon-section of your /etc/gdm/custom.conf: With ‘TimedLogin’ being a valid, non-root user and ‘TimedLoginDelay’ being the login delay in seconds. An overview of available configuration variables can be found on live.gnome.org

Assign hardware to DomU with PCIBack as module [Update]

If the Dom0’s kernel is built with pciback as a module (grep CONFIG_XEN_PCIDEV_BACKEND /boot/config-`uname -r`), using the kernel command-line parameter pciback.hide won’t work. There is of course more than solution how you can assign hardware to a domU, but the probably easiest one is to to pass the hide parameter to the pciback module in /etc/modprobe.conf: The xensouce mailing list… Read more »

Shutting down xen domUs without saving them

Per default, CentOS 5.3 saves a domU’s state when the hypervisor is shut down. In principle this a nice behaviour: The domU will restore its state automagically when the hypervisor comes up again and just continue working. But there are some services (e.g. mldonkey) that don’t like to be restored and refuse to work (i.e. keep in a blocked state… Read more »

Online resizing ext3 partitions

      16 Comments on Online resizing ext3 partitions

First, we have to delete our current partition and create a bigger one (don’t be afraid, no data will be lost): Type m to get a list of all commands: Let’s print out the partition table and look for the ext3 partition, we want to enlarge (it’s easy here, there is just one partition): Now we delete the old partition… Read more »