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 »
Currently, NXclient has some problems with handling the keyboard correctly on “newer” X-implementations (such as Fedora 10 and 11). Keys like the arrow keys or backspace are misinterpreted or don’t work at all. A quick workaround to fix (at least most of) the keys on the server side.
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 »
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 »
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 »
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
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 »
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 »
This is an easy one: You just append zeros at the end of the corresponding image file (here 1GB): You may want to shutdown your domU before changing its image file. After appending the zeros, you can restart the domain and expand its filesystem.
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 »