PDA

View Full Version : USB and text mode



Jesse555
12-10-2004, 05:33 AM
I'm trying add USB ports to a computer (Pentium1, 32Mb RAM, Win95) in order to use a USB storage device. Since Win95 won't recognize new USB devices, will I be able to use Knoppix (currently downloading) in text mode to write/download files off of a USB thumb drive? I don't think I'll be able to run the GUI with so little RAM.

Thanks in advance

UnderScore
12-10-2004, 07:19 AM
Yes you should be able to use the USB drive in text mode. With the power off, insert the USB data device into the USB port. Next boot off of Knoppix with the boot prompt
knoppix 2 vga=normalIt will boot up & get you to a command prompt. USB devices shouls be detected as either /dev/sda or /dev/sdb. In order to copy data from the hard drive to the USB device you will first need to mount both devices. For the C: drive use the following.
mount -t vfat /dev/hda1 /mnt/hda1Then check if you can see the C: drive's files
ls /mnt/hda1For the USB drive use
mount -t vfat /dev/sda1 /mnt/sda1 See if you can write to the USB device
touch /mnt/sda1/testfile && ls /mnt/sda1 If this is successful then you can now begin copying file from the C: drive to the USB device.
cp -v /mnt/hda1/autoexec.bat /mnt/sda1/

I hope this helps.
James

Jesse555
12-10-2004, 07:52 AM
Great! Thanks for the info