Mounting Raw Disk Images

I have made a few raw disk images for backup purposes or because I needed to dump the data off the drive before it failed. With images you typically write them back to a drive but what if you don't want to? How do you mount a partition from the disk image?


  • Disk image
  • FS Drivers for said disk iamge


Optionally check the image file.

Updating Gentoo

Gentoo is a rolling-release distribution meaning that you don't have to wait for major releases (e.g. Red Hat 6, 7, 8, or 6.1, 7.1, 7.9, etc.) to get the current version of KDE, Gnome, PHP, etc. There is a trade off between monolithic releases and rolling-updates. Upgrading monolithic releases can be a annoying, time consuming, and may require several reboots. Using Fedora for example, a new core is released about every 6 months and is only supported for roughly a year. Although the process is not difficult, it isn’t something that I look forward to.

Borg Backup

About three years ago I wrote a post on how to setup duplicity and by that time I was using the program for about two years. Not long after I made that post I realized that it wasn't the best backup solution for me. The two biggest reasons why I ditched duplicity was first, it was slow and second it ate up a lot of disk space. The two reasons go hand-in-hand. Duplicity doesn't do any deduplication, which means if I move a directory that is 100GB, and there was only 1GB of changes to existing files, the entire backup for the day would be 101GB.

Laravel Administration Panels

One of my fiscal year goals at work is to update our starter app. When I first started I was tasked with updating the existing app from Laravel 5.1 to 5.5. That was almost four years ago. At the time I was still pretty new to Laravel and hadn't known about some of the other dependencies out there that would make my job easier, dependencies such as Orchid, Backpack, Laravel permissions, Voyager, etc. Please note that this is not a how-to guide and therefore I'm not going to go through the process of installing and setup of each project.

Reshaping mdadm RAID 6 to RAID 10

When setting up a RAID array I have always opted for either RAID 5 for arrays with less than five drives or RAID 6 when there are more than five. It wasn't until recently that I noticed how much of a penalty there is for running a RAID 6, six IOPs while the penalty for RAID 5 is four IOPs. When a drive has failed in one of my RAID 6 arrays, I never saw the rebuild speed get above 75MiB/s even though the failed drive was capable of 150MiB/s. For smaller arrays, that may not be such a big deal. When it's a 16TiB array it will take about two and a half days to rebuild.