Slashdot Mirror


Knoppix Tips and Tricks

cosog writes "Robert Storey writes in a thorough review about Knoppix: 'Some people even take a Knoppix disk with them when they go shopping for a new computer, a clever way to ensure that the hardware will be Linux compatible before you purchase it.' His article discusses things like: booting, rescuing, installing on HDD, tips'n'tricks, etc... A nice read for everyone interested in Linux (and Knoppix in particular ;)."

21 of 496 comments (clear)

  1. Knoppix by Cowclops · · Score: 5, Informative

    Knoppix + DD = ultimate way to mirror a drive from one to the other. Screw norton ghost.

    1. Re:Knoppix by Dark+Lord+Seth · · Score: 4, Informative

      Really? DD is far slower because it makes exact copies down to the bits. Norton Ghost works by cloning files instead. Instead, think of dump + gzip instead of dd. Insert some netcat for networking and presto, one central server holding default installs for all OSes you want. Probably works nice with network booting, then selecting a configuration, start cloning and then reboot into a brand-spanking new & fresh OS installation.

    2. Re:Knoppix by KrispyKringle · · Score: 5, Informative
      Norton ghost does so much more than this. Hate to say it, but I've spent plenty of time looking for Ghost replacements, and found none. There are a few (g4u, for example) which do networked dd-style copying, or partimage, which can actually read a partition table but can't deal with NTFS, but none that have the capabilities Ghost has for copying Windows NT/2K/XP installations (I use Ghost in deploying donated computers to schools and community centers; we don't feel Linux is managable for the target users).

      See, if you do DD, it works if all the hard drives are the same size. But if you want to make an image that will last a while, on multiple machines, you have to make it match the smallest drive (since dd simply copies the content and doesn't rewrite the partition table). So if you make it, say, 2GB, you throw away a lot of space on bigger drives. And like I said, partimage can't write NTFS properly.

      Not to mention Ghostwalker, which changes the machine's hostname and rewrites the SID's (I think that's what they're called; I rarely use Windows anymore) on the files so that they are unique and secure.

    3. Re:Knoppix by BrookHarty · · Score: 4, Informative

      Ghost supports EXT2 and EXT3, and if you use sector copy, you can use ReiserFS/UFS/HFS/etc.

      Personally, I use Barts Boot cdrom, and ghost over tcp/ip to backup servers/workstations and laptops. I find ghost works great to backup a system that doesnt have an OS or a Partition over the network. Plus I can read .gho files with ghost explorer, incase I need a file off a backup.

      If ghost worked under winex or dosemu, then I'd run it under knoppix, but for now, Barts Cdrom does the job.

    4. Re:Knoppix by Saint+Stephen · · Score: 5, Informative

      There's a solution called "Windows PE" (Windows Preexecution Environment), part of the "OEM Preinstallation Toolkit" specifically designed for the Dells and Compaqs of the world to preinstall the OS on the factory floor. I don't think it's publicly available. It is especially designed to boot from Readonly media, and it's supported.

    5. Re:Knoppix by aking137 · · Score: 4, Informative

      Just FYI: I used Partimage on a 130-computer school network, where all machines were NTFS and ran either Windows NT or 2000, and it was always successful. so I recommend giving it a go. Kernel was my own compiled 2.4.18. 2.6.0 is stable write support too. Mail me if I can help.

    6. Re:Knoppix by great+throwdini · · Score: 4, Informative

      Hmmm... what to think of a post scored as +3 Funny that simply summarizes a bit by the Dead Alewives without giving credit where credit is due?

      Funny. Sad. Whatever. Listen to the original routine should you be so inclined.

    7. Re:Knoppix by redback · · Score: 4, Informative

      Ghostwalker is not nessacaray, there is a microsoft tool called SysPrep that does this for you.

      You run it on a machine to reset the name and SID's, then on next boot it asks you for a machine name and recreates the SID's.

      So sysprep, ghost, startup and put in name and your done.

  2. BitTorrent link... by WIAKywbfatw · · Score: 5, Informative

    Here's where to get it quickly, via the official BitTorrent: http://torrent.unix-ag.uni-kl.de:6969/.

    The torrents are pretty fast; faster than the mirrors in my personal experience.

    --

    "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
  3. Re: Full text by Anonymous Coward · · Score: 4, Informative

    In these modern times it seems that there is a product to suit every whim and fancy. Whether you need a miniature Statue of Liberty with a clock in her (its?) stomach or a stuffed alligator with a light bulb in its mouth, you can rest assured that somebody somewhere is marketing it.

    When it comes to software, much the same situation prevails. There are applications that do everything from psychoanalysis (in Emacs hit M-x and type "doctor"), to helping you contact alien civilizations (SETI@Home).

    Operating systems are not immune to this tendency towards specialization. Notepads, cell phones and perhaps your DVD player all have specialized operating systems. At the height of the dotcom bubble, there were pundits predicting that soon your online refrigerator would have an operating system, the purpose of which was allegedly to order milk when you needed it. Just why you couldn't buy your own damn milk was never explained to us.

    And finally we come to Linux distributions. There are different distros for different purposes. Desktop Linux (in many flavors), server Linux, embedded Linux, Linux routers, Linux BIOS, Linux on the Halfshell. And every so often, somebody comes up with a whole new use for Linux that just makes everybody sort of just stop in their tracks and say, "Cool!" Which brings me (you are still with me, aren't you?) to the topic of this article - Knoppix.

    Live From Germany

    Knoppix is a "live CD" distro - just boot it and use it. You do need a CD drive of course, but you don't need a hard disk. The implications of this are significant. It means you have a portable Linux that you can take with you wherever you go. This can be used in a number of innovative ways - as a demo disk, as a rescue disk, as a way to use Linux at your local Windows-only Internet cafe. Some people even take a Knoppix disk with them when they go shopping for a new computer, a clever way to ensure that the hardware will be Linux compatible before you purchase it.

    To be fair, Knoppix was not the first live CD ever created. Apple, for example, distributed MacOS (even before OSX) on a live CD. Linux has had DemoLinux, SUSE Live-Eval and Cool Linux, as well as some others. But none of these have come close to the functionality of Knoppix, which could justifiably claim the title as "first useful live CD." Even though Knoppix has inspired a number of clones (Gnoppix, Morphix, Freeduc, Quantian, to name a few), it still remains the most popular live CD distro by far.

    Most people are just awe-struck the first time they see a Knoppix CD boot. Probably the thing that blows them away is the hardware auto-detection. There is really nothing to configure - just boot the CD, and two to three minutes later you have a beautiful desktop system. This is remarkable, given the lack of standards (and lack of driver documentation) that exists in the PC world.

    Knoppix took the Linux world by storm in late 2002, but actually it's history is a little bit longer than that. Klaus Knopper of Germany started his experiment with "Knopper's *nix" about three years ago. As he tells the story, it wasn't his original intention to create a new Linux distro, but rather to learn how "el torito" (the booting mechanism on CDs) works, and how to get access to a whole CD from a minimal ramdisk system. However, his project soon attracted the attention of the LinuxTag association, which happily provided a mailing list and forum so that others could give their input. Though Klaus was (and still is) the solo developer of Knoppix, user feedback and bug-testing have helped make this distro the great success it is.

    Deep Impact

    Knoppix is one of the most up-to-date distros around. This is thanks to the fact that it is based on Sid, the "unstable" branch of Debian. Some people might be put off by the word "unstable," or the word "Sid" (the name of the mentally unstable kid in the movie "Toy Story"). Fortunately, in everyday use Knoppix is considerably more stable than many other distros (and infinitely more stabl

  4. Take a Mepis disk too by nurb432 · · Score: 4, Informative

    Its by far a much better setup then plain knoppix. Well thought out and 'professional'.

    Not to knock knoppix as Klaus has given birth to the *practical* live CD movement, but its still has the 'feel' of a toy..

    Hmmmmm or have some fun and boot one off cluster knoppix and PXE the rest of the building...

    --
    ---- Booth was a patriot ----
  5. Article Text by Anonymous Coward · · Score: 5, Informative

    Something For Everyone
    "Everything that can be invented has been invented."
    -- Charles Duell, Commissioner of US Patent Office, 1899

    In these modern times it seems that there is a product to suit every whim and fancy. Whether you need a miniature Statue of Liberty with a clock in her (its?) stomach or a stuffed alligator with a light bulb in its mouth, you can rest assured that somebody somewhere is marketing it.

    When it comes to software, much the same situation prevails. There are applications that do everything from psychoanalysis (in Emacs hit M-x and type "doctor"), to helping you contact alien civilizations (SETI@Home).

    Operating systems are not immune to this tendency towards specialization. Notepads, cell phones and perhaps your DVD player all have specialized operating systems. At the height of the dotcom bubble, there were pundits predicting that soon your online refrigerator would have an operating system, the purpose of which was allegedly to order milk when you needed it. Just why you couldn't buy your own damn milk was never explained to us.

    And finally we come to Linux distributions. There are different distros for different purposes. Desktop Linux (in many flavors), server Linux, embedded Linux, Linux routers, Linux BIOS, Linux on the Halfshell. And every so often, somebody comes up with a whole new use for Linux that just makes everybody sort of just stop in their tracks and say, "Cool!" Which brings me (you are still with me, aren't you?) to the topic of this article - Knoppix.

    Live From Germany
    Knoppix is a "live CD" distro - just boot it and use it. You do need a CD drive of course, but you don't need a hard disk. The implications of this are significant. It means you have a portable Linux that you can take with you wherever you go. This can be used in a number of innovative ways - as a demo disk, as a rescue disk, as a way to use Linux at your local Windows-only Internet cafe. Some people even take a Knoppix disk with them when they go shopping for a new computer, a clever way to ensure that the hardware will be Linux compatible before you purchase it.

    To be fair, Knoppix was not the first live CD ever created. Apple, for example, distributed MacOS (even before OSX) on a live CD. Linux has had DemoLinux, SUSE Live-Eval and Cool Linux, as well as some others. But none of these have come close to the functionality of Knoppix, which could justifiably claim the title as "first useful live CD." Even though Knoppix has inspired a number of clones (Gnoppix, Morphix, Freeduc, Quantian, to name a few), it still remains the most popular live CD distro by far.

    Most people are just awe-struck the first time they see a Knoppix CD boot. Probably the thing that blows them away is the hardware auto-detection. There is really nothing to configure - just boot the CD, and two to three minutes later you have a beautiful desktop system. This is remarkable, given the lack of standards (and lack of driver documentation) that exists in the PC world.

    Knoppix took the Linux world by storm in late 2002, but actually it's history is a little bit longer than that. Klaus Knopper of Germany started his experiment with "Knopper's *nix" about three years ago. As he tells the story, it wasn't his original intention to create a new Linux distro, but rather to learn how "el torito" (the booting mechanism on CDs) works, and how to get access to a whole CD from a minimal ramdisk system. However, his project soon attracted the attention of the LinuxTag association, which happily provided a mailing list and forum so that others could give their input. Though Klaus was (and still is) the solo developer of Knoppix, user feedback and bug-testing have helped make this distro the great success it is.

    Deep Impact
    Knoppix is one of the most up-to-date distros around. This is thanks to the fact that it is based on Sid, the "unstable" branch of Debian. Some people might be put off by the word "unstable," or the word "Sid" (the name of the mentally unstable kid in

  6. Re:DD != Ghost by shaitand · · Score: 4, Informative

    True enough, DD != Ghost, but not what he claimed, he claimed that linux on a cd will supplant ghost and that is something different altogether.

    Now your not talking about ghost, your talking about a number of tools.

    mount
    partd
    mkfs
    kernel support for more filesystems than ghost will ever dream of.
    tar
    dd
    cp
    mkswap
    lilo/grub

    Between these utilities you can do pretty much everything ghost can and much much more. A knoppix cd (generally I use a customized one to take out the gui fluff) gives FAR more flexibility than any other software tool.

  7. Knoppix and students by mokeyboy · · Score: 5, Informative

    Knoppix is a great distro to pass on to students who need to work in a *IX shell environment to do course work. I recommend it to EE and IT students when they want to get their feet wet but don't want to use VMWARE or go through a potentially destructive HDD repartition. The KDE interface is friendly to the Windows crippled, the harware detection is fantastic and running from the CD, a user can't break it. Many of the derivative distros are also great in niche areas (eg ClusterKNOPPIX). A great piece of work to help make Linux better appreciated and understood.

  8. My best experience with linux by Stevyn · · Score: 4, Informative

    My best experience with linux is when I used knoppix a few months ago. My hard drive on my dell laptop crapped out again but I could still use my computer while the replacement was being shipped. I mean it wasn't perfect and I wouldn't want to use it full time, but it was a definate lifesaver that weekend.

    I like the idea of a live cd where if I fucked anything up, a simple reboot would fix everything. This is how linux should be taught to new users who are afraid of trying new things but still have some strange desire to use linux.

  9. Re:My Knoppix Problems by Suppafly · · Score: 4, Informative

    52x Max (above might have been using a slow model) Hard Drive : Usually around 7200x

    These aren't comparable measurements at all.. The x in cdrom speeds is how many times faster it is than the original "1x" cdroms, and harddrive speed isn't measured in X's at all its in revolution's. You can't just add an X to the end of a harddrive speed and expect to compare it to a cdrom drive.

  10. Mini Knoppix by Cyno01 · · Score: 4, Informative

    Try morphix, its knoppix without the kitchen sink, fits on most USB drives. I havn't used it pesonally, but i've heard good things.

    --
    "Sic Semper Tyrannosaurus Rex."
  11. Re:Need bootable USB by moosesocks · · Score: 4, Informative

    Easy solution to this:

    Boot off of knoppix CD, but place your home folder on your USB key. Knoppix readily supports this, and in most instances will automatically detect the key and the home folder without any special paramaters.

    An even bigger plus is that you probably won't need much more than a 32mb key for day-to-day use.

    --
    -- If you try to fail and succeed, which have you done? - Uli's moose
  12. Re:I used knoppix at bestbuy by tchuladdiass · · Score: 4, Informative

    I did the same thing. Told the sales guy to get his manager, and explained that I was going to buy a laptop that day, and the store that would get my business is the one that would let me verify the laptop with my boot cd. I also hinted that I liked their extended warranty options. Dollar signs lit up in the sales manager's eyes, he let me boot with Knoppix, and I left with a laptop, a grand less cash, and without the extended service plan :-)

  13. Knoppix Data Recovery for Grandma by CedgeS · · Score: 5, Informative

    Knoppix is excellent for data rescue and recovery work. This data recovery howto for Knoppix has proved invaluable for many of my friends. It has also been translated into Polish

  14. Re:Trick to knoppic I never learned by freeweed · · Score: 4, Informative

    Click the Knoppix CD icon on the task bar. There's an option to save Knoppix settings, tell it to save to your USB key. During this process, it tells you just what you need to do to load those settings. You have to type in a command at the boot: prompt (the next time you boot, natch), something like "knoppix home=/dev/sda1". Done. It loads from there.

    I've just started playing with Knoppix tonight, and I gotta tell you, I'm sold. THIS is what Linux should be.

    --
    Endless arguments over trivial contradictions in books written by ignorant savages to explain thunder in the dark.