Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is my first post here, and I'm hoping that someone will be able to help/guide me with the following issue.
One of my computers is an old Pentium-75 with 128MB RAM, running Windows for Workgroups 3.11 on a 1GB hard disk (you read that right!). It has two floppy drives (3.5" A: and 5.25" B: ) and a CD-ROM drive. Neither the CD-ROM nor any USB device can be set as a boot device in the BIOS.
I would like to repurpose this computer for use in a distributed computing project (I recognize that its contribution would be modest), but without affecting the installation on the HDD. Therefore, I would like to know if it is possible (and if so, how) to boot into some version of Linux via the floppy, to then direct the system's attention to an installed Linux on a USB stick.
I could then install a Linux version of the DC software on the USB stick, and write to the stick, bypassing the hard disk completely. This would avoid the complications of partitioning the HDD or dealing with multiple OS booting: if I wanted to load Linux, I could use the dedicated boot floppy; and if I wanted to load Windows, I could simply not insert the floppy.
An alternative way that I can think of to do this would be to use the floppy to direct the system's attention to the CD-ROM drive, where Linux would exist as a live CD and then load. Although I couldn't write anything to this drive (either add programs or write data), at least I could use this setup to run the DC software and write to the USB stick.
So the questions are: 1) Is either of these scenarios possible (and if so, how)? and 2) What version of Linux would you recommend to accomplish this, given the hardware specs? (Preferably, one with a GUI.)
I should note, FWIW, that I have very little experience with Linux, but I do use it as an end-user when checking my Windows systems with live CD malware scanners, so it's not a completely foreign environment. Just mostly!
One data bit that might help. Tonight I wrote the Feather Linux BOOTUSB.IMG file to a 3.5" floppy using PLoP's DISKIMG.COM on a Windows 98 system, then booted the P75 with the diskette and it came up, even appears to have identified the USB card -- but of course, I don't have anything installed on the USB stick for it to find. (Hmm, the thought popped up that maybe I could install a Linux distribution on the USB stick via my Win98 box, but then the hardware settings would be all wrong.)
Another data bit is that I tried the PLoP Boot Manager program itself, and it didn't work on the P75.
Thank you very much for any help you might provide.
(Hmm, the thought popped up that maybe I could install a Linux distribution on the USB stick via my Win98 box, but then the hardware settings would be all wrong.)
All you need on the floppy is Lilo or grub chainloading the mbr on the pen drive. You could also edit the config file for Lilo or grub with the kernel, initrd and root directory entries for the pen drive. I think chain booting would be easiest and allow you to experiment with different Linux distros without needing to change or edit your boot floppy.
All you need on the floppy is Lilo or grub chainloading the mbr on the pen drive. You could also edit the config file for Lilo or grub with the kernel, initrd and root directory entries for the pen drive. I think chain booting would be easiest and allow you to experiment with different Linux distros without needing to change or edit your boot floppy.
Just to elaborate because
Quote:
I should note, FWIW, that I have very little experience with Linux
Thanks very much. Unfortunately, the instructions there are for creating a boot floppy from within Linux. They seem to assume that one already has a working Linux installation, which is just what I'm trying to create. So it's a bit of a chicken-and-egg situation.
I also tried the Universal USB Installer that you linked to (thank you). I ran the program and, although it told me that it did "successfully" move the files over to the USB stick (a 2GB PNY), it also reported (before moving the files) that I wouldn't be able to boot from the stick. No problem, I thought -- I'm not trying to boot directly from the stick anyway. So I put it in the USB slot on the P75, booted from the boot floppy, and then after identifying the USB devices Feather Linux gave a whole slew of error messages, culminating in a "kernel panic" and the keyboard lights flashing.
The first error was: Accessing Feather Linux at /dev/sda1... cat: No file /KNOPPIX/etc/ld.so.cache
Setting paths.../linuxrc: /KNOPPIX/bin/rm not found
...followed by a long list of other "not found" files and pathnames.
I put the USB stick back in my Windows machine to see what's on it, and it contains a few files and a couple of directories -- BOOT and KNOPPIX. The only file in the Knoppix subdirectory is Knoppix (117MB). There is no mention of any of the files or subdirectories under /Knoppix that were not found. Huh? I did precisely what the Universal USB Installer said to do, made no modifications (not that I saw any opportunity to make them), and this is the result. So the program doesn't seem to work for me, as it failed to create the required system files on the USB stick, even though AFAIK I followed the installation procedure exactly.
Any ideas? What am I missing?
Also, I reviewed the documentation for the Smart Boot Manager next, but it contains a ton of unfamiliar terms, such as:
"If you want to boot linux with Smart BootManager, you must install LILO into the Superblock of your linux partition, instead of into MBR!" I've (barely) heard of LILO, but what is a "Superblock"? And, creating a Linux partition on my hard disk is something I'm trying to avoid by using the floppy+USB arrangement.
Thanks for your patience, this is wholly new territory for me.
Might look at plop linux. They have a boot image to boot to unsupported usb flash drives.
I'd look at netboot.me and boot.kernel.org and others too that can boot to the web.
Just as easy to setup a knoppix distro either on cd or other to then start knoppix terminal server and then boot over the lan. If no pxe then get a gpxe/ipxe media.
Might look at plop linux. They have a boot image to boot to unsupported usb flash drives.
I'd look at netboot.me and boot.kernel.org and others too that can boot to the web.
Just as easy to setup a knoppix distro either on cd or other to then start knoppix terminal server and then boot over the lan. If no pxe then get a gpxe/ipxe media.
Thank you very much, I'll take a look at these.
Here's what I've been able to do so far. I downloaded Smart Boot Manager and put it on a floppy, then I burned an ISO of Damn Small Linux onto a CD, and put both disks in the P75. SBM loads nicely, but then the CD "catches" only about half the time. No matter -- that's good enough for my purposes.
Trouble came when the DSL loading process (?) had a hard time understanding my quirky 2GB second HDD. It's actually a 4GB drive I installed last year that required custom formatting/partitioning software because the PC's BIOS cannot recognize more than 2GB. The DSL booting process would end up in some kind of error loop (with the same error message about "hdb1" scrolling up endlessly). Problem solved when I disconnected the offending drive , then DSL made all the way through.
So far so good -- now I have a DSL live CD running on that museum piece. But although the OS appears to be aware of the PCI USB card (dmesg yields several references to UHCI), I haven't yet found a way to make it recognize any USB stick that I plug in there.
Thanks very much. Unfortunately, the instructions there are for creating a boot floppy from within Linux. They seem to assume that one already has a working Linux installation, which is just what I'm trying to create. So it's a bit of a chicken-and-egg situation.
If you have a cdrom live distro, then you a working installation.
Also I'd recommend reading the documentation for grub. Grub itself has a command line interface were you could enter the location of the kernel, initrd file and the root directory for grub. Entering 4 commands you could boot up to the Linux installation on the pen drive, and then from there you may find it easier to modify the boot floppy or create a new one. You could instead use the grub CLI directly to make the modifications.
You might consider checking for a BIOS upgrade adding USB boot support, however I doubt there would current support for such an old computer.
PCI usb catds usually have to have both bios and OS support, I agree. In this one case I guess you could try to update bios but I doubt they ever offered support for that feature.
Second part is you can sometimes use rawrite4win to dump floppy images in dos and windows. There is even dd for windows.
PCI usb catds usually have to have both bios and OS support, I agree. In this one case I guess you could try to update bios but I doubt they ever offered support for that feature.
Second part is you can sometimes use rawrite4win to dump floppy images in dos and windows. There is even dd for windows.
I'm afraid you're right. I took out the new USB PCI card and then booted DSL again to see if it made any difference -- dmesg showed the exact same references to USB as when the card was in there, so the effect of its being in there was nil. And the card got recognized when I put it in another PC, so the reason isn't a bad card.
So it looks like the only hope is to flash the BIOS. Amazingly, the manufacturer (Dell) still does offer updates for my 1994 model. But the descriptions of the BIOS updates don't say what they're for, so I can't tell if they have anything to do with adding USB support. Given the notorious risks of a botched BIOS update, the safest/sanest course for me is probably to forget about using USB on that PC. (I don't think that long ago they made any provision for backing up the BIOS, but I'll look into it.) I can still learn about Linux with the live CD, and then maybe graduate to putting it on an actual hard disk.
Thanks a bunch to all of you who helped, you gave me some homework to do!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.