Linux on a Floppy: Intro to Mini Linux Distros
GonzoJohn writes: "If you've ever been stuck on the freeway with a flat tire and no jack, you know what it's like to have a Linux system crash and not have a boot disk. And although nearly every Linux distribution company asks you make a boot/recovery floppy when you install Linux for the first time, many users skip this important step. Out of the boot/recovery disk concept was born the Mini-Linux distribution." Read this article on Linux Orbit, with a brief intro to some of the mini-distros available.
I mean, come on people - If its a bootable linux distro; what good is it, really!
The day I installed Windows 2.0 was the best day of my life - Me
Yes, this is nice ... in case of a disk failure, simply flop in the floppy, reboot an your server is running again, at least for gateway services!
Life sucks.
When I want a boot disk I use SuperRescue. Nowa days every one has a cd burnner and CDRs are dirt cheap. Besides when was the last time you could find a blank floppy in less then 10 minutes?
I know I'm going to hell, I'm just trying to get good seats.
Is what I use as my gateway. Boots off a floppy, runs on this crappy little 486, and firewalls me (to a certain degree) from a lot of crap out there.. Very useful for people with multiple PCs and a cable connection. Easy to setup and configure. Their website has a download of the floppy image, a manual and extras (e.g. drivers for network cards). Worth checking out.
[lame windows weenie troll starts]
You mean that Linux crashes?
What is next? Blue screen's of death?
[/lame windows weenie troll ends]
The truth of the matter is that in a Windows NT or 2000 server you can boot the box off the install CD and run a repair utility. freeBSD can be installed off two floppies and over the network, and it cannot be that hard to add to the floppy images enough functionality to add a repair program.
Pedro
----
The Insomniac Coder
Why anybody would want to use a foreign OS like Linux instead of supporting their country and using an American OS like Windows is beyond me. If Osama bin Laden knew anything about computers, you can bet he'd be a Linux user. Hint to the clueless: the terrorist attacks hit our economy hard. Boycotting a Godly, moral American company like Microsoft is pretty much a second wave of the 9/11 attacks. Don't be hateful. Support your country.
CD drives are a waste of space on anything except desktop machines.
The tomsrtbt boot disk. IMO, is by far the best rescue disk available. In 1.44 megs of space they've managed to pack over 160 common utilities, and that's not including the kernel modules! You can grab a copy of the boot image at http://www.toms.net/rb/
This thing has saved my ass several times.
In this context fli4l should be mentioned. It's an amzing single-floppy distribution and while primarily targeting on router/firewall tasks it is very extensible. The reason it is not so very well known is probably the fact that most of it's documentation is in German. But it's definitely worth a look. Also check this.
--- censored
I cannot believe that the article did not mention the fli4l project, which is a great isdn/dsl router on a single floppy. It additional features lots of additional packages. Great distribution! (I am just a happy user) http://www.fli4l.de NikWest
I have nearly allways with me a disk with Hal 91 so that if I talk to none-belivers or ppl that simply doesn't know about Linux, I can show them the power of Linux!
... Well, actually, most ppl seem to think I've booted into Dos anyway, and/or complain about the lack of a GUI and stuff, but I once in a while, there are actually ppl who think I'm some sort of über-hacker when I say to them with a monotone and mystical voice:
"No, it's not DOS.. It's Leenooks.. It's a superior operationsystem that have now taken over all your hardware.. resistance is futile.."
If you've ever been stuck on the freeway with a flat tire and no jack, you
know what it's like to have a Linux system crash and not have a boot disk.
I know what it was like to have TWO flat tires on a country road, with nothing but
a $1500 Presario lap top. It was "Redneck Rampage", those fuckers even took my boots.
For a firewall sitting between my LAN and my cable modem, I use LRP. Runs on anything from a 486 upwards, off a floppy. Once you've finished configuring the floppy (takes between 5 mins and 3 hours, depending on how experienced you are with Linux and networking), you can simply write-protect it, and you have a completely uncrackable system. If someone breaks into it, just reboot the computer and it'll load everything back into ramdisk. It can also act as a dhcp and dns server. Check hereand here for documentation.
SpamNet - a spam blocker that really works
Most modern distributions come with a rescue system on the installation CD.
The trouble with floppies is that they are just too unreliable to make a decent rescue system.
b.
--
"Just believe everything I tell you, and it will all be very, very simple."
If you want to make your custom Linux disc, take a look at this step-by-step howto:
http://wam.umd.edu/~kefferb/floppy.html
And lets not forget BusyBox - which makes most of these distributions possible. Even Red Hat boot disks use BusyBox these days.
Ra for Tom.
Cheers, Andy!
Andy Rabagliati
(this ones based on BSD IIRC)
"None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
I've used floppy distros to rescue Windows boxes for more often than I've used them for rescuing linux. NT password crackers, disk utils, tiny editors, you name it - I used to carry a syslinux disk around with me at our all-NT shop just in case, and by the time I left I wasn't the only one using them.
All the rave, those floppy disk linux distros. Over the past few years, I've learned to love tomsrtbt (Tom's RootBoot).
...I want the iso!
Then, last year, I found some Business Card CDRs, which hold 30-50mb and fit in your wallet.
Naturally, I wanted a super-utility boot disk. My ideal was high; mix tomsrtbt with a standard Win98 boot disk (essential for flashing) and a few other tools. Multiboot? Now there's a tough subject. Even with the best guide to making bootable cdroms I could find, it was hopelessly difficult.
When I saw this post on Slashdot, I knew I had to post this little story. In researching it, I actually found an answer to the question I wanted to pose to all of you; does anybody know of a linux distribution for these business card cdrs.
LNX-BBC is just that. Anybody tried it? Anybody know of another one? Anybody made a multi-boot linux/dos businesscard cdr?
Use my userscript to add story images to Slashdot. There's no going back.
Who needs a floppy disk, when you can boot your machine off of PAPER?
:-)
Yes folks, my very own FSMOS is able to do just that.
To demonstrate the amount of hackishnes envolved, I used the following off
the shelf concepts -- so not to lock you guys into propierty stuff:
1) A finite set of input symbols (you can increase this all you want, but the clock
cycles are inversely proportional to it.)
2) A finite set of internal states (yes, you can have as many internal states as you want.
TIMTOWTDI, same problems as 1 though)
3) A finite set of out put symbols (it will "say" anything you want
4) a highly polished initial state, s0 (the first one is on the house.)
5) a next-state function (so you can tell it where you want it to go today.)
6) your very own mouth piece, an output function (yay)
You just have to do a little configuration, and make sure you have balanced edges and you
are good to go.
{ the above lame joke was brought to you by, Star Fruit Brust, it is juuuuuuicy, and by
Ashcroft and Gereld, working for a bent over you }
The vital thing is actually finding the disk in the first place after a system crash! When you have hundreds of disks in many boxes - where do people suggest would be the best place to keep your Linux boot disk?
Video Game cheats, hints a
for almost everything. It is designed as a security testing tool, but I found its "download and install into ram" abilities so useful I had it set up to ghost machines, repair stuff, set up an emergency mail server...
As well as stress test the IDS we were writing. Brilliant.
-Yarn - Rio Karma: Excellent
Not mention of busybox anywhere
Where would any of these min-distro's be without busybox
...And they break too easily. I've wondered sometimes if the makers of floppy disks have lowered the quality of the disks over the last 10 years. I hardly remember any disks breaking back in the days when I used the Amiga 500 and 1200. Then I didn't even have a harddrive, just around a thousand floppies. Sure some disks broke, but nowadays every disk seem to break after just a couple of uses.
Comes with a business card sized Sysadmin CD. Pop it into your wallet, have it anywhere. You can buy blank business card CDs and burn your own.
Get a free ipod.
format A: /s
copy edit.* A:
copy fdisk.* A:
copy format.* A:
copy scandisk.* A:
Wow... my very own MSDOS SDCRK [that's super-duper-crash-recovery-kit for you laymen].
Tom
Someday, I'll have a real sig.
Ive been waiting for a version of linux to run in my anus for ages!
whatever¦you¦used,¦its¦a¦horrible¦translation..
I find the bootable CD-ROM distributions more useful. They contain things like X with a window manager and web browser, net connectivity via ethernet or dialup, XFS and Reiser support, and other useful goodies that would never fit on a floppy distro. And CD-ROM drives are dirt cheap, and nearly as pervasive as floppy drives.
:-)
My two favorites are related branches, LNX-BBC, a spinoff from Linuxcare's bootable toolkit, found here. Both have advantages over the other, and will fit on credit-card sized CD's, so you can fit 'em in your wallet (try that with a floppy
Another cool one, which also has the advantage of letting folks try a more full-bodied Linux without installing anything, is DemoLinux. It even contains StarOffice on a fully self-contained bootable CD-ROM. Very cool.
-me
Love many, trust a few, do harm to none.
Suse has a bootable 'LiveEval' CD ROM (available as ISO). It has everything one needs; config is saved on some HD partition (this does not destroy anything). Of course, it won't boot as fast a floppy-based solution does.
http://sunsite.dk/mulinux/ - it says it all. Small, functional, can do really many things - and runs off a floppy (or several of them, to be exact). Give it a try...
Yet another BBC ("bootable business card") cd is maintained by redhat.de (german subsidiary).
Although aimed mainly at redhat users, it's pretty comprehensive and you can debug/fiddle with your other partitions (win32, ntfs). It's fairly up-to-date, also.
Grab it here
Details
Contents
Self extracting archive - run unzip on it to extract it linux.
Full plate and packing steel! -Minsc
FloppyFW is a linux distribution on a floppy that acts as a packet filtering firewall. I have floppyfw machines set up both at home and at work--one's a 486-50, the other's a Pentium 60--that protect my machines. It's great for those of us that have old computers with floppy disk drives sitting in the basement, and have to protect a computer or two running Winblows. http://www.zelow.no/floppyfw
Check out our infosecurity industry blog: http://securitymusings.com/
why aren't floppies dead? why? why must the pain go on?
There are a ton of "rescue disks" and ISOs out there, but does anyone know of any Linux distros that install to a hard drive from a series of floppy disks besides the debian and slackware distros? I have an old laptop with out a cdrom drive. I don't have a null-modem cable or network access from my laptop either. Any suggestions?
This is semi-off-topic. Sorry.
No support for Reiserfs! Tom says he will work on it sometime though. My favorite at the moment is Ramfloppy - has nowhere near the same amout of utilities, & no networking support though. To fit everything in these days, you'd need to go to two floppys. The author of Paud said that people preferred a single floppy & wouldn't use Paud if he moved to two.
Full plate and packing steel! -Minsc
Don't forget the BSD's have things like this too. Tsk, anyone would think the BSD's and the Linux's aren't on speaking terms or something :)
/usr/src/release/picobsd/
PICOBSD(8) FreeBSD System Manager's Manual PICOBSD(8)
NAME
picobsd - floppy disk based FreeBSD system
DESCRIPTION
picobsd is a script which can be used to produce a minimal implementation
of FreeBSD (historically called PicoBSD) which typically fits on one
floppy disk, or can be downloaded as a single image file from some media
such as CDROM, flash memory, or through etherboot.
The boot media (typically a floppy disk) contains a boot loader and a
compressed kernel which includes a memory file system. Depending on the
media, it might also contain a number of additional files, which can be
updated at run time, and are used to override/update those in the memory
file system.
I've been looking at single floppy distros for a while now for firewalling. Almost all of the "good" distros use 2.2 kernels. That means no stateful firewalling, which is not secure enough for what I need.
PicoBSD is cool, but doesn't support DHCP... (duh)
ClosedBSD is cool, but doesn't support DHCP... (why?!?)
I've never seen a single floppy OpenBSD, which would be the best IMHO.
All in all, I'm very disappointed with the state of things. I'm still running my (OpenBSD) firewall off of the HD. It wastes energy, is too loud, and is more likely to fail than if it was running off a ramdisk (booted from floppy).
Speaking of mini-distros, check out dyne-bolic at http://lab.dyne.org/DyneBolic
Note that it is presently Alpha.
It's a distro that boots off of the CD and gives you access to tools for making cool visuals set to music using FreeJ, or running a webcam off of hasciicam.
Check it out, and I know they could use a hand getting some of the USB camera stuff going.
This is ten words, three commas, one letter, and a dot.
Thats eleven words.
Would be handy actually.
Boot floppy, brings up network, contacts backup server, partitions disks, creates filesystems and begins restoring all the data from the backup server.
Deleted
I used to use Zip disks back in the day when you could reasonably do viable a viable installation (one with development tools, editors, networking, etc etc) on 100MB. The "rescue" disk and the drive wsas portable to whatever machine it was needed on, reasonably fast and was a writable medium for saving configs or other data if it was determined that the original disk was dead (yes, there was actually 10-20 MB of FREE disk space).
It seems like the last time I tried to make a boot disk this way I couldn't get a basic install to fit on 100MB.
Removable IDE sleds sound the ideal solution, but so many boxes don't have room for them. A bootable CD seems like the most portable, although it lacks a writable filesystem.
I am currently scanning very old (50-100 years)family photos for distribution to the family on CD. I want to create a CD that is bootable and will go from a cold machine to an X11 desktop and immediatly start doing a slide show of the photos on the CD.
As a bonus, it looks like to me that a CD like this would be a great way for Linux to get exposure running business slideshows or product demos.
Therefore, it would have to logon as root (?), autoconfigure X11, and start playing. In addition, I would also put a 'autorun.inf' and copy of 'iview32' (win32 viewer) on it for those who shove it in and use with Winddows.
The basic requirements I can think of are:
1. All opensource/freeware
2. Linux Autoboot, Configure, Play etc.
3. Smallest disk space requirement, saving CD space for the pictures.
4. Ease of use. Might be nice to break out of the slide show and view pictures under user control.
Any ideas on what to use?
Which of these distros being discussed to use?
What Linux program will do the slide show?
How to autoconfig X11 if the distro doesn't?
How to autologon?
Hopefully this list is helpful to those of you just starting to think about tiny distros.
-- null
Ok, it's not a mini-distro, but it's a Linux you can carry around with you and can start it without installation:Knoppix.
Knoppix boots from CD and brings up a complete KDE including Koffice, OpenOffice, Kdevelop, Mozilla, many tools for recovery and security. Last but not least your CDRW is supported too. All this is done by having a compressed image on CD with approximatly 2GB of size. As there are still about 20MB free space you can add some of your own stuff to the image - very call for, say, presentation and the like.
You can download a bootable disc-image here.
Unfortunately the whole site is german only and I'm afraid all of the documentation too. But as it is really easy to use just give it a try!
Here is my web page detailing some of the steps I go through to create a linux on a disk. I am working on putting more details on soon but I think it still gives a good introduction.
this is not hard.
ps, substitue your running kernel version for "2.4.18" in the above.
---
http://www.hrlug.org/cddistro.html
Now I've seen it all!
Appended to the end of comments I post? 120 chars?!
I'm a little disappointed to see that fd linux didn't make it in to the review... fd linux (available from fdlinux.com) was created by a friend of mine (with a tidge of help from myself) to serve as a text-based replacement to any existing OS on a workstation -- it includes everything you need to work and play on-line. (in a text environment that is.)
"This above all, to thine own self be true"
Try Mindi. Build your own boot cd or floppy set using your own tools and kernel (option to use Mindi's own "Failsafe" kernel as well.) Uses ash and busybox for lightness. Minimal bullshit needed to use; edit a list of tools to include, then run mindi. A Debian package is available, be sure to edit your tools list (it's pretty lean by default - no fsck!)
If you want to run linux on a small PC-104 card or something, and a 64MB flash disk or so, are there any distros available for that? It would be nice to have something to base it on, rather than copying file by file by hand...
I was a little disappointed by the article; I've tried Mandrake, RedHat, and Debian but my current system is one I built from ground up from source. There's a lot of lip-service paid to the merits of really learning linux and its internals, through things like the Power-up to Bash prompt HOWTO, but I don't see many people actually doing it.
I've only been using linux since December, but I think building my own system has taught me a thing or three that someone who has used, for example Mandrake for a few years wouldn't know.
There's much to be said for learning by doing. I was expecting a little more than a listing of ready-made distros.
People have been predicting that it will take a dumbing down of some sort for linux to become a viable alternative on the desktop. Is this it?
Blearf. Blearf, I say.
Is there an Internet2 (or Canet3/Geant/JaNet/etc.) mirror of SuperRescue? The /pub/dist directory isn't mirrored at any of the kernel.org mirrors I checked (my download is going at ~10 kbyte/s, but it would probably be over 600 kbyte/s from Inet2).
Why should I buy and install an archaic piece of hardware just for disaster recovery? The distributions should supply programs to help me make boot CDROMs.
Unlike those looking for a boot/repair or router distro I need something to play MP3s on minimal hardware. I have an embedded 486 ISA board that I want to stick in my car along with an old sound card, so I need it to run headless and on very littl CPU power. Any ideas?
Anyways, I have a few ideas for linux distros:
Web Terminal Linux: Requires 486 with 8mb RAM. Boots from a floppy, all files on CD (since 486's can't boot from CD). Runs Konqueror-embedded and a PPP/dialup program. Turns your old pc into a web terminal.
MP3 Player Linux: Requires 486/Pentium with minimal RAM. Comes with parts list from Radio Shack to add LCD screen and basic frontend. Runs MP3 player and NFS/Samba to access files over home network. Or, accesses files on CD-ROM for in-car use.
I know these (almost) already exist in one form or another. I just think the main advantage of using a floppy or cd distro is putting it on that old 486 in the closet and getting some use out of it.
"I assumed blithely that there were no elves out there in the darkness"
Oxygen is capable of being used as a rescue disk.
A CD-ROM ISO version is in development.
The project page at sourceforge has some info up, but I haven't seen a lot of documentation for it.
Jim
WeFunk
Mondo Rescue creates a
very nice rescue system. You can choose to
use a special kernel or you can use your own
kernel and modules. Boot from floppy or
CD-ROM. Use Mondo Rescue to create a
a stock mini distro or your hand polished crash
recovery setup or create a backup of your
complete setup on CD-ROM.
It saved my ass more than one time. Since my
Mondo setup reads ReiserFs, I switched my
backup HDs to Reiser too: faster back ups,
better usage of disk space.
Why are we discussing something as old and obsolete as floppy disks. Blow Jobs made sure they weren't designed into the newer Macintoshes and thus they are obsolete.
PicoBSD does all this and more and is more
stable too. If you don't know about PicoBSD,
it might be worth your while to take a look
at it.
My favoriate pages for floppy and CD distros are hosted by a local user group.
Rescue Floppies: http://www.hrlug.org/rescuedisk.html
CD distros: http://www.hrlug.org/cddistro.html
--
Free software isn't free, but expensive software is expensive.
How many times have you adopted a PC and didn't know exactly what hardware it had. You need to put some version of Windows on it and the wonderful install and the wonderful PNP couldn't tell what the PC had. You then get that wonderful message pop-up "Located unkown device." and "Installing drivers for unknown device" (This has always cracked me up) Then the damn thing doesn't work perfectly. Well, pop in your Linux on Floppy disk, boot, cat /proc/pci/ among other tricks and and now you know. Go fix Winblows and make some poor shmoe happy.
And that my friends is what a mini distro can be used for.
I put all my favourite tools on one 8cm CDR and kept it in my bag so I had it handy wherever I went. Until one day I found the CDR broken in two in the bottom of my bag...whoops
Are there any of these distros that off the shelf support external firewire disks ? (with ohci compliant adapter cards), i am looking for a bootdisk or bootcdrom so i can run linux from my external hd on my laptop, work or home pc (all which have ieee1394).
any ideas?