Archive for 'Linux Recovery'

Why the ext3 fsck’s after X days or Y mounts?

Reading through my RSS feeds, I came across the following blog post describing one Linux administrator using tune2fs to disable the “please run fsck on this file system after X days or Y mounts.” I’ve got to admit, this is kind of annoying. I’ve taken production critical Linux boxes down for some maintenance, only to […]

Resintalling grub from single user mode

While surfing the web this weekend, I came across the following procedure for reinstalling grub from the command line: 1. Boot the system from an installation boot medium. 2. Type linux rescue at the installation boot prompt to enter the rescue environment. 3. Type chroot /mnt/sysimage to mount the root partition. 4. Type /sbin/grub-install /dev/hda […]

Redhat recovery modes

If you have ever had to deal with a sick Redhat server, you may be familiar with the rescue, emergency and singler-user modes of operation. I have heard people refer to rescue modes incorrectly, which can sometimes lead to some interesting stories (there are several slight subtleties between them). To clear up any confusion surrounding […]

Recovering root passwords with Fedora Core

I performed a Fedora core 4 installation today, and for some reason the root password I typed in during the installation got munged (or I typed it incorrectly two times). Since Fedora Core uses grub as a boot loader, I was able to recover from this situation relatively quickly. To get to a shell where […]