USB floppy drive with Red Hat Linux


Scenario: installed a dual-boot Windows XP/Red Hat Linux on a new Dell PC, Windows on the first partition, Linux on the rest, but in order to set up the boot loader (GRUB) you have to transfer files from the Linux partition onto a floppy disk. There is no floppy drive, so a USB drive has to be mounted. I think it went something like this:

  1. Boot from the Red Hat install CD into linux rescue mode

  2. 'cat /proc/scsi/scsi' to show the USB drive

  3. 'mkdir /mnt/usb'

  4. 'mount /dev/sda /mnt/usb'

  5. 'dd if=/dev/hda3 of=/mnt/usb/linux.bin'

  6. ...continue with the installation instructions...then to set up the flat screen, which isn't recognised:

  7. 'chroot /mnt/sysimage'

  8. 'vi /etc/X11/XF86Config'

  9. ...edit settings as needed...

  10. 'redhat-config-xfree86'

  11. 'startx'

Or something like that, my notes are a bit vague. Here's one helpful reference page.