You are currently browsing the rescue tag archives.

Grub2 Rescue Mode / Console

Posted 2009.05.27 9.28 in Computers/Internet/Technology by Stephanie

As a change of pace, this missive is actually meant to be useful and informative. If you don’t know anything about grub or grub2 and aren’t interested in learning about bootloaders, then this article is not for you. On the other hand, if you suffer insomnia, then you may wish to keep a copy of this nearby.

Grub2 is the next generation of the Grub bootloader. Grub stands for GRand Unified Bootloader, and offers advantages over LILO and others in that it offers a ‘command line’ mode, enabling one to possibly recover from a non-booting system. Like anything though, there is a learning curve and Grub has it’s own set of commands and quirks. For several years, this article at Linux Journal has been my Grub bible, as it were.

The original Grub (aka legacy grub) is a few years old, and appearantly there were some shortcommings with it, so Grub2 is now out there. It’s available in Debian and Ubuntu repositories, among others. When you install it, legacy Grub is automatically removed. There are warnings that Grub2 is not yet ‘finished’ and all that jazz, but in my case I was having trouble with Grub so I did switch to Grub2, and that seemed to solve my problems. However, it introduced some new ones. Grub2 has a different command set, and more or less works rather differently than legacy Grub. And being so new, there is a lack of good documentation for it. I’m not attempting to write the documentation, only to explain what I was able to figure out myself, in order to rescue a non-booting system.

Read more »