Skip to Content
Knoppix Hacks, 2nd Edition
book

Knoppix Hacks, 2nd Edition

by Kyle Rankin
November 2007
Beginner
420 pages
10h 53m
English
O'Reilly Media, Inc.
Content preview from Knoppix Hacks, 2nd Edition

Chapter 6. Repair Linux

Hacks 65-86

Using Linux effectively is a learning process. One of the best ways to learn is to just dive in and try it. If you are new to Linux, you quickly discover another good way to learn is to fix something you accidentally broke. I consider myself an experienced Linux administrator; by “experienced,” I mean that I have broken my system many times and have had to recover it.

The most frustrating mistake you can make under Linux is one that leaves your computer unbootable. Like with most things in Linux, there are a number of ways that you can do this, and once you do, you will need a rescue disk. Many distributions include special-purpose rescue disks, or the install CD itself doubles as a rescue disk. This works well enough when you need to recover some common mistakes on that particular distribution, but none of the distribution rescue disks come close to the flexibility and number of tools Knoppix includes to fix Linux. Besides, many distribution recovery CDs provide only a command prompt. Knoppix provides a full GUI and a number of very useful GUI tools for repairing mistakes. With Knoppix, it’s even easy to open a web browser or a chat client and search for help.

The first part of this chapter includes many different tips for repairing the Master Boot Record (MBR), including how to restore both lilo and grub, and how to backup and restore your entire MBR. The next part of the chapter is focused on overall diskrepair, and covers how to undelete files ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones
Linux in a Nutshell, Fourth Edition

Linux in a Nutshell, Fourth Edition

Ellen Siever, Stephen Figgins, Aaron Weber
Linux in a Nutshell, 6th Edition

Linux in a Nutshell, 6th Edition

Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins

Publisher Resources

ISBN: 9780596514938Errata Page