LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-20-2003, 01:19 PM   #1
Iriel
Member
 
Registered: Sep 2003
Location: Stow, OH USA
Distribution: Fedora Core 4, Knoppix, openSUSE 10
Posts: 44

Rep: Reputation: 15
Question USB Hard Drive


My problem is as follows:

I have a computer with a GeForce FX 5200 and my primary drive is ntfs configured for Windows 2000. I have a 20GB USB 2.0 Hard Drive that is formatted for FAT32. Getting those two to work is fine, but to put the new NVIDIA drivers on my secondary Linux Drive, I have to transfer it from my 20GB USB.

Here's where the fun begins:

I can only work in console mode because I've never been able to load anything GUI because X Server won't work with my video card (otherwise I'd just download the drivers from Linux). I've been able to find my USB drive under /proc/bus/usb but when I look in the drive, I only get the folders 001, 002, 003, 004, Drivers and Devices.

These are not the folders on my drive and none of the folders ever show any actuall files on them.

How can I get Linux to recognize my drive so that I can get the NVIDIA .run file onto my Linux drive and finally actually run?
 
Old 09-20-2003, 01:21 PM   #2
Iriel
Member
 
Registered: Sep 2003
Location: Stow, OH USA
Distribution: Fedora Core 4, Knoppix, openSUSE 10
Posts: 44

Original Poster
Rep: Reputation: 15
Maybe I'm just looking in the wrong directory, but if anyone can help me out, I'd be much obliged.
 
Old 09-20-2003, 01:45 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Well assuming that all of the USB modules are loaded:
1.create a mount point
mkdir /mnt/usbdrive

2.mount drive like any other.
mount -t vfat /dev/sda1 /mnt/usbdrive

/dev/sda1 assumes you do not have any other USB memory or SCSI devices

There are lots of posts on mounting USB and FAT32 drives that you can search for additional help.
 
Old 09-21-2003, 11:59 AM   #4
Iriel
Member
 
Registered: Sep 2003
Location: Stow, OH USA
Distribution: Fedora Core 4, Knoppix, openSUSE 10
Posts: 44

Original Poster
Rep: Reputation: 15
Well, I checked the devices with the 'df' command and all I found was my linux drive, my boot drive and an untitiled one mounted on '/dev/shm' with nothing on it.

I'm not entirely sure what the problem is here, but nothing else seems to be fixing it.

Please help!
 
Old 09-21-2003, 12:15 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
The drive has to be mounted for df to report disk space usage.

Did you try to mount the drive yet as posted above?

If there are errors look at the output of the dmesg command and look for messages related to USB and the hard drive.

Look at what modules are being loaded /sbin/lsmod. Post them so we can take a look.
 
Old 09-21-2003, 01:38 PM   #6
Iriel
Member
 
Registered: Sep 2003
Location: Stow, OH USA
Distribution: Fedora Core 4, Knoppix, openSUSE 10
Posts: 44

Original Poster
Rep: Reputation: 15
Okay, here's what I get so far for info on my drives (20GB mobile and ZIP 250):

Attached scsi removale disk sda at scsi0, channel0, id0, lun0
Attached scsi disk sdb at scsi1
SCSI device sda: 489532 512-byte hdwr sectors (251MB)
usb uhci.c: interrupt, status 3, fram# 554
sda: Write Protect is off
SCSI device sdb: 39070080 512-byte hdwr sectors (20004MB)

However when I try to mount either of them (replace sda with sdb as needed):

mount -t vfat /dev/sda /mnt/zip

FAT:bogus logical sector size 8293
VFS: Can;t find a calid FAT filesystem on dev 08:00
mount: wrong fs tyep, bad option. bad superblock on /dev/sda or too many mounted file systems
 
Old 09-21-2003, 01:41 PM   #7
Iriel
Member
 
Registered: Sep 2003
Location: Stow, OH USA
Distribution: Fedora Core 4, Knoppix, openSUSE 10
Posts: 44

Original Poster
Rep: Reputation: 15
As an added note, when I check /sbin/lsmod, the only thing I found was it is(has?) a symbolic link to insmod.

Keep in mind, I am a newb at this
 
Old 09-21-2003, 01:52 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
The command /sbin/lsmod will display all loaded modules. However, it isn't necessary. I used the complete path for the command since /sbin is not usually in a users environment.

Still thinking on what to do next...
 
Old 09-21-2003, 02:01 PM   #9
Iriel
Member
 
Registered: Sep 2003
Location: Stow, OH USA
Distribution: Fedora Core 4, Knoppix, openSUSE 10
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks for that info, but keep in mind that updates to this thread may take a littel bit considering all the rebooting I have to do.

By the way, do you know how to restart the computer from the command line so that I don't actually have to use the reset button?
 
Old 09-21-2003, 02:03 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
shutdown -r now

man shutdown for info on options.
 
Old 09-21-2003, 02:10 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Quote:
Originally posted by Iriel

mount -t vfat /dev/sda /mnt/zip
Is this a typo or did you forget to specify a partition number

mount -t vfat /dev/sda1 /mnt/zip
 
Old 09-21-2003, 02:19 PM   #12
Iriel
Member
 
Registered: Sep 2003
Location: Stow, OH USA
Distribution: Fedora Core 4, Knoppix, openSUSE 10
Posts: 44

Original Poster
Rep: Reputation: 15
Actually, every time I specify a pratition number I get:

mount: /dev/sda1 is not a valid block device
 
Old 09-21-2003, 02:24 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Go ahead and post the modules that lsmod outputs.
 
Old 09-21-2003, 02:53 PM   #14
Iriel
Member
 
Registered: Sep 2003
Location: Stow, OH USA
Distribution: Fedora Core 4, Knoppix, openSUSE 10
Posts: 44

Original Poster
Rep: Reputation: 15
And we have it:

parport_pc
lp
parport
autofs
via-rhine
wii
ipt_REJECT
iptable_filter
ip_tables
ohci1394
ieee1394
usb-storage
scsi_mod
keybdev
mousedev
hid
input
usb-uhci
ehci-hcd
usbcore
ext3
jbd
 
Old 09-21-2003, 03:31 PM   #15
Iriel
Member
 
Registered: Sep 2003
Location: Stow, OH USA
Distribution: Fedora Core 4, Knoppix, openSUSE 10
Posts: 44

Original Poster
Rep: Reputation: 15
If you need more detailed information I can get it more quickly now that I'm using an ibook to stay on the net while my desktop is running the console.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
Linux on a USB hard drive without USB-FDD BIOS option jaro Linux - Hardware 1 07-15-2005 03:12 AM
Linux on a USB hard drive without USB-FDD BIOS option jaro Linux - Hardware 6 05-27-2004 12:49 PM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 11:41 PM
usb hard drive AzrielMacKay Linux - Software 1 03-11-2002 06:33 AM


All times are GMT -5. The time now is 08:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration