Journal of Timothy Kenno Handojo

Dynamic Grub Menu Entry

I needed a way for testing buildroot kernel. For this, I'd put my build on a flashdrive.

I started by preparing a flashdrive (I happen to have a spare 2 GB one) with a new MBR partition table and an ext2 filesystem. Then I installed grub on it.

# mkfs -t ext2 /dev/sdb1
# mount /dev/sdb1 /mnt/sys...

Continue Reading

Building Minimal Linux with Buildroot

In another episode of my experimentation, I was back again tinkering with my X230. This time I tried out Buildroot.

Buildroot is a set of tools to build a tiny complete Linux system from scratch. From the tarball, you can create a bzImage with integrated initramfs that has everything you want to i...

Continue Reading

Customizing the New X230 System

It wouldn't be my system if I don't customize it!

Right now, ony my X230, I got a Debian system on encrypted mSATA SSD, on which I am writing this article and the next ones onward.

Storage

I put mSATA drive on the mPCIe slot not populated by the WiFi card. For it, I got 120 GB drive from Orico...

Continue Reading

Having Plymouth with Gentoo Linux

I am getting tired of the boring text interface upon boot prompting the disk encryption password.

Enter Plymouth. It provides bootsplash thru initramfs.

To use Plymouth, I have to leave the familiar genkernel (kindly provided by Gentoo) to embrace Dracut.

Grub change:

  • root=/dev/mapper/root...

Continue Reading

Rebuilding Gentoo Linux

I am a longtime user of Gentoo Linux. I've had my Gentoo system running on my desktop tower for years.

... until one day when my SSD busted and lost all my data.

After compiling and installing everything -- including the kernel, bootloader, KDE, all on encrypted root filesystem -- ran it just fi...

Continue Reading