Using a USB Memory Key
I'd like to use my 16MB USB Memory Key with Red Hat 8.0
Is it necessary to recompile the kernel in order to use a USB Memory Key with Red Hat Linux? http://www.linuxquestions.org/questi...icle&artid=115 I first tried modifying the file /etc/fstab. I added the following line /dev/sda /mnt/usbkey vfat noauto,owner,rw 0 0 Then I created the directory mkdir /mnt/usbkey But when I attempted mount /mnt/usbkey the error message I saw was mount: wrong fs type, bad option, bad superblock on /dev/sda, or too many mounted file systems. I would appreciate any help. Thanks. |
Try replacing /dev/sda with /dev/sda1.
|
LavaDevil94, You're terrific and I thank you SO much. Big Help... Many thanks.
I love that little Memory key. For the purpose of learning I'd love to know, how did you know I should include a "1" after the name /dev/sda1 vs /dev/sda Thanks again! :) |
Hi
Fire your favorite console and type :: fdisk -l That should list all attached (even non-mounted) devices and it will print the name of the device. ** I'm using the 2.6.9 kernel, which changed the USB device names from SDA to UBA, which you will see at the end -> /dev/uba1, that's my device name ** Here's mine :: root@MBH:~# fdisk -l Disk /dev/hda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 3611 29001136+ 83 Linux /dev/hda2 3611 3735 1000219+ 82 Linux swap /dev/hda3 3736 4865 9076725 c W95 FAT32 (LBA) Disk /dev/hdb: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 19929 160079661 c W95 FAT32 (LBA) Disk /dev/uba: 1024 MB, 1024966656 bytes 32 heads, 63 sectors/track, 993 cylinders Units = cylinders of 2016 * 512 = 1032192 bytes Device Boot Start End Blocks Id System /dev/uba1 1 992 999813+ 6 FAT16 root@MBH:~# |
Quote:
For device names what you have as sda is scsi device a (first one used) and that is just the device. Partition numbers start at 1, and since it's a 16 MB drive, it's not likely to have more than one partition. Unless you partitioned it, most of the time they come with only one partition. |
Quote:
I tried typing "fdisk -l" in the shell/terminal as you suggested and the response was "command not found" |
Quote:
|
Quote:
NB You must be root for this command to work... |
Thanks for your response. In the shell I entered ...
Code:
/sbin/fdisk -l Code:
Cannot open /dev/hda |
Wait - Disregard my last post...I wasn't root....
|
Yes I see the information about the two hard drives. And I understand that fdisk is a utility that will assist with partitioning the drives.
But I don't see any information there about my scsi, my usb. But thank you though. That was interesting. |
All times are GMT -5. The time now is 03:41 AM. |