How I Resized My Linux Boot Partition

I recently ran into a classic problem on my long-running Fedora installation: my /boot partition was full. Back when I set up the system (around Fedora 20), 400MiB was more than enough. Now, with modern kernels, it can barely hold two versions, let alone the default three that Fedora manages. This meant I couldn’t run system updates. The challenge was that my disk was partitioned with /dev/sda1 for /boot and /dev/sda2 as a single large LVM physical volume for my /root and /home filesystems....

October 31, 2025 · 3 min · 616 words · kenno

Grow partition with growpart

During the upgrade of Fedora 38 to Fedora 39 (beta) on my main desktop, the first attempt failed due to insufficient free disk space on the root volume. After some manual intervention such as vacuuming the journald logs, I was able to perform the successful upgrade. Not that it matters, but I’m writing this blog post on the same desktop running Fedora 39 Beta. This post is to record how I increase the root volume on my desktop with the help of a few tools such as growpart, lsblk, resize2fs,…etc....

October 6, 2023 · 4 min · 852 words · kenno

Copy hard disks or partitions with dd

Warning: The following is for personal note only, and is not meant to be a tutorial or guide. On Debian server at work, we have /home mounted to /dev/hda6 partition, and I want to move that to a new hard disk /dev/hdb. First, I need to create the new partition on /dev/hdb using fdisk with a desired size. Then, use dd to copy the content from /dev/hda6 to /dev/hdb1. # dd if=/dev/hda6 of=/dev/hdb1 bs=1024 The above command instructs dd to read the content from /dev/hda6 and writes it to /dev/hdb1....

July 14, 2009 · 1 min · 145 words · kenno