Single Floppy Boot/Root/Install For USB-Floppies 14
blutgens writes: "I have a Sony VAIO superslim with no cd-rom and only a USB floppy. I'd like to install Debian or Slackware. Only problem is, without some serious mojo it's next to impossible to do. FreeBSD has an install disk which works fine and will load the MFS (same as a ramdisk essentially) but I'd just as soon migrate it back to linux (Don't ask, I have my reasons) but refuse to run redhat. I made custom kernels with USB support but all I get once the kernel tries to load that second floppy from USB is "Invalid partition table" the disk is fine, I've tried others. My question is what do other people do when they lack normal install media? Isn't there a debian netboot.img floppy image that won't require some magic needed to read a second floppy?"
Try this (Score:3)
similar redhat installation onto libretto (Score:1)
With RedHat 5.x (I think), this was a royal pain. There were serveral different methods of bootstrap, usually involving a parallel port zip drive. But them came RedHat 6.x. The netboot driver contains all the pcmcia network drivers so that you can boot off a single floppy and then do a network install.
I understand that you'd like to install Debian or Slackware and not necessarily RedHat. Since RedHat does it already, its clearly possible so someone should be able to kludge something up. That's one option. Another option is to try out RedHat (or Mandrake) and see how that works out. In my personal experience, I find that Mandrake is especially laptop-friendly
Floppy Install, Debian (Score:2)
What I did:
Installed Debian 2.1 - with the base install files on a separate partition (which you later bring back into the folds of linux, or leave for windows booting for those annoying windows streams) - the boot disk will [perhaps after a few tries] get to the point where you can continue with the installation. The problem is basically at some point linux stops communicating to the floppy through the bios (almost immediately) and when that happens it no longer see's it.
Try What I've Learned:
the following are the steps I go through to enable my vaio's floppy to work, I've never played with making custom boot floppies and whatnot - but I presume it would be fairly simple if you could fit the modules on the disk (or just in a custom kernel I guess).
sync
modprobe scsi_mod
modprobe sd_mod
modprobe usbcore
mount -t usbdevfs none
echo "scsi add-single-device 1 0 0 0" >
modprobe uhci
modprobe usb-storage
sleep 1 [implicit, if you script you need to sleep here]
mount -r -t vfat
and verify
cat
that would do ya, good luck - if you do figure out a good way or directions on making a custom floppy [come to think, I didn't even look at the howto's, since my method worked] - drop me a line.
Kernel != Distro (Score:2)
Me too! (Score:1)
Sony BIOS to the rescue (Score:2)
Just copy the RedHat CD to your windoze partition, rawrite yourself a bootdisk, and boot from the bootdisk. Make your linux partition, select the hard drive install method, and away you go.
Drivers are another fun slow death but the latest kernel has the sound drivers, and, well, don't expect the softmodem to ever work.
PCMCIA works just right, as long as you mask off the used interrupts.
How I got RH7 on my VAIO PGC-Z505SX (Score:2)
One tricky thing I noticed when I compiled and installed the 2.4.1 kernel is that sndconfig no longer works - it thinks there is a nm256 module, while the module is now nm256_audio. Also, you need to load the ac97 sound module first. I had to hand-edit
alias sound ac97
alias sound-slot-0 nm256_audio
for the sound to work (there may well be a much better way - I just poked things until something worked)
Let me know if you have any more problems - email me at theodorelogan -at- yahoo -dot- com
(being a bit paranoid about spam
-Josh
Re:Kernel != Distro (Score:1)
New Mac PowerBook (Score:1)
The ramdisk is what causes the problems... (Score:2)
I guess that the RedHat boot floppy uses this method, but I haven't looked at it recently.
Also, having the USB drivers built into the kernel still doesn't help here, as the ramdisk only loads from a `standard' floppy (please correct me if I'm wrong), while the usb-storage module makes the usb floppy show up as a removable scsi disk.
If you can fit what is needed for a rootdisk onto a floppy uncompressed, then you can disable the ramdisk, and point root at
Re:The ramdisk is what causes the problems... (Score:1)
This involves mounting a floppy with tar gzip files, then copying those into ramdisk. This happens late in the boot process (see the script "linuxrc" (ie, pkgsrc/root/linuxrc). Should work with a removable drive.
Re:Sony BIOS to the rescue (Score:1)
Re:Install from another partition? (Score:1)
Of course, there's something to be said about just going to the store, buying a USB cd, and returning it after the install.. +)
Re:Install from another partition? (Score:1)