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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones
Linux

Linux

James Kirkland, David Carmichael, Christopher L. Tinker, Gregory L. Tinker

Publisher Resources

ISBN: 9780596514938Errata Page