LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-12-2006, 04:48 PM   #1
seaking
LQ Newbie
 
Registered: Oct 2005
Location: center
Distribution: DEBIAN sid
Posts: 21

Rep: Reputation: 15
reading DOK problems


hey all

i'm using debian cid & gnome (K-2.6.16)

i dot usually have problems runing any diskonkey but: : i tried the "disks admin" and since i can only acces the DOK throu disks admin and i cant mount it manualy... further more it doesnt save changes and i need to config it each time...

the mount output:
PHP Code:
mountwrong fs typebad optionbad superblock on /dev/sda,
       
missing codepage or other error
       In some cases useful info is found in syslog 
- try
       
dmesg tail  or so 
the dmsg output:
PHP Code:
sdaWrite Protect is off
sda
Mode Sense45 00 00 08
sda
assuming drive cachewrite through
 sda
sda1
FAT
invalid media value (0xb9)
VFSCan't find a valid FAT filesystem on dev sda.
FAT: invalid media value (0xb9)
VFS: Can'
t find a valid FAT filesystem on dev sda.
FATinvalid media value (0xb9)
VFSCan't find a valid FAT filesystem on dev sda. 

the syslog lines:
PHP Code:
Sep  9 22:10:27 localhost kernelFATinvalid media value (0xb9)
Sep  9 22:10:27 localhost kernelVFSCan't find a valid FAT filesystem on dev sda. 
my fstab looks like this:
PHP Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda5       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   iso9660 ro,user,iocharset=utf8,noauto  0       0
#/dev/fd0        /media/floppy0  auto    rw,user,iocharset=utf8,noauto  0       0
/dev/sda        /mnt/sda0       vfat    utf8,noauto,users,exec,umask=000 0 0 
i know that the DOk is ok and it works but only throu disks admin and want to go back to mount

thanx
shahaf
 
Old 09-15-2006, 06:02 AM   #2
lior.okman
LQ Newbie
 
Registered: Sep 2006
Distribution: Debian GNU/Linux
Posts: 9

Rep: Reputation: 0
You are mounting the wrong thing

You need to mount /dev/sda1, not /dev/sda . /dev/sda contains the partition table, not the actual partition.

You can see in the dmesg output that you posted that the sda device has a single partition - sda1.

Code:
sda: Write Protect is off
sda: Mode Sense: 45 00 00 08
sda: assuming drive cache: write through
 sda: sda1 
You can use
Code:
fdisk -l /dev/sda
to get the full partition details.

Also, your fstab entry is wrong. It should be:

Code:
/dev/sda1        /mnt/sda0       vfat    utf8,noauto,users,exec,umask=000 0 0
 
Old 09-15-2006, 06:09 AM   #3
seaking
LQ Newbie
 
Registered: Oct 2005
Location: center
Distribution: DEBIAN sid
Posts: 21

Original Poster
Rep: Reputation: 15
thanx man
ur grate!!

 
  


Reply



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
Reading text problems with C NCC-1701&NCC-1701-D Programming 4 06-28-2005 06:33 AM
reading vfat problems kAmnesiac Linux - Hardware 3 03-08-2004 04:56 PM
CD reading problems (rh9) hdagelic Linux - General 2 10-17-2003 09:27 AM
problems reading pdf dave bean Linux - Newbie 3 09-24-2003 05:45 AM
cd reading problems zeky Linux - Hardware 5 11-24-2002 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:47 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
Open Source Consulting | Domain Registration