ebook img

Knoppix Hacks: Tips and Tools for Using the Linux Live CD to Hack, Repair, and Enjoy Your PC PDF

422 Pages·2007·4.25 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Knoppix Hacks: Tips and Tools for Using the Linux Live CD to Hack, Repair, and Enjoy Your PC

KNOPPIX HACKSTM Other Linux resources from O’Reilly  Related titles Linux Cookbook Linux Network Linux Desktop Hacks Administrator’s Guide  Linux in a Nutshell Linux Server Hacks Linux Multimedia Hacks Ubuntu Hacks Hacks Series Home hackszine.com is a community site for developers and power users of all stripes. Readers learn from each other as they share their favorite tips and tools for Mac OS X, Linux, Google, Windows XP, and more. Linux Books linux.oreilly.com is a complete catalog of O’Reilly books Resource Center on Linux and Unix and related technologies. You’ll also find links to news, events, articles, weblogs, sample chapters, and code examples. oreillynet.com is the essential portal for developers inter- ested in open and emerging technologies, including new platforms, programming languages, and operating systems. Conferences O’Reilly brings diverse innovators together to nurture the ideas that spark revolutionary industries. We special- ize in documenting the latest tools and systems, translating the innovator’s knowledge into useful skills for those in the trenches. Visit conferences.oreilly.com for our upcoming events. Safari Bookshelf (safari.oreilly.com) is the premier online reference library for programmers and IT professionals. Conduct searches across more than 1,000 books. Sub- scribers can zero in on answers to time-critical questions in a matter of seconds. Read the books on your Book- shelf from cover to cover or simply flip to the page you need. Try it today with a free trial. SECOND EDITION KNOPPIX HACKSTM Kyle Rankin Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo ™ Knoppix Hacks, Second Edition by Kyle Rankin Copyright © 2008 O’Reilly Media, Inc. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or Contents Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Credits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix Chapter 1. Boot Knoppix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1. Boot Knoppix on a Desktop 2 2. Boot Virtualized Knoppix 5 3. Get Knoppix 6 4. Use Knoppix Cheat Codes 9 5. Speak Different Languages 11 6. Free Your CD to Make Knoppix Run Faster 13 7. Straighten Out Your X Settings 16 8. Use Advanced Knoppix Cheat Codes 19 9. Run Knoppix on a Laptop 21 10. Explore Expert Mode 22 11. Check RAM for Errors with Memtest86+ 23 Chapter 2. Use Your Knoppix Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 12. Explore the Desktop 28 13. Customize the Desktop Look 34 14. Get Office Work Done 39 15. Configure Your Printer 44 16. Use Peripheral Devices 46 17. Have Fun and Play Some Games 49 v 18. Rock Out with Knoppix Multimedia 50 19. Connect to the Internet 55 20. Connect to the Internet with GPRS Bluetooth 57 21. Explore the Internet 62 22. Get Help 65 23. Try Other Desktop Environments 66 24. Become Root 70 Chapter 3. Tweak Your Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 25. Use Aufs 72 26. Create Persistent Knoppix Settings 75 27. Use Your Linux Desktop Settings 79 28. Use Your Windows Desktop Settings 83 29. Make a Kiosk 86 30. Make a Party Arcade 90 31. Network Boot Knoppix 94 32. Create a Knoppix “Thin Client” 96 33. Develop Applications 97 34. Install Nvidia 3D Drivers 100 35. Point-and-Klik to Install Applications 104 36. Create Your Own Klik Recipe 106 37. Install Programs to the Live Disk 107 38. Browse the Web Anonymously 109 39. Install Multimedia Codecs 111 Chapter 4. Install Linux with Knoppix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 40. Explore the Knoppix Installer 113 41. Install Knoppix as a Single-Boot System 118 42. Install Knoppix on a Multiboot System 120 43. Convert Knoppix to Debian Unstable 122 44. Install Gentoo with Knoppix 124 45. Update a Knoppix Install from the CD 126 vi | Contents Chapter 5. Put Knoppix in Your Toolbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 46. Run Remote Desktops 129 47. Run X Remotely with FreeNX 133 48. Browse Windows Shares 138 49. Create an Emergency Router 139 50. Create an Emergency File Server 146 51. Create an Emergency Web Server 148 52. Make an Emergency Mail Relay 150 53. Run Other Emergency Services 154 54. Wardrive with Knoppix 158 55. Audit Network Security 166 56. Check for Root Kits 174 57. Collect Forensics Data 176 58. Clone Hard Drives 180 59. Wipe a Hard Drive 184 60. Test Hardware Compatibility 186 61. Copy Settings to Other Distributions 192 62. Add Knoppix to Your PXE Boot Environment 194 63. Set Up a Webcam Server in a Snap 197 64. Create a Weekend Wiki 198 Chapter 6. Repair Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 65. Repair Lilo 202 66. Repair Grub 203 67. Kill and Resurrect the Master Boot Record 205 68. Find Lost Partitions 207 69. Resize Linux Partitions 209 70. Repair Damaged Filesystems 211 71. Recover Deleted Files 214 72. Rescue Files from Damaged Hard Drives 217 73. Back Up and Restore 221 74. Migrate to a New Hard Drive 223 75. Mount Linux Software RAID 225 76. Create Linux Software RAID 227 77. Migrate to Software RAID 230 Contents | vii 78. Migrate Software RAID 1 to RAID 5 233 79. Add an Extra Drive to a Software RAID 5 Array 235 80. Mount LVM Partitions 237 81. Reset Linux Passwords 239 82. Fix Broken Init Services 240 83. Repair Debian Packages 243 84. Repair RPM Packages 245 85. Copy a Working Kernel 246 86. Turn a Physical Machine into a VMware Virtual Machine 247 Chapter 7. Rescue Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253 87. Fix the Windows Boot Selector 254 88. Back Up Files and Settings 256 89. Resize Windows Partitions 258 90. Reset Lost NT Passwords 261 91. Edit the Windows Registry 264 92. Restore Corrupted System Files 267 93. Scan for Viruses 269 94. Download Windows Patches Securely 272 95. Knoppix on Intel Macs 273 Chapter 8. Knoppix Reloaded . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276 96. Master Morphix 277 97. Educate Yourself with Freeduc 279 98. Damn Small Linux 281 99. INSERT Security Here 284 100. Download Local Area Security 287 101. Full Protection with S-T-D 290 102. Distribute Compiles with distccKNOPPIX 314 103. Distribute the Load with ClusterKnoppix 315 104. Analyze Quantian 322 105. Find GIS Knoppix on the Map 325 106. TiVo Your Computer 326 107. Compose Musix 329 108. Contribute to Knoppix 331 viii | Contents Chapter 9. Knoppix Remastered . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 109. Create a Customized Knoppix 334 110. Trim the Fat 341 111. Personalize Knoppix 344 112. Keep Your Custom Disk Up to Date 349 113. Automate Knoppix Remastering 351 114. Morph Morphix 353 115. Auto-Build Morphix Modules MapLab Tutorial Map 356 116. Change the Default Language on an ISO Image 358 117. Remaster Knoppix Without Remastering 360 118. Change Boot Defaults Without Remastering 363 119. Tweak the initrd Without Remastering 366 120. Put Knoppix on a USB Drive 367 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 Contents | ix

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.