Featured Posts

SciPy 2008 - Software & Tools STATUS: Day 1 - Thursday: Concluded. Day 2 - Friday: In progress. Astronomy: Enzo [ home ] yt (related to Enzo) [ home | scipy ] Books: Computational Modeling and Complexity Science...


An example of checking out a git tag using Qt 4.6.0... Clone the Qt repository: $ git clone git://gitorious.org/qt/qt.git Show available tags: $ git tag -l output: v4.5.1 v4.5.2 v4.5.3 v4.6.0 v4.6.0-beta1 v4.6.0-rc1 v4.6.0-tp1 Checkout v4.6.0: $...


Building 64-bit/32-bit Debug&Release Universal Build... See my directions on checking out Qt 4.6.0 from the git repository if you do not already have the source code. Launch a Terminal and cd to the source directory. Run configure w/ 64-bit & 32-bit...


  • Prev
  • Next

Dell Vostro 400 – Ubuntu/Kubuntu Linux

Posted on : 22-02-2008 | By : Brandon W. King | In : Computers/IT, Error Fixes, Linux, Systems Administration

Tags: , , ,


I was able to get a Dell Vostro 400 to work with Kubuntu 8.4 Alpha 4 LiveCD. I used the installer and it resized the Windows XP partition just fine… What I did to get this to work is written below:

Okay, SATA cdroms and Linux don’t seem to be mixing very well… at least not with Ubuntu/Kubuntu 7.10. If you pop in one of the live cds, it will likely give you an IO Error when you select any item on the live cd boot menu.

As it turns out, that problem is fixed in Ubuntu/Kubuntu 8.4… but it’s not out yet being Feb 22nd (Release date scheduled for April). But, the live cd works with 8.4 Alpha 4 (looks like Alpha 5 came out today), which can be found here: https://wiki.kubuntu.org/HardyHeron/.

When I booted the live cd, the screen went blank… The next time I booted off the live cd, I choose F6, and removed “quiet splash” from the kernel arguments.

At some point you might run into an error like:

Feb 22 21:55:19 localhost ata2: failed to recover some devices, retrying in 5 secs

If this happens add the kernel argument irqpoll and it should bypass/fix the problem (not sure which; it just worked).

To add the irqpoll option in the live cd:

  1. Select F6
  2. Remove “quite splash”
  3. Add “irqpoll”

To add the irqpoll option to grub (once installed):

  1. Replace # defoptions=quiet splash with # defoptions=irqpoll

I am in a bit of a hurry during this post today, so if you have any questions or would like me to expand on something, just post a comment.

Custom Debian Linux Kernel Debian package w/ initrd

Posted on : 06-12-2006 | By : Brandon W. King | In : Computers/IT, Error Fixes, Linux

Tags: , , ,


My attempt to build a new Debian Linux Kernel was thwarted by initrd! Thanks to Diane Trout mentioning that when using make-kpkg, to build a kernel image, doesn’t automatically make an initrd image. I investigated further and found out if you use –initrd, it will automatically generate the initrd image.

Below are the instructions for building a custom Debian Linux Kernel Debian package:

1) Install the following Debian packages (Need access to Universe repository for Ubuntu):

  • kernel-package
  • initrd-tools

2) Get the kernel source (choose version, I used 2.6.17):

apt-get install linux-source-2.6.17

3) Decompress /usr/src/linux-source-2.6.17.tar.bz2

4) cd /usr/src/linux-source-2.6.17

5) Switch to root if you haven’t done so already (sudo -s)

6) type ‘make menuconfig’ to configure your kernel

It may require installing libncurses5 and libcurses5-dev.

7) type ‘make-kpkg –revision 1.0 –append-to-version -custom –initrd kernel_image’

Feel free to change the revision number or and use something other than custom (or omit –revision and –append-to-version to use defaults).

8) type ‘cd ..’

9) dpkg –install linux-image-2.6.17-custom_1.0_amd64.deb

Except using the .deb package name which was generated on your computer.

10) Reboot and enjoy!