Synopses & Reviews
If you think Knoppix is just a Linux demo disk, think again. Klaus Knopper created an entire Linux distribution on a bootable CD (and now a DVD) so he could use his favorite open source tools on any computer. This book includes a collection of tips and techniques for using the enormous amount of software Knoppix offers-not just to work and play, but also to troubleshoot, repair, upgrade, and disinfect your system without having to install a thing.
Knoppix Hacks is just like the distribution it covers: a veritable Swiss Army knife packed full of tools. Scores of industrial-strength hacks-many of them new to this second edition-cover both the standard Knoppix CD and the feature-rich DVD "Maxi" distribution, which is included with this book. Discover how to use Knoppix to its full potential as your desktop, rescue CD, or as a launching point for your own live CD.
With Knoppix Hacks, you can:
- Investigate features of the KDE desktop and its Internet applications
- Save your settings and data between reboots with persistent storage
- Employ Knoppix as a system administration multitool to replace failed servers and more
- Use the CD/DVD as a rescue disc to repair filesystems or a system that won't boot
- Rescue Windows systems with Knoppix to back up files and settings, hack the registry, and more
- Explore other live CDs based on Knoppix that could augment your system
- Easily install the popular Debian GNU/Linux distribution with all of your hardware detected and configured
- Remaster Knoppix to include your favorite software and custom branding
Whether you're a new Linux user, power user, or system administer, this book helps you take advantage of Knoppix and customize it to your needs. You may just find ways to use Knoppix that you never considered.
About the Author
Kyle Rankin is a system administrator who enjoys troubleshooting, problem solving, and system recovery. He is also the author of Knoppix Hacks, Knoppix Pocket Reference, Linux Multimedia Hacks, and Ubuntu Hacks for O'Reilly Media. He has been using Linux in many different forms since 1998, and has used live CDs to demo Linux and troubleshoot machines -- from DemoLinux to the LinuxCare bootable toolbox to Knoppix.
Table of Contents
Foreword; The Past; The Present; The Future; The Book; Credits; About the Author; Contributors; Acknowledgments; Preface; Why Knoppix Hacks?; How to Use This Book; How This Book Is Organized; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Got a Hack?; Chapter 1: Boot Knoppix; 1.1 Hacks 1-11; 1 Boot Knoppix on a Desktop; 2 Boot Virtualized Knoppix; 3 Get Knoppix; 4 Use Knoppix Cheat Codes; 5 Speak Different Languages; 6 Free Your CD to Make Knoppix Run Faster; 7 Straighten Out Your X Settings; 8 Use Advanced Knoppix Cheat Codes; 9 Run Knoppix on a Laptop; 10 Explore Expert Mode; 11 Check RAM for Errors with Memtest86+; Chapter 2: Use Your Knoppix Desktop; 2.1 Hacks 12-24; 12 Explore the Desktop; 13 Customize the Desktop Look; 14 Get Office Work Done; 15 Configure Your Printer; 16 Use Peripheral Devices; 17 Have Fun and Play Some Games; 18 Rock Out with Knoppix Multimedia; 19 Connect to the Internet; 20 Connect to the Internet with GPRS Bluetooth; 21 Explore the Internet; 22 Get Help; 23 Try Other Desktop Environments; 24 Become Root; Chapter 3: Tweak Your Desktop; 3.1 Hacks 25-39; 25 Use Aufs; 26 Create Persistent Knoppix Settings; 27 Use Your Linux Desktop Settings; 28 Use Your Windows Desktop Settings; 29 Make a Kiosk; 30 Make a Party Arcade; 31 Network Boot Knoppix; 32 Create a Knoppix "Thin Client"; 33 Develop Applications; 34 Install Nvidia 3D Drivers; 35 Point-and-Klik to Install Applications; 36 Create Your Own Klik Recipe; 37 Install Programs to the Live Disk; 38 Browse the Web Anonymously; 39 Install Multimedia Codecs; Chapter 4: Install Linux with Knoppix; 4.1 Hacks 40-45; 40 Explore the Knoppix Installer; 41 Install Knoppix as a Single-Boot System; 42 Install Knoppix on a Multiboot System; 43 Convert Knoppix to Debian Unstable; 44 Install Gentoo with Knoppix; 45 Update a Knoppix Install from the CD; Chapter 5: Put Knoppix in Your Toolbox; 5.1 Hacks 46-64; 46 Run Remote Desktops; 47 Run X Remotely with FreeNX; 48 Browse Windows Shares; 49 Create an Emergency Router; 50 Create an Emergency File Server; 51 Create an Emergency Web Server; 52 Make an Emergency Mail Relay; 53 Run Other Emergency Services; 54 Wardrive with Knoppix; 55 Audit Network Security; 56 Check for Root Kits; 57 Collect Forensics Data; 58 Clone Hard Drives; 59 Wipe a Hard Drive; 60 Test Hardware Compatibility; 61 Copy Settings to Other Distributions; 62 Add Knoppix to Your PXE Boot Environment; 63 Set Up a Webcam Server in a Snap; 64 Create a Weekend Wiki; Chapter 6: Repair Linux; 6.1 Hacks 65-86; 65 Repair Lilo; 66 Repair Grub; 67 Kill and Resurrect the Master Boot Record; 68 Find Lost Partitions; 69 Resize Linux Partitions; 70 Repair Damaged Filesystems; 71 Recover Deleted Files; 72 Rescue Files from Damaged Hard Drives; 73 Back Up and Restore; 74 Migrate to a New Hard Drive; 75 Mount Linux Software RAID; 76 Create Linux Software RAID; 77 Migrate to Software RAID; 78 Migrate Software RAID 1 to RAID 5; 79 Add an Extra Drive to a Software RAID 5 Array; 80 Mount LVM Partitions; 81 Reset Linux Passwords; 82 Fix Broken Init Services; 83 Repair Debian Packages; 84 Repair RPM Packages; 85 Copy a Working Kernel; 86 Turn a Physical Machine into a VMware Virtual Machine; Chapter 7: Rescue Windows; 7.1 Hacks 87-95; 87 Fix the Windows Boot Selector; 88 Back Up Files and Settings; 89 Resize Windows Partitions; 90 Reset Lost NT Passwords; 91 Edit the Windows Registry; 92 Restore Corrupted System Files; 93 Scan for Viruses; 94 Download Windows Patches Securely; 95 Knoppix on Intel Macs; Chapter 8: Knoppix Reloaded; 8.1 Hacks 96-108; 96 Master Morphix; 97 Educate Yourself with Freeduc; 98 Damn Small Linux; 99 INSERT Security Here; 100 Download Local Area Security; 101 Full Protection with S-T-D; 102 Distribute Compiles with distccKNOPPIX; 103 Distribute the Load with ClusterKnoppix; 104 Analyze Quantian; 105 Find GIS Knoppix on the Map; 106 TiVo Your Computer; 107 Compose Musix; 108 Contribute to Knoppix; Chapter 9: Knoppix Remastered; 9.1 Hacks 109-120; 109 Create a Customized Knoppix; 110 Trim the Fat; 111 Personalize Knoppix; 112 Keep Your Custom Disk Up to Date; 113 Automate Knoppix Remastering; 114 Morph Morphix; 115 Auto-Build Morphix Modules MapLab Tutorial Map; 116 Change the Default Language on an ISO Image; 117 Remaster Knoppix Without Remastering; 118 Change Boot Defaults Without Remastering; 119 Tweak the initrd Without Remastering; 120 Put Knoppix on a USB Drive; Colophon;