LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 06-03-2005, 03:19 AM   #1
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Rep: Reputation: 15
mount: /dev/sdb1 is not a valid block device


My new computer runs Slack10.1, almost everything seems to work properly, but something's wrong and I can't understand why.

This is annoying me 'coz the whole system should be up.

The USB removable storage system is one of those stuff.

The situation is:
1) there's a SATA hard disk recognized as /dev/sda;
2) using dmesg I found out that the USB port I'd like to use is recognized as /dev/sdb1;
3) fstab shows the following line in order to load USB pendrive:
/dev/sdb1 /mnt/pendrive vfat noauto,user,iocharset=iso8859-15,umask=000,rw,exec 0 0;
4) the specified error comes up if the filesystem is set as "vfat" either set as "auto".

That's all, folks.

Thanks in advance for your help, see ya.
 
Old 06-03-2005, 04:29 AM   #2
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
your usb-port can't be recond as sdb1 cause sdb1 is a partition of a serial or scsi device...
try mounting it strictly as sdb, not sdb1
 
Old 06-03-2005, 08:54 AM   #3
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
I gonna try that, but with my previous pc I set the usb port as /dev/sda1 and it worked with no problem.
Let's see if you're right.
 
Old 06-11-2005, 06:40 PM   #4
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
I was just having the same problem getting the "not a valid block device" error when trying to mount my camera(Olympus C-740 Ultra Zoom). By switching to another usb port it allowed me the mount the camera for some reason. It was on a HP pavilion zt1135 running Debian Sarge.
 
Old 06-11-2005, 07:02 PM   #5
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
I forgot this thread, but I've already solved my problem:
I had to activate an appropriate module and it worked correctly then.
 
Old 07-11-2005, 06:39 PM   #6
LordSurvivoR
Member
 
Registered: Jul 2005
Location: Serbia
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
Quote:
Originally posted by zaltar
I had to activate an appropriate module and it worked correctly then.
which one?
 
Old 07-12-2005, 06:48 AM   #7
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
I don't remember exactly the name, anyway it's really easy to find.

Look at the USB section of the file "/etc/rc.d/rc.modules", you'll find a line telling you the module beneath is designed to be used with "USB mass storage systems".

Delete the "#" in order to activate the module and reboot your Slack.
Be sure to do all I told you being the administrator, otherwise you'll not be able to edit the rc.modules file.

See ya.
 
Old 07-12-2005, 10:34 AM   #8
LordSurvivoR
Member
 
Registered: Jul 2005
Location: Serbia
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
Now it works, gugle helped me.
Added in fstab this row:
/dev/uba1 /mnt/usb auto noatime,rw,users,exec,uid=1000,gid=100 0 0

and now I can mount it with:
mount /dev/uba1

Regards,
Daniel
 
Old 07-13-2005, 03:07 AM   #9
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
You were supposed to have already edited correctly fstab, in fact I got trouble even though fstab was set in the right way.

The configuration of fstab may vary anyway, mine's different for example.
I suspcet yours imply that users can read from the device but can't write on it, be careful.

Last edited by zaltar; 07-13-2005 at 03:09 AM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount:/dev/fd0 is not a valid block device yat Linux - General 2 11-26-2010 12:45 PM
mount: /dev/cdrom is not a valid block device aikempshall Slackware 7 01-15-2005 03:36 AM
External USB HDD"Mounting local filesystems: /dev/sdb1 is not a valid block device" manudath Linux - Hardware 3 12-13-2004 10:59 PM
SDB1 IS NOT A VALID BLOCK DEVICE - CF reader help woodo Linux - Software 12 07-07-2004 10:52 AM
mount /dev/fd0 is not a valid block device jolly_good2000 Linux - Hardware 12 07-31-2003 07:27 AM


All times are GMT -5. The time now is 06:05 AM.

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