SHARE
Facebook X Pinterest WhatsApp

Expanding Ubuntu Recovery Mode

Written By
thumbnail
Web Webster
Web Webster
Jan 24, 2011

[ Thanks to jhansonxi for this link.
]

“Recovery Mode is a text-based interface to a few quick
repair tools that is installed by default with most Ubuntu releases
and derivatives. I wrote a few add-ons for it that increase its
usefulness in remote repair and diagnostics situations. These were
developed and tested on Ubuntu 10.04 (Lucid Lynx).

“Starting Ubuntu in Recovery Mode (aka. Friendly Recovery) is
relatively easy. Just hold down the shift key after the BIOS POST
to get Grub2 to show its menu, then just select the kernel with the
“recovery” option. Also note the memtest86+ option which is useful
for identifying bad RAM.

“Adding on to Recovery Mode is relatively simple. At its heart
is a shell script, “/usr/share/recovery-mode/recovery-menu”, that
is started at the end of the single mode (runlevel S) boot. It
looks through the options subdirectory and starts every script it
finds, passing it a parameter of “test”. It looks for a return
status of 0 and the description of the script on stdout. Scripts
with valid responses are added together and shown in a menu listing
using the whiptail dialogger. The user selects one from the menu to
execute it.”


Complete Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

How to Install Immich on openSUSE
r00t
Sep 6, 2024
Beginners Guide for ID Command in Linux
Benny Lanco
Sep 5, 2024
[Fixed] An Unexpected Error Occurred on Gnome Extensions
Patrick
Sep 3, 2024
Run a Google Search From the Linux Command Line With Googler
TechRepublic
Aug 27, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.