Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Knoppix Hacks

Posted by timothy on Wed Nov 17, 2004 01:40 PM
from the props-to-klaus dept.
norburym writes "The publishers' blurb on the back cover describes Knoppix as 'a veritable Swiss Army knife in CD form.' Knoppix Hacks by Kyle Rankin is no less astounding in revealing the hidden versatility and power inherent in this unassuming tool." Read on for the rest of Norbury-Glaser's review.
Knoppix Hacks: 100 Industrial-Strength Tips and Tools (with CD)
author Kyle Rankin
pages 336
publisher O'Reilly
rating 10
reviewer Mary Norbury-Glaser
ISBN 0596007876
summary Knoppix Hacks

Most Linux users will recognize Knoppix even if they've never given it a whirl, but this book goes beyond the simple "how to create and boot from a Knoppix Linux Live CD." Rankin displays the raw power that lies beneath the surface of simply running a clean distro of GNU/Linux free from fear of installation issues. Proper Knoppix books are lacking in the wild, with mere chapters in general Linux volumes mostly dedicated to larger issues for both the novice and the intermediate user. One or two Knoppix books are out there (and one by Samuel Hart, Knoppix Komplete, is in press) but what sets Knoppix Hacks apart is not that it is one of the few available on the subject, but rather Rankin's skill in exposing the underutilized potential in the Knoppix tool set.

This book begins with a forward by Klaus Knopper, creator of Knoppix. It's always entertaining and enlightening to read a first-hand account of some clever soul's chance involvement with an "experiment" that turned out wildly successful and this is no exception. The "Knoppix Story" is engaging and leaves the reader with a sense of awe at the ingenuity of this dedicated and resourceful individual.

Rankin has collected a "who's who" of Linux hackers to contribute to this book: John Andrews, creator of Damn Small Linux; Fabian Franz, creator of FreeNX server; Alex de Landgraaf, creator of Morphix; Simon Peter, developer of klik; Wim Vandersmissen, creator of ClusterKnoppix and many others no less accomplished, all of whom have contributed to the future of free software/open source development.

As is expected with the O'Reilly Hacks series of books, the chapters are structured with clean typographical conventions identifying URLs, directory/folder/file names, code examples and excerpts, sample text delineation and cross-references. Tips and warnings are clearly identified with pushpin and screw graphics, respectively, and indented. There are a helpful number of tips without getting too overwhelming or annoying by breaking the flow of the text. The thermometer icons next to each hack indicate the level of expertise required: beginner, intermediate and expert. Screenshots are placed where needed but again, the reader isn't left distracted by unnecessary filler.

The nine chapters cover hacks ranging from beginner to expert: "Boot Knoppix," "Use your Knoppix Desktop," "Tweak Your Desktop," "Install Linux with Knoppix," "Put Knoppix in Your Toolbox," "Repair Linux," "Rescue Windows," "Knoppix Reloaded" and "Knoppix Remastered." The book includes a CD with v.3.4 of Knoppix (3.6 having just been released; the author wisely chooses to stay with the tried, true and debugged version).

The first two chapters are pitched to beginners, with Chapter 1, "Boot Knoppix," leaping directly into downloading Knoppix and creating a bootable CD. It then covers "cheat codes" - options passed at the boot: prompt to work around hardware detection and support failures. Tweaking X settings, desktop and laptop scenarios, language settings and optimizing the Knoppix CD are also included here. Chapter 2 introduces details of the KDE desktop and encourages the reader to become familiar with the Knoppix desktop, the applications included and connecting to the Internet (even via GPRS over Bluetooth!).

Chapter 3 concentrates on saving settings and documents, using Knoppix as a kiosk or terminal server to boot multiple computers over a network from the same Knoppix CD, and how to use the live installer feature to add extra packages directly to ramdisk.

Chapter 4 covers the inevitable situation when you will find yourself using Knoppix so often that you decide to install it onto your hard drive. Rankin includes single and dual boot system installs.

Chapter 5, "Put Knoppix in Your Toolbox," is where admins should head. The full list of 15 indispensable hacks in this chapter include running remote desktops via rdesktop or xvncviewer, running X remotely with FreeNX, browse Windows shares, create an emergency router, emergency file or web server, wardriving with Knoppix (including how to capture GPS coordinates along with data), audit network security, check for root kits, collect forensics data, clone hard drives, wipe hard drives, test hardware compatibility, and copy settings to other distributions.

"Repair Linux" (Chapter 6) is for those of us who spend a lot of time "breaking" things in the course of experimenting and need to recover the system. Rankin shows hacks for repairing both lilo and grub, how to: back up and restore the MBR, find lost partitions, resize linux partitions, repair damaged file systems, recover deleted files, rescue files from damaged hard drives, backup and restore, migrate to a new hard drive, create Linux software RAID, reset Linux passwords, repair Debian and RPM packages, and copy a working kernel. We will always break something along the way and these hacks help minimize the frustration.

Chapter 7, "Rescue Windows"...well, need I say more? Put these hacks into practice and you'll probably be using them every day. Use Knoppix to: fix the Windows boot selector, backup files and settings, write to NTFS, resize Windows partitions, reset lost NT passwords, edit the Windows registry, restore corrupted system files, scan for viruses and download Windows patches securely. A must for any systems administrators with Windows machines lurking everywhere.

Knoppix Reloaded, in Chapter 8, takes on Knoppix variants Morphix, Gnoppix, Mediainlinux, Freeduc, Damn, Small Linux, INSERT, L.A.S. Linux, Knoppix-STD, distccKnoppix, ClusterKnoppix, Quantian, GIS Knoppix and KnoppMyth. There is also a well-deserved pitch at the conclusion of this chapter to become a Knoppix developer and contribute to the ongoing work.

The final chapter includes seven hacks that help the reader create their own customized Knoppix CD. Knoppix Remastered walks the reader through the steps of customizing and personalizing a live CD.

This is one of the liveliest technical books I've read in a long time. A few of the easier hacks can be found on Knoppix.net or elsewhere but I think Rankin has managed to put the majority of Knoppix related material in one book that could be subtitled the "First Knoppix Manual." The admin hacks, in particular, will add a whole new arsenal of Knoppix wonders to an admin's repertoire. Kudos to O'Reilly for publishing such an outstanding volume, to Rankin for compiling some damn useful material, and to MacGyver for inspiring many of us to look for simple solutions to seemingly insurmountable problems.


You can purchase Knoppix Hacks from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • so true (Score:4, Interesting)

    by Anonymous Coward on Wednesday November 17 2004, @01:44PM (#10844468)
    as a camp counselor I used knoppix to save a child's movie files off a camp computer where windows had incorrectly written the boot sector.
  • For Dummies (Score:3, Funny)

    by MikeMacK (788889) on Wednesday November 17 2004, @01:44PM (#10844475)
    At least he didn't call it "Knoppix For Dummies".
  • Chapter 1337 (Score:4, Funny)

    by dirtmerchant (162306) on Wednesday November 17 2004, @01:47PM (#10844513)
    (http://www.bertbullough.com/)
    And of course, chapter 1337 covers downloading a pdf copy of this book using purely open-source solutions.
    • Re:Chapter 1337 by Anonymous Coward (Score:1) Wednesday November 17 2004, @02:13PM
  • Sounds comprehensive (Score:3, Interesting)

    by mogrify (828588) on Wednesday November 17 2004, @01:47PM (#10844518)
    (http://mogrify.org/)
    I've used Knoppix a few times to rescue hapless Windows installations -- seems like every time I look for some needed utility, I find it somewhere in Knoppix. I'm sure it can do things I've never thought of, so it's nice to see a user manual of sorts for what's become an indispensible tool in the ol' repair kit. Put this on my Christmas list.
  • Knoppix saved me (Score:1)

    by alarch (830794) on Wednesday November 17 2004, @01:55PM (#10844616)
    (http://ao.kyknos.org/)
    Knoppix is really powerful tool. I use it often (or its Czech clone called Danix) but recently it saved me really. After my computer broke down not being able to boot from HD i use Knoppix for my everyday work. If it was not here, I would be in deep trouble, because I cannot afford a new computer now. Thanx for Knoppix!!
    • Re:Knoppix saved me by mav[LAG] (Score:2) Wednesday November 17 2004, @02:31PM
      • Danix by alarch (Score:2) Wednesday November 17 2004, @02:47PM
        • Re:Danix by PitaBred (Score:2) Wednesday November 17 2004, @03:20PM
          • Re:Danix by alarch (Score:1) Wednesday November 17 2004, @03:27PM
          • Re:Danix by kiltedtaco (Score:2) Wednesday November 17 2004, @08:55PM
        • Re:Danix by magefile (Score:2) Wednesday November 17 2004, @03:37PM
          • Re:Danix by alarch (Score:1) Wednesday November 17 2004, @03:46PM
            • Re:Danix by b17bmbr (Score:2) Wednesday November 17 2004, @05:20PM
              • Re:Danix by alarch (Score:1) Wednesday November 17 2004, @05:50PM
              • Re:Danix by b17bmbr (Score:2) Wednesday November 17 2004, @10:28PM
              • 1 reply beneath your current threshold.
            • Re:Danix by AvitarX (Score:1) Wednesday November 17 2004, @05:46PM
            • Re:Danix by night tilda (Score:1) Wednesday November 17 2004, @06:43PM
        • Re:Danix by mav[LAG] (Score:2) Wednesday November 17 2004, @04:40PM
    • Danix by xdc (Score:1) Wednesday November 17 2004, @02:41PM
      • Re:Danix by alarch (Score:1) Wednesday November 17 2004, @02:50PM
      • Re:Danix by alarch (Score:1) Wednesday November 17 2004, @05:08PM
        • Re:Danix by xdc (Score:1) Sunday November 21 2004, @10:35AM
    • Knoppix saved my bacon too by rjshields (Score:1) Wednesday November 17 2004, @04:00PM
  • by HenryKoren (735064) on Wednesday November 17 2004, @01:58PM (#10844646)
    A hack... a "worn-out horse for hire". "harsh coughing", a "rough, irregular cut". a "quick job that produces what is needed, but not well".

    These books might not be all about hacking... But the title might make the reader feel special about themselves.

    Are these hack books trying to Capitalize on 'leet-ness, or are they simply the antipathy of the "for dummies" series?

    Is self inflation and self deprecation really such a critical component to technical literature sales?
  • Ob. Amazon Karma Whore Link (Score:1, Informative)

    by bujoojoo (161227) on Wednesday November 17 2004, @02:03PM (#10844694)
    Amazon link [amazon.com]
  • BioKnoppix & VLinux (Score:5, Interesting)

    BioKnoppix and VLinux are indispensable toolboxes for every bioinformatician out there, especially if you do lots of consulting (or need to travel from lab to lab, without having a laptop). Both distributions contains tools for sequence and protein analysis, 3D structure viewing software... etc. Very handy...
  • by Sai Babu (827212) on Wednesday November 17 2004, @02:05PM (#10844708)
    (http://edebris.com/)
    the reader isn't left distracted by unnecessary filler."

    Excessive screenshots has been one of the main reasons I stay away from the 'hacks' books, so this is good news.

    It will be worth a sawbuck if it and a knoppix CD get my 'Windows Flumoxed'(TM) brother interested enough in Linux to ditch the Mr. Softy OS product.

  • Great introduction to Linux (Score:5, Interesting)

    by MysticalMatt517 (772389) on Wednesday November 17 2004, @02:06PM (#10844715)
    (http://www.mysticalmatthew.com/)
    This sounds like an interesting book, I may have to pick it up next time I'm at BN.

    I think one of the most fantastic things about Knoppix is that it provides a safe gateway for people to get into the Linux world, especially young people. At some point (around 8th grade) they realize there's more to life than Windows, but don't know enough to create a dual boot system. Knoppix is a great way for them to get their feet wet.

    It's nice to see a book out on this. Regardless of whether these are truly "hacks" or not is irrelevant. The information it brings forward is interesting.
  • New Knoppix user sings praises (Score:2, Interesting)

    by Anonymous Coward on Wednesday November 17 2004, @02:08PM (#10844735)
    I just started experimenting with Knoppix recently. It was extremely cool to boot into a full KDE desktop with only 128M of memory and no hard disk support. I could even launch Open Office and Mozilla, but not at the same time. Extremely refreshing to realize that I do not have to have a system with 1G of memory and a 400G hard drive to get a very useable machine.

    It also came in handy for offloading files from an unbootable Windows 2000 machine to another machine. This can easily be done even if you know nothing about Linux.
  • by mogrify (828588) on Wednesday November 17 2004, @02:09PM (#10844750)
    (http://mogrify.org/)
    that everyone is happily using, how about we just buy the USB-key-equipped Swiss Army Knife and boot Feather with it? Now I can open the PC case with my Linux distro -- hmmm, no more metaphor.
  • I know kyle, IRL! (Score:2, Interesting)

    by donniejones18 (749882) on Wednesday November 17 2004, @02:12PM (#10844774)
    (http://www.darthik.com/)

    IRL, Kyle is the person who got me to start using linux! :-)

    Thanks kyle, I've never looked back.

    -Donnie

  • Morphix (Score:2, Informative)

    by quamaretto (666270) on Wednesday November 17 2004, @02:16PM (#10844810)
    (http://www.quux.info/)
    I'm a big fan of Morphix. I've used Morphix Lightgui (Comes with XFCE) and GNUStep [linuks.mine.nu] (The distro) at various times and I think the project is headed good places. But then, I haven't used the original Knoppix in quite awhile. I should pick it up again.
  • Knoppix on a HD? (Score:5, Interesting)

    by siliconjunkie (413706) on Wednesday November 17 2004, @02:20PM (#10844843)
    (http://chris.webdevlab.com/)
    Hopefully this is on topic enough:

    Ever since I saw the Mandrake Globetrotter [slashdot.org] I have been really wanting to roll my own "portable linux virtual machine". I don't want to pay for the overpirced Globetrotter, so I bought a 200GB drive with an external Firewire/USB2.0 enclosure.

    Now, I have found some excellent resources on installing Linux on an external firewire drive [ibm.com], but the thing is, this (and other articles) are written with the idea that the end result will be used on one system, my goal is to have something like the Globetrotter which is a FULL distro of Mandrake 10, with the awesome hardware detection of Knoppix at boot time (so it can used it on multiple machines with no problem, like a Knoppix disc).

    My question is, how would one go about doing this? I have considered just using the Knoppix "install to hard drive" feature, but I would rather have a more robust fully featured distro from the get go. Mandrake does not make it clear on their site if Mandrake 10 has the inherant ability to detect hardware at bootime like the version that comes on the Globetrotter does...any ideas?
    • Re:Knoppix on a HD? by ltbarcly (Score:1) Wednesday November 17 2004, @02:36PM
    • Re:Knoppix on a HD? (Score:4, Interesting)

      by Anonymous Coward on Wednesday November 17 2004, @04:05PM (#10846118)
      The review doesn't mention this, but I hope the book distinguishes between the (at least) two modes of installing Knoppix, which, since I can't recall the official terms, I'll call Knoppix Mode and Debian Mode.

      Installing in Debian Mode is basically using Knoppix to detect the hardware and then copying a fully installed Debian, configured *for your particular hardware* onto the hard drive. When you subsequently boot from the hard drive, it just boots up a normal debian that has been configured for your hardware, exactly as if you'd installed Debian and manually configured all hardware.

      Installing in Knoppix Mode includes the Knoppix hardware auto-detect stuff in the boot sequence if the installed hard drive. This means it goes through hardware auto-detection every time you boot. The downside is it might take longer to boot. The upside is you can painlessly change hardware, or even connect the hard drive to a completely different computer, and the system will boot perfectly.

      I find Knoppix Mode to be fascinating, and if all the kinks are worked out it could be great for hard drive resellers to throw a copy on the hard drive.

      Anyone have links to more information about these to modes and their pros and cons?
      [ Parent ]
    • Re:Knoppix on a HD? by bobodeclowne (Score:2) Wednesday November 17 2004, @08:30PM
  • Koppix saved my ass (Score:3, Interesting)

    by goodrob (204257) on Wednesday November 17 2004, @02:25PM (#10844887)

    I once lost all data on my D:\ 80 GB drive when i reformatted my C:\ due to a virus..

    I tried so many utilities to rescue it.. Norton, partition magic and a bunch of others i had never heard of and never looked at again..

    nothing worked..

    finally i booted to knoppix and changed the flag of the partition to what it was supposed to be and presto! i had everything back again!

    i love knoppix!
  • Knoppix is easy entry linux (Score:5, Interesting)

    by landimal_adurotune (824425) on Wednesday November 17 2004, @02:27PM (#10844903)
    (http://www.landimal.com/)
    I work at an all girl private college, and we put in a Perfigo box. Many of the students had a tough time getting windows patches and spyware was wreaking havok.

    So I modified the startup html of Knoppix to tell them how to get GAIM going and do internet browsing. Tons of these girls are happy linux users, and have gone on to 'the hard stuff' like gentoo.

    The disk is indespensible as a system rescue as well.
    • Re:Knoppix is easy entry linux by Anonymous Coward (Score:3) Wednesday November 17 2004, @02:31PM
    • Re:Knoppix is easy entry linux by Anonymous Coward (Score:2) Wednesday November 17 2004, @02:57PM
      • Re:Knoppix is easy entry linux by j1bb3rj4bb3r (Score:1) Wednesday November 17 2004, @03:10PM
      • Re:Knoppix is easy entry linux (Score:4, Interesting)

        by j1bb3rj4bb3r (808677) on Wednesday November 17 2004, @03:20PM (#10845537)
        I think I should also add that an all girls private college is not what it's cracked up to be. I've never felt like such a complete outsider before in my life. My ex-gf and her friends were great to me, but any parties I went to, I was often the only guy. While that may sound like heaven to those social rejects who've never spent much time with girls in the first place, it's actually a very uncomfortable feeling, because you really just don't fit in, don't belong, and are pretty much just tolerated (and that's by the straight girls). Don't get me wrong... I met lots of very cool people there, it's just the social environment of an all-one-gender place is very different than coed environments.
        [ Parent ]
    • 2 replies beneath your current threshold.
  • Finally, all those work PC's... (Score:5, Interesting)

    by RobertB-DC (622190) * on Wednesday November 17 2004, @02:30PM (#10844939)
    (http://www.dixie-chicks.com/ | Last Journal: Tuesday July 24, @05:17PM)
    The final chapter includes seven hacks that help the reader create their own customized Knoppix CD. Knoppix Remastered walks the reader through the steps of customizing and personalizing a live CD.

    Aha! Finally, I'll be able to create a bootable BZFlag CD-ROM [bzflag.org], and I won't have to ask permission before bringing my friends to the office on the weekend for a fragging session. Power goes out here regularly, so as long as everyone has to power up in the morning, nobody will be the wiser. Heh.

    Now, where's that "Post Anonymously" check bo
  • Saving Windows Machines (Score:1, Informative)

    by Anonymous Coward on Wednesday November 17 2004, @02:34PM (#10844998)
    Windows can do this too ya know, have a look around the net for BartsPE.
  • I should make a distro (Score:4, Funny)

    by falconed (645790) on Wednesday November 17 2004, @02:36PM (#10845032)
    Linus made Linux,
    Knopper made Knoppix,
    Falcone should make Fallix!
  • by m50d (797211) on Wednesday November 17 2004, @02:38PM (#10845061)
    (http://www.sdonag.plus.com/ | Last Journal: Wednesday June 07 2006, @04:05AM)
    Knoppix-STD is only ~460 mb, which leaves 240 mb you can use to your advantage. Put some "normal" files in there - I use a set of mp3s and play them on my mp3 cd player, alternatively some "work"-type files or a set of ebooks. Then create the iso with mkisofs -r -J -hide-joliet KNOPPIX (and -hide-joliet index.html etc. if you leave those files in there) Now you have a bootable cd full of security tools which, when viewed on a windows pc, looks completely innocuous.
  • by crawdaddy (344241) on Wednesday November 17 2004, @02:38PM (#10845069)
    Rankin has collected a "who's who" of Linux hackers to contribute to this book: John Andrews, creator of Damn Small Linux; Fabian Franz, creator of FreeNX server; Alex de Landgraaf, creator of Morphix; Simon Peter, developer of klik; Wim Vandersmissen, creator of ClusterKnoppix and many others no less accomplished, all of whom have contributed to the future of free software/open source development.

    I emailed Simon Peter for information about klik, but he denied involvement with it. I pointed to this review in a followup email as evidence. Again, he denied it in his reply. Upon my pointing to him being listed on the klik site, he replied "I don't know this klik you're talking about," denying his involvement a third time. Then a rooster crowed twice.
  • My best use of Knoppix (Score:3, Interesting)

    by LarsWestergren (9033) on Wednesday November 17 2004, @02:52PM (#10845238)
    (http://www.ki.se/ | Last Journal: Tuesday August 28, @07:06AM)
    When I worked as a sysadmin, I used Knoppix several times to errorcheck Windows computers. At home, I have used it to run Linux from Scratch [linuxfromscratch.org] on a clean computer. It's great to have all tools available and no fear of removing or messing up an important partition by mistake. Also you can surf and play games while compiling.
  • Ultimate Boot CD (Score:3, Informative)

    Many of these tools are on Knoppix, but useful nonetheless: Ultimate Boot CD [ultimatebootcd.com]

  • I'd like to see an article where someone takes popular "Windows fix it tools for admins" (like this one [winternals.com]) and write an easy-to-undertand tutorial for newbies.

    Until then, these hacks will only be available to the uber geeks (not that that's a always a bad thing).

  • MetroPipe: Knoppix for flash drives (Score:5, Interesting)

    by lucidvein (18628) on Wednesday November 17 2004, @03:17PM (#10845501)
    (http://slashdot.org/)
    I just downloaded http://www.metropipe.net/ProductsPVPM.shtml [metropipe.net] which uncompresses to an executable Knoppix environment. Runs on top of Windows or Linux so no need to even reboot the client machine.

    Could use some updating now that Firefox 1.0 is out, but overall I found it to be a very compact and usable resource. Look forward to the release that supports Mac OS X.
  • Personally (Score:2)

    by Skiron (735617) on Wednesday November 17 2004, @03:27PM (#10845626)
    (http://www.linicks.net/)
    When I first downloaded Knoppix and ran it, it was a really "WOW" moment. Perhaps one of the first best things to come out to promote Linux ever - I hand out Knoppix disc's all the time at work, even though the users haven't a clue ("Will it fuck my memory up?". "I have a windows monitor, will that work?" et al ad naseum).
  • whoppix (Score:1)

    by philipacamaniac (672995) on Wednesday November 17 2004, @04:30PM (#10846413)
    (http://www.philipandjenny.com/)
    Knoppix is a great rescue tool, but Whoppix (www whoppix net) is the best MacGuyver tool.
  • by notjonny (172644) on Wednesday November 17 2004, @04:35PM (#10846469)
    Just came back from lunch after buying this book and then I see it on Slashdot. Coincidence? Well, ya, I guess so....

    I've only quickly skimmed this and thought it was a little slow in the beginning, but I did see lots of interesting stuff later on so I decided to by it instead of trying to read it in B&N. I didn't know some of the variations even existed like the MythTV version.

    In looking at the Knoppix website I did find lots of Knoppix based distributions listed. My favorite being Whoppix "a standalone penetration testing toolkit" though they do give another reason for it being called Whoppix.....
  • Knoppix, is an excellent distro for not only spreading linux, but also retrieving lost data and working with partitions. You just gotta love a all in one tool!
  • by ndege (12658) on Wednesday November 17 2004, @05:29PM (#10847204)
    For those of you that might not know, Knoppix can be downloaded much faster (usually) via a BT. The main BT download page is here [uni-kl.de].

    Download KNOPPIX_V3.6-2004-08-16-EN from here [uni-kl.de]

    Download KNOPPIX_V3.4-2004-05-17-EN from here [uni-kl.de]

    There are German versions of Knoppix available from the first link I referenced.
  • Newb (Score:1)

    by FallenAngel_Ca (831280) on Wednesday November 17 2004, @06:54PM (#10848148)
    I recently have switched over from windoze to linux. I have a copy of Knoppix 3.6 and i used it to test my machine for hardware compatibility. Being pretty much a Linux newb, i had no clue what to do or how to use it, other then knowing that since it loaded presumably other linux distros should install without much difficulty. This book will definatly be on my 'To Get' list.
  • THE HUMANITY!! (Score:1)

    by comet69 (198367) on Wednesday November 17 2004, @08:08PM (#10848930)
    (http://www.theaudiorevenge.com/ | Last Journal: Wednesday December 15 2004, @02:02PM)
    oh my dear lord!! someone's hacked knopixx!
  • knoppix is great (Score:1)

    by torrents (827493) on Wednesday November 17 2004, @09:59PM (#10849770)
    (http://www.solidz.com/)
    for most people because it's so simple to use and doesn't require much computer/linux knowledge to use it as a recovery disk. it's also pretty well documented
  • RDesktop Knoppix? (Score:4, Interesting)

    by grolschie (610666) on Wednesday November 17 2004, @11:54PM (#10850544)
    (Last Journal: Tuesday April 22 2003, @12:52AM)
    I'd love to see a Knoppix variant that will simply do the following:
    1). Grab an IP address via DHCP
    2). Configure hardware
    3). StartX
    4). Prompt for Server name
    5). Start RDesktop

    Nothing else. I am amazed it hasn't been done yet. The ultimate thin client boot CD.
  • Nice addition to the CD (Score:2, Insightful)

    by Ehwaz003 (830177) on Thursday November 18 2004, @04:05AM (#10851753)
    (http://home.scarlet.be/~fc012890/index.htm)
    Well,
    Since I've had to repair a couple of BSOD-prone Windowz boxes already with the help of Knoppix, I think this book can form a nice introduction to those same people who think Linux is just some sort of hacker software or who think that Windowz is the only OS on the planet!

    But, looking at it from a different perspective, I do see that when it comes to using Knoppix as a general introduction to Linux, it won't work!!!
    Most people will see Knoppix as a good way to see what Linux is all about, but they only want to see it when:
    a. they are sure that when they remove the CD and reboot the PC, they see their "trusted" Win screen again, and
    b. it can solve the problems that Win produced or when the OS messed up (again)

    I've had to reply a while ago to somebody who would like to know how to mount a NTFS partition from a rescue disc, and while he was at it, he would like to see this enabled in all Linux Live CD's, so that "people would see what Linux is all about and would eventually change OS".
    Yeah right!

    Soon after I gave him the advice to use Knoppix and gave him some links to programs and commands that made him able to mount a NTFS partition, I asked him what he was going to do after he successfully mounted the NTFS partition and recovered his data...
    Well, he was used to the OS he liked, so it was obvious that Linux wasn't going to be the only OS on his HDD after the data recovery...

    What is the conclusion to this? Well, most people will see Linux as a TOOL to clean up the mess that Win made. Some other people will actually see it as a nice introduction to Linux.
    But most people will not change OS, since they are so used to working or playing in their everyday environment, that it will demand a HUGE effort and willpower to format C it all and use Linux only.

    Migrating people to Linux is becoming a lot harder when most people just see Linux as a tool or as a nice introduction, but nothing more then that...
  • STUX (Score:1)

    by Shadow_139 (707786) on Thursday November 18 2004, @04:44AM (#10851891)
    My so called "I.T. Manager" shity dell desktop crash, he installed WinXP SP2.., The root of all evil (and not the good-fun kind.., like FIRE and BEER). The PC had all the database crap on it, and on reports that we needed for a meeting that day. I throw a copy of "STUX LINUX" in the Drive, spent 3 mins setting up Samba, and it was back online. It's been running for 3 weeks now with not problems what so every. ----- "I wonder if I'm still crazy. Go find a cheerleader and saw her legs off. OKAY, that answers that." -Nny
  • by AlXtreme (223728) on Thursday November 18 2004, @06:24PM (#10860020)
    (http://www.aperte.nl/ | Last Journal: Monday July 07 2003, @05:11AM)
    Kudos to Kyle for all his hard work!

    For anyone interested, I had licensed my contributions under the GNU FPL; check them out (unedited) here [alextreme.org].

  • Re:interesting (Score:2, Redundant)

    by acvh (120205) <geek@nOSpAm.mscigars.com> on Wednesday November 17 2004, @01:47PM (#10844508)
    (http://www.mscigars.com/)
    "Knoppix Reloaded, in Chapter 8, takes on Knoppix variants Morphix, Gnoppix, Mediainlinux, Freeduc, Damn, Small Linux, INSERT, L.A.S. Linux, Knoppix-STD"

    your wish was granted.
    [ Parent ]
  • Re:Umm, using a tool is a hack? (Score:5, Insightful)

    by 0racle (667029) on Wednesday November 17 2004, @01:52PM (#10844576)
    All of the '* Hacks' books are simply collections of tips with very few if any actuall hacks. I guess 'Knoppix tips' and the like just didn't make the book seem interesting enough.
    [ Parent ]
  • Re:Umm, using a tool is a hack? (Score:3, Insightful)

    by mogrify (828588) on Wednesday November 17 2004, @01:56PM (#10844623)
    (http://mogrify.org/)
    Seems along the same lines of calling legitimate boot-time kernel options "cheat codes."
    [ Parent ]
  • by hal2814 (725639) on Wednesday November 17 2004, @01:58PM (#10844643)
    Yeah, but real hacks like using Knoppix to get Mode X graphics to play Rise of the Triad with double-buffering is a little dated.
    [ Parent ]
    • 1 reply beneath your current threshold.
  • Re:Umm, using a tool is a hack? (Score:4, Interesting)

    by jaylee7877 (665673) on Wednesday November 17 2004, @02:03PM (#10844687)
    (http://www.intranet.pbu.edu/)
    Take a look at How to become a hacker [catb.org] by ESR It's the basis of Oreilly's hack series. The books goals are to stimulate "hackers" and get them started. Often the hacks will offer ideas to "hack the hack" but leave it up to the reader to figure out how. I've got Linux Server Hacks [oreilly.com] and I've found it to be an invaluable resource, a reference book, but much more as it gives me all types of new ideas for my servers.... Nice job Oreilly.
    [ Parent ]
  • Re:Great Book? Yes. (Score:3, Interesting)

    by UnderScan (470605) <jjp6893@nets c a pe.net> on Wednesday November 17 2004, @02:42PM (#10845099)
    Mods!


    While the book is great, the parent copied his "review" from http://www.chapters.indigo.ca/item.asp?Item=978059 600787&Catalog=Books&N=35&Lang=en&Section=books&zx ac=1 [indigo.ca] and also links to a has a amazon.com referer account.

    If you want it cheap, addall.com (the book search engine) lists bookpool.com with the lowest price. [addall.com]

    [ Parent ]
    • Bookpool! by SoTuA (Score:2) Wednesday November 17 2004, @03:02PM
  • Re:Umm, using a tool is a hack? (Score:2, Interesting)

    by sanctimonius hypocrt (235536) on Wednesday November 17 2004, @03:13PM (#10845469)
    (http://slashdot.org/ | Last Journal: Wednesday January 10 2007, @12:06PM)

    I've had this book for a week or so now, and I've found it pretty good. The basic 'hacks' are at least bullet resistant, and should get a newbie started right. The more advanced hacks are not recipes you can just follow and get good results.

    For example, you can boot up Knoppix, use the live installer to download the fprot virus scanner and current updates, and virus-check a windows partition. It worked, but the graphical front end to fprot kept hanging up at the same point. It was easy enough to read the man page and run the scan from the command line, but an inexperienced user wouldn't necessarily be able to 'improvise' like that.

    There are a few other hacks like that, of the half-dozen I've tried out so far. Not a knock against the book, just that it's maybe more hackish than immediately apparent. Probably the best thing about it is suggesting uses (or abuses) that I hadn't thought of.

    One criticism I will make is that the lay-flat binding doesn't, which is mildly annoying.


    [ Parent ]
  • by netux (806209) on Wednesday November 17 2004, @03:37PM (#10845761)
    No, the hack part comes in for using it in non-intuitive ways and tools you may not of heard of and probly never used, such as using knoppix to download Windows patches, collecting forensic dadta (how often have you used grave-robber?), and cloning a hard drive?
    The most unfortunate thing about the book is the name, this is the book that should have been titled "Linux Hacks". Granted, the book isn't really a hack book, but unless you are a *nix guru and have had to do every sysy admin task in existance, there are probly a few things in here you never thought of, and some you may have thought of but didn't know how to do and they wern't quite worth doing the research for.
    I'd say buy it for anyone other than the folks who have been using *nix since '90
    [ Parent ]
  • Re:Knoppix (Score:1, Interesting)

    by Anonymous Coward on Wednesday November 17 2004, @04:09PM (#10846175)
    That won't actually work. /dev/null won't actually output anything. You probably want /dev/zero or /dev/urandom.
    [ Parent ]
  • Re:Knoppix (Score:1, Informative)

    by Anonymous Coward on Wednesday November 17 2004, @05:31PM (#10847223)
    Someone else already said using /dev/zero or /dev/[urandom|random].

    But doing an entire drive is going to take a while. Even my fastest drives using a /dev/zero would take somewhere 40-45 mintutes to wipe because of their shear size.

    How about a:
    (change drive letters as exist on machine)(a bunch of partitons because if you hit a logical partition you don't want to skip the contents, otheriwse it would just be 1-4. Machine here has one drive that goes hdb1 hdb2 < hdb5 hdb6 hdb7 hdb8 >)
    ---
    for driveL in a b c d e f g
    do
    for partN in 1 2 3 4 5 6 7 8 9
    do
    dd if=/dev/urandom of=/dev/hd${driveL}${partN} bs=1024k count=30
    done
    dd if=/dev/urandom of=/dev/hd${driveL} bs=1024k count=1 &
    done
    --
    So you have 30MB of semi-random data at the start of each partition, and you've wiped the boot sector and partition table out(probably wouldn't need the meg, 1024 bytes I think is enough, but eh, whats the difference). Good luck trying to recover data from that drive with simple utilities. (Unless of course you like to view the raw drive contents, or use grep, or you don't want to hire a data recovery service)

    I'm sure someone could optimize this and make it work on drives in parallel (seperate channels perhaps, so do hd[a|c|e| in one run, then hd[b|d|f] in another).
    [ Parent ]
  • Re:Knoppix (Score:1)

    by ibennetch (521581) <bennetch@3.1415926gmail.com minus pi> on Friday November 19 2004, @09:40AM (#10863744)
    (Last Journal: Tuesday December 28 2004, @04:15PM)
    How is this a troll?? OT or maybe even funny, but how does it get labelled a troll?? Someone please explain, I'm a little confused.
    [ Parent ]
  • 16 replies beneath your current threshold.