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 ;)."
Knoppix + DD = ultimate way to mirror a drive from one to the other. Screw norton ghost.
I used a knoppix cd at best buy when looking for a new laptop. The salesman told me that I would not be able to run a linux distro on the toshiba Satelite p25-s607. I was happy to find out upon inserting the cd that I could indeed run linux. This was approx 3 months ago and the salesman said they wouldn't have drivers out for the video card for 6 months, of course he was wrong.
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
he's running whatever server this article is on off of one of those machines sitting on the store shelf, based on it responsiveness.
Knoppix really is amazing. I didn't understand all the hype before, but after a glorious performance recovering files from a horked Windows box, I make sure I always have a Knoppix CD around. Whenever Windows threatens to waste my time, its Knoppix to the rescue. Also - not only is Knoppix really good at what it does, it looks great too! Its a great way to show off Linux.
maybe this could be a good niche distro, a linux compatablity cd which does nothing except test a pc for compatablity with linux.
If you mod me down, I will become more powerful than you can imagine....
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
Now all we need is a Knoppix distro that loads automatically onto a demonstration Xbox at your nearest major retailer!
Oh the fun you could have especially if your playing on a big screen surrounded by huge Xbox signage!
(Slashdotted already?)
Well, knoppix CD is great, but with 256MB (and more?) USB keys out there, I wish more BIOS's would allow booting from USB, it'd be so nice to walk into a net cafe, pull linux out of my pocket or USB watch, and then read mail with mutt in X-Windows while surfing with my own damn bookmarks. And not having to close the last guy's chat session and assorted porn popups? Priceless.
I think you need to fix your redirect script. I have clicked on your link multiple times and not gotten to goatse, tubgirl, lemonparty, etc. once.
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 ----
I don't know if his top of the line, hyperthreaded P4 had a big impact, because I don't know hard it is to decompress the cloop compression knoppix uses. But if you have a computer with a gig or more of ram you should give it a try.
This message is encrypted with Quad ROT-13 to protect the author's copyright under the DMCA.
I've done it before with both Phlak .20 and PCLinuxOS pr4. It's pretty interesting to see what can/will boot and what absolutely refuses to. I was 'caught' doing it at Compusa and all the salespeople started gathering around. Nobody had ever seen linux being used before and was surprised at how windows-ish it was.
The kicker came when they found out it was free. I ended up giving both cds away to people that wanted to play with it at home.
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
and accidently (on purpose) left the Knoppix CD in machine. I love to watch people (especially the sales people) walk by and say "Cool, what's this". CD blanks are cheap enough now to do this.
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.
Yeah, they've thought of that and built in a safety mechanism. On bootup, it asks the user whether they are Evil or not. If they say yes, it just powers down.
"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."
I ache for Linux to be this way in general. I'm a Linux newb. I get nervous mucking around with conf files. (i.e. typos, formatting, and upper/lower case...) Knoppix was the first time I booted a Linux distro and got the right video mode. I was so happy with that. It just found everything. Makes one wonder: Why even go through a lengthy install? Why not copy the disc, boot, and auto-configure? Guess I'm just frustrated after spending a VERY long time installing Redhat.
"Derp de derp."
Hard Drives using the the latest IDE can get 133 Megabyters per second BURST transfers, but even good ones usually only get 50 Megs SUSTAINED transfer.
Despite your screwy numbers, Hard Drives really are much faster for loading operating systems. But the other place you screw up is that you forget what Knoppix is all about - A bootable linux distro would be a lot less convienient if you had to carry it around on a hard drive and open up computers you wanted to use it on.
This message is encrypted with Quad ROT-13 to protect the author's copyright under the DMCA.
Ya know, this isn't just Knoppix. People would bring in Dreamcasts with custom boot CDs, hook them up to the network, and walk away. The DC would blast a hole in the firewall, and let the hacker in.
Despite of this obvious threat, Dreamcasts were not banned, nor made to implement stronger security measures. Why? Because if any device on a network, w/o a password or any type of authorization other than its physical location can destroy a firewall, then the network itself has larger problems to deal with. To me, this calls into question the assumption of trusted devices. In short, Knoppix cannot forsee it's use, thus placing the burden on those who create and administer networks to do so in a safe and responsible manner.
#define DRM chmod 000
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.
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.
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.
The timing of this article is too funny, today my son, who is 6 (almost 7) grabbed my knoppix CD thinking it was a copy (legal backup:) of I game I had just made a copy of for him for him.
He put it in and after about 30 minutes after not hearing him ask for help with his game (which he ALWAYS does) I went in to see what he was doing, I almost had a heart attack, he was clicking away on Knoppix. It scared me becuase I forgot I had knoppix burned. and I thought he had rebooted my system into linux and changed from Gnome to KDE
But the more I think about it the more I like the idea of setting him loose on a live distro, I dont have to worry about him buggering up my work system (yes I have a spare system for him but its not fast enough for most of his games)
When I first started in computers I was his age and if I made a mistake I rebooted, no OS , MS basic in Rom and a 6502 on an OSI challener (the good 'ole days may date me a bit since that comp came out in 77 and I was 7:)but I got my feet wet in assy programming then. I didnt have to ask dear old dad for any help beyond well, everything, but I didnt have to worry about bonking an OS either.
When I found him on the system he was drawing cats on gimp, bestill my little code monkey....
ClusterKnoppix is Knoppix on steroids. Instant OpenMosix cluster using PXE network boot for clients.
From excellent karma to terible karma with a single +5 funny post...
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").
I suppose that I'm one of those people. To me, the strong emphasis on free software / GPL / alternatives to "big corporate entities" that seems to be a part of the Debian community seems antithetical to the idea of naming their product after DISNEY CHARACTERS. Isn't Disney _exactly_ the big evil company the oppose? Isn't Disney the one working to extend copyright indefinately, put all sorts of protections and technical blocks on DVS, &c &c?
So the name "Sid" is a Debian turnoff to me. And probably others.
As for Knoppix, I didn't find it self-configuring very well on my Latop, but I DID find the Image perfct as a way to set up and configure disc images in a VMWare virtual machine. So, the concept IS a very good one. The distribution (or at last the Desktop) seemed inclined to include quite a few things just for a "coolness" factor which didn't contribute to either usuability or functionality. Strip the whole thing down a little cleaner and meanear and you've got a really nice tool.
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."
FYI a 1X CD will revolve 210 times per minute at the outer edge, whereas it will revolve app. 539 times per minute on the inner edge.
:)
:)
Hence a 52X speed CD-ROM will revolve 10920 and 28028 times per minute on the outer and inner edge respectively
Wait. Did you just say that with a straight face, or am I misreading?
If the inner edge revolves more often than the outer edge, just how are they being held together? How many times a minute is the centre of the disc spinning?
I think you're getting velocity confused with rpms
Endless arguments over trivial contradictions in books written by ignorant savages to explain thunder in the dark.
Seems Knoppix will be the platform I'll use for defending my graduation work. My school has no decent Linux workstation classroom, and I just couldn't force myself to write all the software I need in visushit. So, Knoppix CD, floppy or USB drive with my work, the custom hardware I'm working with, and - voila!
45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
So, SQL Server lets one "hide" a relational DB in an unformatted partition... there may even be a performance advantage in doing so...
[Do computer forensic folks know the above?]
Anyway, I'd hate to wipe an old hard disk before finding that its copy (eg, made with dump & gzip)
didn't get the DB copied onto it...
Is therething that does such a job (correctly) -better- (ie more time-effectively) than DD?
I have it on a mini CDRW. All the utils mentioned plus a minimum Xserver to run qt_parted.
Check out System Rescue CD They even have a PPC version.
I compare the price and license of the rescue CD to that of Ghost. I can give the CD away to anyone without a worry, I can't do that with Ghost.
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
How about putting MAME and a few arcade games? ;) KnoppiXMAME.
Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
I did a speech on Linux for a class and used Knoppix to demonstrate -- had them put the CDs in the drive and boot themselves so they could see how easy it was, with much assurance that it wouldn't fsck the hard drive or anything like that. We didn't have DHCP, or I would have done a much more thorough demonstration, but I showed them OpenOffice.org, and the prof had a heck of a time dragging them away from Frozen Bubble. I ended up giving all the CDs away, plus burning extras for interested parties. Linux evangelism rocks. :)
and had some mixed success. The install was pretty painless (other than figuring out the formatting utility) and the OS itself isn't bad.
.conf file :'-(
I ran into a couple of problems though. Sndconfig refuses to work with my sound card. I have an audigy and the emu10k1 (or whatever the hell name it was) installs by default. Running the sndconfig command (after struggling to find a way to close x windows without shutting down) I was greeted by a "module is not in the specified search path"... No information was given as to which path was the search path nor any information as to how to change the search path.
Knoppix also installs by default close to every program ever written for linux including both KOffice and OO.o perhaps a little bit of an overkill.
The other problem I have with knoppix is changing the refresh rate and screen resolution. When using the live CD, the refresh rate and the screen resolution are some of the "cheat codes" you can enter. In the hard-disk install, no oppurtunity is offered for the entering of such codes. I'll probably end up having to edit some
The final minor annoyance (and it is minor) is that the CD version boots using both color and a nice resolution (1024x768) for the streams of console text that appear during booting. The hard-disk install does not. It's pretty minor, but the colored text and resolution was really nice and made reading the text much easier.
Knoppix is a really good live CD, but the harddrive install leaves a little to be desired. Hopefully that changes with new versions.
Ways I have used knoppix..
.. pop in Knoppix and see if the hardware exhibits the same problems.
- to backup data from bashed W2K machines to a network drive
- to scan a networks for security issues
- to test systems for Linux compatibility
- to demo linux to people
- to show off crossplatform apps
- customized as a product demo CD
- customized as a read-only server setup
- as an aid to test for hard-to-detect hardware issues
- as a boot disk to access other Linux boxes
- test for server/client configurations
Needless to say, I use Knoppix a LOT. I have created lots of Knoppix disks and promote it to anyone who has an interest in learning about or who uses Linux. I have found it to be awesome at detecting a wide variety of hardware and a great "second opinion" when troubleshooting a Windows box for hardware issues
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.
and didn't notice until I tried to use it this afternoon that I only got 50 meg of it. I then went to a different site and was downloading it at about 120K per second. Being the idiot that I am, I accidently got the German version. Going back to the site, I can only get 25K per second tops. The Slashdot effect at work.
Forget about building a special distro just for the 800 meg CD's out there. It's not really that much more space for something that's not "standard" in the first place. Why doesn't somebody go ahead and make a Knoppix-type distro for DVDs? Most newer machines have them and with 4.7 gig of storage space you can put pretty much everything on them. With one of these properly configured and a decent sized USB memory drive, this is all somebody really needs for a truly portable computing experience. You could fit Gnome and KDE as well as a good installer on them. Forget about making a "Live" version of a distro. With one DVD containing a live version of Linux as well as a full installation environment running on it, it's a true one-stop-shop.
Does anybody make a credit-card form factor DVD +/-R like they do with the CD-Rs? If you could fit a full Knoppix distro onto something that size that you can fit into your wallet, that'd be really useful. While CD's aren't all that big, they're inconvenient to carry around all the time "just-in-case".
It's really too bad that you can't burn a distro to a CR-RW or a DVD +/-RW and use the unused space as a worm drive of your configuration or data. You'd have to refresh the disc every so often as your available space would dwindle, but you could get around even needing a USB key-fob. Unfortunately the common disc-formats in use make this very difficult, but it's something to think about...d
You are in a directory. A stairway called .. leads up. There are files here.
Get foo.
Throw foo at
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
Having said that, Knoppix (still) rocks :-)
This sig is intentionally left blank
Like others, I used Knoppix when I went to buy a new laptop. One problem, which the store-owner was insightful enough to point out, is that because Knoppix is intended to be a general distribution (though it supports a lot of different hardware), it might be somewhat "dumbed down" so that, although you couldn't get an ultra-new system to work immediately by sticking a Knoppix CD into it, you might be able to if you googled a bit to find the problem. In fact, though I went in the store determined not to get an HP laptop (which I had very bad experience with before), that was the only one with my desired specs which would boot immediately from the Knoppix CD (some Sony Vaio and another brand didn't boot). It might be that I saved myself a lot of trouble by avoiding those machines, but then it might just be a simple problem with Knoppix itself not yet supporting the hardware.
What's really gonna bake your noodle is can you write to anything other than a pre-existing file or change the size of a file? I'm afraid your noodle's cooked.... because it doesn't. To quote linux-2.6.0-test11/fs/Kconfig ....
config NTFS_RW
bool "NTFS write support"
depends on NTFS_FS
help
This enables the partial, but safe, write support in the NTFS driver.
The only supported operation is overwriting existing files, without
changing the file length. No file or directory creation, deletion or
renaming is possible. Note only non-resident files can be written to
so you may find that some very small files (
It is perfectly safe to say N here.
I asked same questions on Gentoo forums and I've got an impression that usually people with DVD+/-R/RW don't know how to build a bootable DVD. The problem with a bootable DVD is in its size - its image would be too big to become commonly downloadble. But if you have a Linux box in your hands then such problem doesn't exist anymore. The solution is to distribute a guiding script instead of an image. If you already have Linux with DVD authoring tools then such script, being configured and told about what settings and what applications you want on the disc, would build all desireable application packages, pre-configure the system for your desirable environment, make a proper image and burn it. Source code is more compact than binaries. And it's a high chance that you have most of needed source code on your Linux box already. So, with such a guiding script, the downloaded size can be even less than with a CD image. By the way, does any of you know any links that I can follow and gather bootable DVD advises? I may build such script by myself (as I actually need it!) and share it with the rest of us.
Less is more !