Bootable Linux Demo Distro - Knoppix
ts writes "Newsforge has an article about using Linux to recover Windows partitions.
The interesting part is not only the article, but also the comment about Knoppix a Live-on-CD distribution of Linux. I just downloaded it and it booted from CD on a Shuttle Spacewalker SS25. AMAZING. Even the audio works.
Have any /. users found interesting uses for this distro?" I've been looking for exactly this to use in demonstrations. Perfect.
Well no, lots of pix. These are the specs of this Debian based distro:
* Linux-Kernel 2.4.x
* KDE V3.0.2 as the standard desktop with K Office and the Konqueror WWW-browser konqueror
* X Multimedia System (xmms) an MPEG-video, MP3, Ogg Vorbis Audio player and xine
* Internet connection software kppp,pppoeconf (DSL) and isdn-config
* Gnu Image Manipulation Program (GIMP) Version 1.2
* utilities for data recovery and system repairs, even for other operating systems
* network and security analysis tools for network administrators
* OpenOffice(TM), the GPL-developed version of the well-known StarOffice(TM) office suite
* many programming languages, development tools (including kdevelop) and libraries for developers
* in total more than 900 installed software packages with over 2000 executable user programs, utilities, and games
DNA is the ultimate spaghetti code.
"Have any /. users found interesting uses for this distro?"
.02 cents worth.
Yes I used the diskette to prop my table leg up. I was able to replace the AOL CD I was using.
Seriously though it could have problems with varying types of file systems. For instance the guy said he used it with ME, not with Windows 2K which uses NTFS. And of course microsoft decided to come out with encryption in W2K so those files would pretty much be lost if you had that setup. Why not just create a recovery CD? If it's FAT there are a lot of ways to boot to it. Just my
Here is the Adios Boot CD, its a similar project, check it out.
We've used this distro for forensics and network trouble shooting.
Because its on a CDR we know the tools are safe. We use dd to image a drive off via the network (piped to netcat/cryptcat), firewire, another drive etc etc... just add a few scripts to do some MD5 hashing an away you go.
It would make network trouble shooting tool as well because you have your network tools, tcpdump, etherreal, etc to check out the network on any users desktop or laptop. You don't have to lug aroung your linux laptop.
Full bootable Linux w/seti@home using my username. Perfect for every public machine I find that has network access w/dhcp enabled.
If voting were effective, it would be illegal by now.
Take a look at H. Peter Anvin's SuperRescue - it's a full Red Hat system on a floppy. It uses zisofs compression to fit it all on a single CD.
Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
I'm involved in a HMI lab where we develop user interfaces ( GUI, hardware, ... ) in conjunction with the users ( navy submariners ). Being separated by 4000km we use an in house distribution similar to this ( inspired by linux from scratch ) to run our prototypes on there PCs and, via video conference, discuss the prototype.
Just boot off the CD straight into the prototype, linux installation not needed, and when finished hit the reset button and remove the CD.
Is it odder that Linux boots of a CD, or that Windows does not?
:v)
Vik
My (IBM Deskstar) hd died the week before finals last year. Luckily, I had ordered a free SuSE 7.2 LivEval CD (not sure if it's still offered). StarOffice, as well as Mozilla and Konqueror were all I needed to get my work done (and ftp my files off my comp). My K7V Dragon's onboard LAN and Sound were supported right off the bat, and I didn't have to have the 100mb of swap space on my HD it wanted for it to work well. You can get the ISO from here
Thanks, SuSE!
Some more linux live cd distros:
m l
* DemoLinux - http://www.demolinux.org/
Dedicated to bootable Linux CD distributions.
* LNX-BBC - http://www.lnx-bbc.org/
Business Card Sized Open-Source Bootable CD.
* Mondo Restore/Rescue Utility - http://www.microwerks.net/~hugo/
Use a live bootable Linux CD for your system backups and recovery.
* Linux - Live on CD - http://www.ocslink.com/~blunier/
Linux - Live on CD. Hard disk not required
* Dyne Bolic - http://lab.dyne.org/DyneBolic/
Complete GNU/Linux operating system working without the need for any hard-disk.
* Diskless Nodes - http://www.linuxdoc.org/HOWTO/Diskless-HOWTO-3.ht
Includes information on creating your own live CD.
* Virtual Linux - http://sourceforge.net/projects/virtual-linux
Bootable Mandrake Linux distribution with 1.6 gigs worth of tools and toys on a single CD.
FreeBSD LiveCD -- http://livecd.sourceforge.net/
NetBSD LiveCD -- http://www.netbsd.org/Changes/#live-cd
Mac's have booted off the cd before this, just hold down the c key, no need for a boot floppy or changing BIOS. it just works.
Even me, when I discover a new Knoppix CD, I cannot believe my eyes: every latest version is on it and it's running rock solid.
Rofl... This is some press release with all the opium references replaced with mentions of open source software, right? =)
Source code: The opiate of the people (the geeky ones, at any rate)
1. Compile the system. There's a fanastic guide at linuxfromscratch.org.
2. Set the fstab up to place all read-write hierarchies on a tmpfs filesystem. This include tmp, var, and portions of etc. Have copies of the initial state of thse filesystems in a separate directory on the CD and set the bootscripts up to untar them at bootup.
3. Compile a highly compatible kernel. Basically, enable most things that cannot be compiled as modules and compile all modules.
4. Use devfs with compatibility links. it cuts down on confusion as to what devices exist.
5. Create an ISO of the filesystem, being sure to enable all options required for bootable CDs.
6. Install lilo into the boot sector of the ISO.
7. Burn the CD.
8. Reboot and pray.
Timos Rescue CD
This probably isn't as well suited for a super demo, but you can get the source, tweak it up as you want, and burn. Though the prebuilt iso is great as is for a rescue disk if you aren't into customizing it. Optionally the whole thing will load into RAM, freeing up the CD drive, say for if you've got data on CD that you want to access as well.
We are runnning a Network in a large Student Apartment House, with about 500 PCs connected.
Whenever someone starts shouting: "Hey my network doesn't function and it's all your fault!"
You just go there, pop the knoppix CD into the drive, surf to slashdot, download some mp3s and tell him: "Nope, it's yours."
You would not believe in how many ways you can misconfigure a personal firewall!
for our windows OSs is actually a Linux boot disk with parted
(any major distro has parted) parted can copy, resize, move etc. partitions like a command line Partition Magic.
Can't resize NTFS though, but we can still move it with dd.
I've created a piece of software which makes it rather trivial to create custom bootable FreeBSD CDs. With a little work, it could be used to make a bootable CD with the same functionality as Knoppix. Sadly, I have yet to write any documentation, and the code is in a fairly early stage. Feel free to check it out.
...These aren't the droids you're looking for....Move along....
Oxford University is setting up Linux training courses. We're assuming that those on the course have little or no experience of Linux. We're using Knoppix for the course because it comes with the basic software that a user will need to learn and become familiar with the OS and it lets them take the CD home or to their office and play with it while making no permanent changes to their precious systems.
My own project is run entirely on Open Source Software and it is my belief that spending public funds on licenses for office suites, web browsers, email clients, databases and webservers is money poorly spent. It seems that others in the university agree. A medium sized project can save thousands of (dollars, euros or pounds) by setting up staff with the basic tools for their tasks on an Open Source platform. Those thousands of pounds can often mean the project can bring in another researcher / investigator / clerical assistant.
Getting fellow academics and their students to dip their toes into the Open Source Gnu/Linux waters through a bootable CD like Knoppix is very easy to do. We'll see how these training courses go but I'm hopeful that we'll see more projects migrating at least some of their staff from Microsoft to Gnu/Linux
Linuxcare Bootable Toolbox
It will fit on one of those oddly cut business card sized CDs, so will of course fit on a 3 inch CD. Enjoy!
Whoever stated that signature sizes should be limited to one hundred and twenty characters can just go ahead and kiss my
The SuSE Live CD tells the user about slow bootup when starting. Also, it creates a couple of files on c:\ (they can be deleted afterwards) that contains your home directory and a swap file, so they don't have to worry about it using up all the RAM and they can even save documents with it! SuSE definately has this done very slickly indeed.
Some of my friends at the Socialdemocratic Party of Germany (it's the party of our current Chancellor) started with Knoppix as their first Linux distribution and are really happy with it.
They were especially happy, that they didn't have to install anything. After seeing and using Knoppix this people are usually less preoccupied towards Linux, which is quite important, since the German government wants to force the use of Open Source Software.
He ended up admitting that it was quite nice, and that indeed he and his colleagues were experimenting with RedHat... I wonder how long they'll remain MS Certified Training Center ;-)
I have in my more or less constant posession an old AOL 3.0 floppy disk which has a working copy of something called tomsrtbt, which I have used countless times to rescue garbled Windoze partitions. 'Course, it can't handle NTFS, but networking support is amazing, and I have found it makes the world of difference for tasks like recovering from a screwed up Ghost client install, for instance. And the date thing is fun :)
It will be nice to have something which is, ahem, more full-featured - many of my users get nervous when there isn't eye candy to look at.
political_news.c: warning: comparison is always true due to limited range of data type
while the idea of using a boot-from-cd-distro would never appear to me, knoppix is unbeatable when it comes to "initiating the non-believers." I have seen knoppix detect and support some very weird hardware configurations, including but not limited to tv/radio cards, webcams, exotic soundcards and pcmcia cards, without asking for information or requiring a kernel update. so, the next time J. Random Linuxdisser talks about how no Hardware is supported, the installation is painful or whatever, invest the 30 cents for a CD-R and give him Knoppix. As of today, I got 3 people to convert from Windows to Linux with this nifty distro. Maybe they should rename it "Gateway Distro" ? :)
Karma
Having fucked up my Linux box way too many times, I got in the habit of completely backing up my entire stable system onto a spare drive or partition. I found Knoppix, and now use it to do this. (I can still surf and listen to MP3's while doing a cp -a from one ro mounted partition to a rw paritition) It was really amazing. I got KDE up, network connection up, and listening to MP3's w/ XMMS within 2 minutes of booting. (I only had to make a minor change to XF86Config)
Also, some of my colleagues go out to customesr sites and need some sort of net analyzer, but don't have sniffer. Booting into Knoppix and using ethereal is a great alternative!
I intend to make copies and give them as gifts to colleagues who are on the fence about linux...
I have tried v 3.0 (3.1 is out now) and its amazing, boot up and a minute or two later you have a full, good looking gui and all the tools you can think of including things like open office (who needs lindows with its poo assortment of progs). A few minutes after that I was browsing the web using mozilla, playing my mp3s from a shared samba drive on my dedicated linux box and checking my email.
Tried it on a 256MB comp too and it ran fine there too, impressive considering it has no virtual ram and has to store tmp files on a ramdisk.
now all I need is a 35MB linux cd to fit these 35MB business card sized cd's I bought, all the rescue disc type distros seem designed for 50MB ones.
no sig.
Linux, NetBSD, Darwin, either would be great. (Or would the need for open firmware / bootX / yaboot prevent such a thing?)
Timeo idiotikOS et dona ferentes
If your HD crashes and you can't replace it for a while you will not be able to run SuSE Live Eval, but you will be able to run Knoppix.
After reading about it on Slashdot, I downloaded Knoppix 3.1 (I love my Cable Modem), disabled my hard drives in BIOS and booted it. Here I am, 10 minutes later. This is a truly amazing peice of software. I just might take it to Best Buy or a computer lab at the local community college to get some weird reactions. Convertomg people to Linux by abandoning CD-R's in public computers just might work. The only problem that I ran into was having to reset the H-Size scaling for my LCD panel. But all-in-all, an EXCELLENT package.
Love,
Jay and Silent Bob
Haven't had a need to try it myself, but if you need it, you can find the instructions here.
Yeah, I thought about this a couple of months ago. The use I thought about is this:
I create a presentation with KPresenter, Impress or something similar. I burn the presentation onto a CD together with a live Linux distro. Many good auditoria have a good projector, but connected to a windoze computer. So I pop the CD in the PC, boot it on Linux and give my talk.
Employee of Inrupt, Project Release Manager and Community Manager for Solid
Some hardware is NOT auto-detectable at all, so you have to make "sane assumptions", or have a dialog ask you for your graphics card, monitor-type, everything...
Question: Would the other operating system have auto-detected the correct display modes without you putting in a vendor-supported "driver floppy disk"?
Regards
-KK
...from the front page:
What is KNOPPIX®?
KNOPPIX is a bootable CD with a collection of GNU/Linux software...
Downmodding is the refuge of the weak. Don't downmod, make a better argument!
This is cool and all, and I'll be downloading it and testing it out soon. But this just goes back to the ultimate boot-from-CD OS: Be.
Be's installer is very simple; it's reminiscent of the installers for DOS games. When you put a Be boot CD in your drive, it loads up the OS, completely runnable off the CD. (Yes, I know that Be-provided images don't run anything but the Installer, but that's not the point - if you make a custom image, it can run whatever you want.) You go to the Be menu, then Applications, then Installer, select a partition, and go; beyond that, there is absolutely nothing you have to do. Reboot, and you're in BeOS.
Not only is there no configuration at all (beyond partitions, and even that can be automatic) that you have to do during Install, almost everything is auto-configured after install, too.
Mandrake may require no more expertise to install than Windows, but Mac OS is quite a bit easier, and Be is even easier than that. Linux should learn from that example.
Someone at my work was trying out Knoppix on his Win2k box to see how Linux worked with his various hardware. The beauty part is he didn't have to mess with his Win2k setup, so he could go back to using Windows any time, but it went so smoothly that I don't think he's going to.
Someone else was kicking around the idea of bringing Knoppix on trips to get around possible (software) keyboard sniffing devices installed on internet cafe machines.
Can this be used as a rescue disk for Linux partitions? When I tried it with DemoLinux, it couldn't see the hard disk, but it would be nice to have a rescue disk that would let one use the graphic tools, instead of trying to fumble at the command line with no man files.
Of course, I'd prefer if the tools that I used recognized the ext3 file system, but that's no *major* problem.
I think we've pushed this "anyone can grow up to be president" thing too far.
I just got it setup for a client running Point of Sale systems. Most of their machines are Linux based and our POS software runs just fine, but we haven't ported the printing to Windows yet, so running the software on the Windows machine is not possible.
When the client is offsite and needs a bunch more computers, we can now just grab a couple of spare Windows boxes, stick a CD in and boot up a fully functional Linux system with our software installed and configured. The process for adding your own software is listed in their English forum and I can help anyone out who's interested. Post a reply here and I'll check when I get back from Reno, NV on the 12th.
The 2nd time we did this, we simply used fullscreen VNC. In both cases, the boxes looked like an average Linux box... we just didn't need to do any partitioning or installing or annoy the IT department. :^)
At the Whole Earth Festival at UC Davis last year, we handed out about 100 DemoLinux discs to passers-by, so they can try Linux out at home without installing anything.
I looked into Knoppix, bt it wasn't as customizable as I wanted. So I used timos rescuecd . It gives you the basic distro, and you can add whatever else you want. I just plopped in the quake directory I had archived, and ran the utility to create the ISO. Now I have a bootable Linux Quake server. All I have to do is boot it up, configure the NIC, and start the server.
I could have configured the NIC before creating it, but I wanted to keep it generic so other people I know can use it. I know a guy who runs AIX, so he couldn't host the server. Now he can, and we can get the old Quake gang back together.
I looked into how to create a bootable distro, and it wasn't as straightforward as I had hoped. Sourceforge and freshmeat to the rescue!
My beliefs do not require that you agree with them.