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.
Hello friends, a question from a total Linux novice.
I have just installed RH 8.0 (kernel version 2.4.18-14) in a dual boot setup with XP, using GRUB, on a Compaq Presario notebook. In order to proceed with the RH 8.0 install, I had to type "linux nofirewire noprobe nopcmcia" at the start of the installation, or else the installation would hang at (various) places. With "linux nofirewire noprobe nopcmcia," the installation proceeds seemingly smoothly.
Later, at the GRUB screen when I am logging on, I find that I also need to hit "a" and add the "nousb" kernel argument, or else the Linux boot will hang at "Initializing firewire controller (ohci1394)". With "nousb," I get "[OK]" at the "Initializing firewire controller (ohci1394)" line in the boot sequence, and proceed into RH without difficulty. However, of course my USB floppy drive is now unavailable! Does anyone know how I can at this point mount my USB floppy drive?? When I right-click on the RH screen and go to "disks," only the CDROM appears.
Any assistance anyone can give with this problem will be gratefully acknowledged.
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
First, try getting Linux started as usual :
- Log in as root.
- Insert your USB floppy device.
- Type "dmesg".
(
at the bottom, do you see something like? :
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Model: Rev:
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.
)
If so, make a mountpoint where we try to mount the usb device, like this : "mkdir /mnt/usb".
Then do "cdrecord --scanbus" (USB access in Linux 2.4 goes currently with a SCSI emulation subsystem).
Finally, try to mount the USB device with : "mount -t auto /dev/sda1 /mnt/usb/"
If you're having troubles, check if the proper modules are loaded :
"lsmod |grep -i usb"
(Check for "usb-storage", if this one isn't loaded do "modprobe usb-storage").
Upon typing "dmesg" I saw exactly the lines you wrote above. I then created the mount point using "mkdir," then did the "cdrecord --scanbus." When I used the mount command as you state above, I get a message saying that "/dev/sda1 is not a valid block device." I then did "lsmod |grep -i usb" and usb-storage came up ok. But I still get the "/dev/sda1 is not a valid block device" error.
Cropcircle... through trial and error, using what you outlined above, I was able to mount the USB floppy drive by changing "sda1" to "sda." Not certain why that made a difference, but it did! I don't have the notebook here so unfortunately I can't post the output of "cdrecord --scanbus," but the output from that command did not look abnormal.
However, I notice that I still cannot mount (or unmount) the USB floppy via the GUI (i.e. by right clicking on the RH 8 Gnome desktop and going to "disk" ...only the CDROM appears on the menu.) Is it possible to modify RH 8 so that mounting and unmounting of the USB drive can be done this way? How do I get the drive to appear on that GUI menu every time I log on?
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
First, the bad news :
The fact that you cannot use the GUI Disks menu for this after plugging in a USB floppy, is because of this is a known bug in the current version of Gnome :
to fstab, the desks menu on the desktop showed "usb" as a mountable option! However, when I take "user" out of the line above, the menu item disappears.
Thanks again for your assistance.
Jared
Last edited by j_l_ajaste; 07-05-2003 at 06:07 PM.
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
Glad to hear it worked out alright.
ps. The fact that in your case it needs the 'user' option has probably to do with rights. According to the manpage of fstab this option allows a non-root user to mount the device.
Cropcircle solutios its right!!! I have purchased the StarMagic MP3 player that can storage 128Mb (usb connection) & i had no idea how to use with RH9, and this was the final solution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.