LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-01-2009, 06:24 PM   #31
sploot
Member
 
Registered: Sep 2009
Location: Phoenix, AZ
Distribution: Gentoo, Debian, Ubuntu
Posts: 121

Rep: Reputation: 27

sorry, I meant run it as root. Lets make sure you have the utility
 
Old 10-01-2009, 06:47 PM   #32
mag1strate
Member
 
Registered: Apr 2009
Distribution: Fedora 16, Arch
Posts: 136

Original Poster
Rep: Reputation: 18
Here you go:

linux-o6a5:~ # which fdisk
/sbin/fdisk
 
Old 10-01-2009, 07:47 PM   #33
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Okay now for giggles, log in as root and try mounting the device. Or -- as root -- run:
fdisk -l
and post the results of that WHILE you are logged in as root.

Last edited by SharpyWarpy; 10-01-2009 at 07:49 PM. Reason: oops
 
Old 10-01-2009, 08:56 PM   #34
mag1strate
Member
 
Registered: Apr 2009
Distribution: Fedora 16, Arch
Posts: 136

Original Poster
Rep: Reputation: 18
I get this in root, its reading it, but for some reason it won't mount it!


linux-o6a5:~ # fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000787fa

Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sda2 * 263 2873 20972857+ 83 Linux
/dev/sda3 2874 38913 289491300 83 Linux

Disk /dev/sdf: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x44fdfe06

Device Boot Start End Blocks Id System
/dev/sdf1 1 48641 390708801 c W95 FAT32 (LBA)
linux-o6a5:~ # mount -t vfat /dev/sdf1 /media/usb
mount: wrong fs type, bad option, bad superblock on /dev/sdf1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
 
Old 10-01-2009, 08:57 PM   #35
mag1strate
Member
 
Registered: Apr 2009
Distribution: Fedora 16, Arch
Posts: 136

Original Poster
Rep: Reputation: 18
I think it is missing the FAT codepage, but What would I do to get it?

linux-o6a5:~ # dmesg | tail
SFW2-OUT-ERROR IN= OUT=eth1 SRC=192.168.1.45 DST=204.152.204.181 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=36009 DF PROTO=TCP SPT=54656 DPT=80 WINDOW=204 RES=0x00 ACK FIN URGP=0 OPT (0101080A02BBEF80E1181F12)
SFW2-OUT-ERROR IN= OUT=eth1 SRC=192.168.1.45 DST=206.55.109.78 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=32986 DF PROTO=TCP SPT=56067 DPT=80 WINDOW=385 RES=0x00 ACK FIN URGP=0 OPT (0101080A02BC664D0017CA6E)
Unable to load NLS charset cp437
FAT: codepage cp437 not found
SFW2-OUT-ERROR IN= OUT=eth1 SRC=192.168.1.45 DST=63.97.123.66 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=25150 DF PROTO=TCP SPT=56119 DPT=80 WINDOW=608 RES=0x00 ACK FIN URGP=0 OPT (0101080A02BCA00C05EC2022)
SFW2-OUT-ERROR IN= OUT=eth1 SRC=192.168.1.45 DST=206.55.109.72 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=60271 DF PROTO=TCP SPT=47345 DPT=80 WINDOW=58 RES=0x00 ACK FIN URGP=0 OPT (0101080A02BCE2DF0019AEC8)
SFW2-OUT-ERROR IN= OUT=eth1 SRC=192.168.1.45 DST=206.55.109.72 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=17769 DF PROTO=TCP SPT=47344 DPT=80 WINDOW=69 RES=0x00 ACK FIN URGP=0 OPT (0101080A02BCE2DF0019AEC7)
SFW2-OUT-ERROR IN= OUT=eth1 SRC=192.168.1.45 DST=206.55.109.72 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=41690 DF PROTO=TCP SPT=47343 DPT=80 WINDOW=69 RES=0x00 ACK FIN URGP=0 OPT (0101080A02BCE2DF0019AEC8)
SFW2-OUT-ERROR IN= OUT=eth1 SRC=192.168.1.45 DST=208.113.241.52 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=56775 DF PROTO=TCP SPT=33102 DPT=80 WINDOW=258 RES=0x00 ACK FIN URGP=0 OPT (0101080A02BCE7DA096FB61D)
SFW2-OUT-ERROR IN= OUT=eth1 SRC=192.168.1.45 DST=208.113.241.52 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=36190 DF PROTO=TCP SPT=33103 DPT=80 WINDOW=100 RES=0x00 ACK FIN URGP=0 OPT (0101080A02BCEAD7096FB620)
 
Old 10-01-2009, 09:16 PM   #36
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Okay is the 400gb drive a new drive? Have you ever used it? Are there files on there that you know about?
 
Old 10-01-2009, 11:50 PM   #37
mag1strate
Member
 
Registered: Apr 2009
Distribution: Fedora 16, Arch
Posts: 136

Original Poster
Rep: Reputation: 18
I've been using the drive for half a year now, it has about 50 gigs of files in it
works fine on a windows comp, but my main linux comp doesn't want to mount it.
 
Old 10-02-2009, 12:18 AM   #38
btncix
Member
 
Registered: Aug 2009
Location: USA
Posts: 141

Rep: Reputation: 26
You might want to consider burning a rescue cd like System Rescue CD. Then boot up with the rescue cd, and then try to see if you can see/mount your external hard drive. This could double check whether something is wrong with your OpenSuse system or your extended partition.
 
Old 10-02-2009, 03:55 AM   #39
DarkVenger
Member
 
Registered: Mar 2004
Location: VCO
Distribution: Arch
Posts: 43

Rep: Reputation: 26
Quote:
Originally Posted by sploot View Post
DarkVenger:
There is nothing in his dmesg that looks suspicious. All the errors are network related, not pertinent to the usage of his usb disk.
Agreed, but it seemed you are trying to know what device the disk is for the kernel, and that dmesg message says it /dev/sdf1. This was my point.

Last edited by DarkVenger; 10-02-2009 at 04:15 AM. Reason: Extra info didn't made sense anymore
 
Old 10-02-2009, 05:10 AM   #40
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Can you mount a usb memory stick? Unplug the external hard drive, plug in a usb memory stick and run dmesg|tail. Use the resulting information like before and try to mount that. If it mounts then it means SUSE doesn't like your external hard drive enclosure. In that case boot up a System Rescue CD and try from that. One of us can direct you to a download site for that if you don't have it. If it mounts okay from the rescue CD it means SUSE is being a bad girl. You might search some of the SUSE forums for an answere then or you might install a different distribution like Fedora Core.

Last edited by SharpyWarpy; 10-02-2009 at 05:15 AM. Reason: error
 
Old 10-02-2009, 05:03 PM   #41
sploot
Member
 
Registered: Sep 2009
Location: Phoenix, AZ
Distribution: Gentoo, Debian, Ubuntu
Posts: 121

Rep: Reputation: 27
Code:
zcat /proc/config.gz |grep -i vfat &&zcat /proc/config.gz |grep -i nls
Run code. post results. I think its a kernel config issue.

IF you get a line that says

Code:
# CONFIG_NLS_CODEPAGE_437 is not set
OR
Code:
# CONFIG_ISO8859_1 is not set
OR
Code:
# CONFIG_VFAT_FS is not set
Then you have a kernel issue. If these are modules, make sure they are loaded properly.


CODEPAGE_437 is found in Filesystems/Native Language Suport/ Codepage 437

ISO8859_1 is found in the same directory.

VFAT_FS is found in Filesystems/DOS FAT NT Filesystems/VFAT

Ensure that Default codepage for FAT is set to 437 && Default isocharset for FAT is iso8859-1
 
Old 10-03-2009, 09:01 AM   #42
mag1strate
Member
 
Registered: Apr 2009
Distribution: Fedora 16, Arch
Posts: 136

Original Poster
Rep: Reputation: 18
Thanks alot guys it was a kernel issue, so i reinstalled it and now it works perfectly (really don't know why it messed up the first time) Thanks again!!
 
  


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
mounting usb drives in BSD sharathg786 *BSD 2 07-31-2007 09:55 AM
On Mounting USB Hard Drives jerm1701 Linux - Hardware 2 04-17-2007 01:24 AM
Mounting USB drives (external HD and two at once) jrdioko Linux - Software 4 07-25-2006 06:40 PM
Mounting USB drives under 2.6.x hussar Linux - General 1 03-07-2004 12:58 PM
mounting usb drives? neon Linux - Newbie 2 10-29-2003 08:06 PM


All times are GMT -5. The time now is 07:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration