LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-10-2003, 11:42 PM   #1
rkhartley
LQ Newbie
 
Registered: Jul 2003
Location: Columbus, Ohio
Distribution: SuSe 8.2
Posts: 21

Rep: Reputation: 15
Question not a valid block device..... where do I find it?


OK - I've read through several help threads about the fstab files, mount points, and other things, but I can't find the silly camera on my system to mount it! Maybe I'm missing something, but when I type lsmod, or modprobe, bash tells me it doesn't recognize the command - and I"m logged in as su!

So, how do I find where the camera is, so I can mount it and see the images?

One thing - I'm pretty "gui" driven, and the RH9 hardware browser says it sees a digital still camera - but how do I find the directory?

Again (and I'm trying to be specific - please bear with me) I've tried the mount command, and RH says it's not a valid block device...

Help?
 
Old 12-10-2003, 11:57 PM   #2
gowanstl27
Member
 
Registered: Nov 2003
Location: Okinawa, Japan
Distribution: Everything except gentoo and Slackware
Posts: 46

Rep: Reputation: 15
First try going to /mnt and see what is in there. You should already have /mnt/floppy and /mnt/cdrom. Next you can't mount something that isn't in the /etc/mtab file. Since you said you prefer GUI you can double click on that file 'cause its text. You should see something like:

/dev/hda5 / ext3 rw 0 0
none /proc proc rw 0 0
none /proc/bus/usb usbdevfs rw 0 0
none /dev devfs rw 0 0
none /dev/pts devpts rw,mode=0620 0 0
/dev/hdb5 /home ext3 rw 0 0
none /mnt/cdrom supermount ro,dev=/dev/scd0,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount rw,sync,dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/hda2 /mnt/windows ntfs ro,iocharset=iso8859-1,umask=0 0 0
/dev/hdb6 /u01 ext3 rw 0 0
/dev/hdb7 /u02 reiserfs rw,notail 0 0
/dev/hda8 /u03 ext3 rw 0 0
/dev/hda9 /u04 ext3 rw 0 0
/dev/hda7 /usr ext3 rw 0 0

see, it has all of my mounted devices in there. If your camera's info is not in there then you can't mount it using mount. You can use vi or emacs to change this file but you must su first.

You might need to reinstall your camera using Red Hat's packaging program. I'm using Mandrake right now but I know red Hat and Mandrake are similar - hope this gets you going in the right direction.
 
Old 12-11-2003, 12:09 AM   #3
rkhartley
LQ Newbie
 
Registered: Jul 2003
Location: Columbus, Ohio
Distribution: SuSe 8.2
Posts: 21

Original Poster
Rep: Reputation: 15
Here's the contents of the mtab:

/dev/hda2 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hda1 /boot ext3 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs rw 0 0
/dev/cdrom /mnt/cdrom iso9660 ro,nosuid,nodev,user=rita 0 0


Please walk me through this again - where should I see the camera?

OH - arigato gozaimasu!

Last edited by rkhartley; 12-11-2003 at 12:10 AM.
 
Old 12-11-2003, 01:04 AM   #4
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
The x terminal and the command line are your friend.

1. What exactly is your camera? Do you plug it into a USB port or is it connected to a serial port or what?

2. There is su which gives limited root powers and su - which gives full root power.

3. Your /etc/fstab file shows what you have configured for a file system table

4. mtab shows filesystems mounted as per /etc/fstab, IIRC

5. mount shows what is mounted and where, inlcuding what was mounted after boot, example:
Code:
Thu Dec 11 02:14am fancy@tinwhistle ~/mp3$ mount
/dev/hda6 on / type reiserfs (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda2 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda8 on /home type reiserfs (rw)
/dev/hda1 on /mnt/win98 type vfat (rw)
/dev/hdb3 on /mnt/markrose type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hdb4 on /pub type ext3 (rw)
/dev/hda9 on /snd type reiserfs (rw)

Last edited by fancypiper; 12-11-2003 at 01:18 AM.
 
Old 12-11-2003, 08:55 PM   #5
rkhartley
LQ Newbie
 
Registered: Jul 2003
Location: Columbus, Ohio
Distribution: SuSe 8.2
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks - I'm still learning term commands.

it's a USB camera - Argus brand. I thought it would be easy to mount and set up, especially since RH9's "hardware browser" found it fine. How do I find out where the system put it?
 
Old 12-11-2003, 08:57 PM   #6
rkhartley
LQ Newbie
 
Registered: Jul 2003
Location: Columbus, Ohio
Distribution: SuSe 8.2
Posts: 21

Original Poster
Rep: Reputation: 15
Mounted items

Here's what I got from mount command:

[rita@localhost rita]$ mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
[rita@localhost rita]$

HELP!
 
Old 12-11-2003, 10:02 PM   #7
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Sometimes the "system" doesn't put things, the system administrator does that.

The USB Digital Camera HOWTO is the guide you need to follow, then.

clicky-clicky is harder than an x terminal and typing

Last edited by fancypiper; 12-11-2003 at 10:05 PM.
 
  


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
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
CDROM: not a valid block device? Linux~Powered Linux - Software 5 01-26-2004 12:50 PM
RedHat 8.0 valid block device ?? Tuzinor Linux - Hardware 0 02-09-2003 07:46 PM
cdrom not a valid block device moon69 Linux - General 2 01-18-2003 01:31 PM
sda is not a valid block device joesecone Linux - Hardware 7 07-29-2002 06:22 PM


All times are GMT -5. The time now is 09:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration