At my Rolla, Missouri, home, I have a desktop computer running Red Hat Linux and a laptop running Windows 2000. They are networked and I lived happily with that for a long time. This summer I had to stay in California for six
weeks so I decided to take the laptop with me and send the desktop from Mailboxes Etc.
Introduction
When the desktop arrived, it would not boot. It took me a little bit too
long to figure out that the primary IDE controller on the motherboard was
damaged. I had to get on with my work, so my mission was to rescue my data
from that computer. My resources: one Windows 98 computer (at my temporary
summer home) that I bought at Tiger Direct a long time ago for only $500,
connected to the Internet at roughly 48 Kbps; one Red Hat Linux computer that
won’t boot; and one Windows 2000 laptop. The Linux box had 3 hard drives in
it. One contained the operating system and applications (13 GB), another
contained all my data (100 GB, but not full), and the third was small and I
used it exclusively for the swap file. Because my data disk was formatted
with ext2, I couldn’t just plug it into the Windows computer. I needed
something that will read ext2.
I don’t know of any ext2 adaptations for Windows (if you do, let me know!)
so my plan was to search the web for a minimalist Linux distribution, use it
to boot the broken box, and rescue my data. I needed a Microsoft-readable
storage space, too. I decided to use the 13 GB drive that contained my copy
of Red Hat, since it’s easy to replace.
The Distributions
The first distribution I tried is called HAL91. It is no longer maintained
but, I thought, that doesn’t mean it won’t work. Using RAWRITE, I copied it
to a floppy and then tried it in the broken box. It started without any
problems and I was able to mount my ext2 and my vfat disks. All I had to do
now was copy the data. As you can guess, this being only the beginning of
the article, that part wasn’t so easy. HAL91 comes with a program named
STAR, which will only extract from archives presented to it on stdin. It
won’t create archives. HAL91 also comes with a program named ZCAT, which
will only extract files from stdin. It won’t create archives. The cp
command has a recursive option, but it has very strange bugs, and I couldn’t
even use my own executables because they were compiled with a different
version of libc and there’s not much I can do about that from Windows.
The second distribution I tried is called Pocket Linux. Unlike HAL91, this
one has the real sh, and even real tar and gzip binaries. I thought I was
done, but I had trouble mounting the large data disk. The error message I
got said that the ext2 filesystem on that disk was using unsupported
features. I think it meant that it can’t read the logical drives listed in
the partition table. Pity.
The third distribution I tried is called BasicLinux. It has a full-fledged
shell, easy network setup, a word processor, and even games. Unlike the
first two distributions I tried, which fit on 1 disk, this one needed two
disks. BasicLinux is based on Slackware 3.5 so it also felt more familiar
than the other two, which had a ground-up feel to them. I thought to
myself, “not a big deal – 2 disks, but I’ll be saved”. Wrong again. This
one also didn’t have support for the logical drives.
The fourth distribution I tried is called AlphaLinux. Like BasicLinux, it
requires 2 disks. The messages from the boot process made me hopeful,
because my drives were detected. However, right after I put in the second
floppy to mount the root filesystem, the sky fell and AlphaLinux claimed
that it couldn’t open a console. Shot down.
The fifth distribution I tried is called Grey Cat Linux. This one takes two
disks and uses LOADLIN. I didn’t get a chance to try it out because it had
trouble mounting its root vfat filesystem.
The sixth distribution I tried is called tomsrtbt. I liked it right away
because making the floppy was easy: switch to DOS mode, put the floppy in,
run install.bat, and away it goes. This is important beause after five
distributions and a few hours, patience is a limited resource. I put it in
the broken box and touched the power button. Tom put a funny comparison of
his distribution to others in the bootup process, showing a small penguin to
represent his and a big one to represent others. The bootup process went on
without a hitch and I was able to log in. I was even able to mount all my
hard drives. Finally… I love stuff that works.
Conclusion
One floppy is better than two. I think it was only coincidence, but it’s
amusing that none of the 2-floppy distributions I tried could even get off
the ground. There are many other distributions out there and they come in
many different sizes (and shapes! I glanced at a page of one that is
intended for those business-card CDs. cool). I kept the tomsrtbt disk and
put it in my laptop case so it can follow me to other adventures. I’m
impressed by the work of all those people out there making minimalist
distributions of Linux. Back in the days when a DOS rescue disk was the best
thing ever, I never imagined that there could be a system that crammed tons
more stuff into the same space.
About the Author:
Jonathan Buhacoff is 22 years old, a senior in computer engineering at University of Missouri-Rolla. He is very into practical automation for the home, currently using a PC with Linux to coordinate microcontrollers. Favorite words are
“open source”.
Here are 2 tools that should work in windows, the first one being more flexible and developed IMHO.
Explore2fs: http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm
FSDExt2:
http://www.yipton.demon.co.uk/content.html#FSDEXT2
—
For DOS: ftp://metalab.unc.edu/pub/Linux/system/filesystems/ext2/
For OS/2: http://perso.wanadoo.fr/matthieu.willm/ext2-os2/
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm
it is basically windows explorer for your ext2 partitions. i have used it to read data off of my drives (well when they were ext2 anyway) with no problems. i never tried writing but that is not recommended anyway.
maybe i should the html support line a little more
I always liked the 2-disk XWindow system:
http://www.thepub.nildram.co.uk/mirrors/2diskxwin/2diskXwin.htm
But the author seem to have completely take down all its references to it…
And of course, there are the special firewall distros etc, that all fit in 1-2 disks. There are about 5-6 projects like that to be found around.
James, READ how to make links on osnews before you press that darned submit button.
LinuxPlanet had a look at several CD-based rescue discs a little while back: http://www.linuxplanet.com/linuxplanet/reports/4294/1/
Free Software
CD distros are a lot easyer and more powerfull then floppy distros… try Knoppix. despite it’s use of KDE its actually rather fast if you have enough memory (128mb will do). it’ll mount all your drives and even autoconfig your CD burner!
KNOPPIX Linux Live CD 3.1 is excellent. I burnt a copy to CD and boot it up on any workstation that I sit at when at college.
If you care to read the ‘knoppix-cheatcodes.txt’ ( http://ftp.uni-kl.de/pub/linux/knoppix/knoppix-cheatcodes.txt ) then you will find that if you pass this option ‘knoppix desktop=gnome’ at the LILO bootprompt, it will boot up in GNOME2. TWM, LARSWM and WindowMaker window managers are also available.
Get a copy of timo’s rescue cd, and burn it to a business card sized cd. It’s saved me on more than one occasion.
Beos was made to fit on one disk, with a web browser, just like QNX.
Those who deny should search through these message boards – it was confirmed by JLG in one of his columns in the newsletter, and also by C. Herboth in the comments of a particular story on this site.
It was just an experiment, I think, and after that, they started developing BeIA.
I know that BFS barely fits on one disk itself, so how did they cram in BeOS and the web browser? Well, Cris mentioned something about a compressed file system, or something. Search on the site – I think they coments were under a story about QNX.
Anyway, if people still deny it, then they should ask their ex-be engineer husbands (hehe…)
Eugenia: did you not see that i owned up to my mistake in the very next post? i would have fixed it if i could have.
No, I did not see it, because I was still writting my own comment when you posted your second one.
hey can anyone tell me what linux distribution is very very small and has a good GUI+not difficult to install?
please this is very important
vasheel
Any Linux user should take a lesson from this guy and read Bootdisk-HOWTO.
Create your own bootable floppy with kernel that supports your system and modules you want to have.
FreeBSD is what you want Booting from floppy and mounting arbitrary volumes works pretty well from FreeBSD, and it uses 2 floppies (or 1, depending…).
Not sure if there is a linux distro that fits your needs, but QNX fits all but the Linux part of your request. Check it out if you haven’t already.
Russ
well i’ve checked QNX it’s quite limited you know
any more suggestions?i’ve heard that there’s a Beos that can fit on a diskette?