LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 08-24-2008, 09:11 AM   #1
nikolaz
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Rep: Reputation: 0
external usb hdd


Hello,
I have a problem when connecting my external usb hdd.Fist it takes a long time to recognize it and if I open it, it shows the following msg:
"mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so"
I tried to mount it using some tips I found on the net, but with no success.
Plz be patient with me, I'm a newbie
 
Old 08-24-2008, 09:49 AM   #2
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
Is it a new usb hdd?

Has it been partitioned, initialized? If so, what kind of file system does it contain - ext2/ext3/vfat/ntfs etc?

which suse are you running, which kernel?
 
Old 08-24-2008, 10:17 AM   #3
nikolaz
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Not new, not partitioned, initialized (containing already many gb of precious data :P ) and it's ntfs.I have installed suse 11 using linux kernel 2.6.25.11-0.1.

Last edited by nikolaz; 08-24-2008 at 10:30 AM.
 
Old 08-24-2008, 10:32 AM   #4
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,721

Rep: Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737
Code:
Not new, not partitioned and it's ntfs.I have installed suse 11 using linux kernel 2.6.25.11-0.1
You need an ext2, ext3 or reiser file system, ntfs won't work with Linux. Create partitions, at least a root partition and format it, may need a swap and you could create a separate /home partition. Might be a good idea to read the documentation on installing at opensuse.org.
 
Old 08-24-2008, 10:41 AM   #5
nikolaz
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
I don't want to install suse on the external hdd...
I am already running suse normally on my pc but I can't read my external hdd.
Also suse works fine with ntfs because I can read my windows partitions c: and d: within suse
 
Old 08-24-2008, 10:52 AM   #6
JSkywalker
Member
 
Registered: Aug 2007
Distribution: openSUSE 12.1
Posts: 96

Rep: Reputation: 24
you need an empty directory, and 'root' rights
in the example below, /media/external is the empty directory

# mount -t ntfs /dev/sdb1 /media/external
 
Old 08-24-2008, 10:55 AM   #7
nikolaz
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
already tried that and I get the same message.I mentioned on the first post that I tried to mount it.

Last edited by nikolaz; 08-24-2008 at 10:57 AM.
 
Old 08-24-2008, 11:03 AM   #8
FredGSanford
Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron & Salix 14
Posts: 943
Blog Entries: 5

Rep: Reputation: 88
What does dmesg | tail show? Have you installed ntfs-3g to handle ntfs partitions?
 
Old 08-24-2008, 11:20 AM   #9
nikolaz
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
I haven't installed this but it has to be already installed since i can read my windows ntfs partitions normally.They were mounted during the installation.

Heres the output of dmesg | tail :

usb 2-1: USB disconnect, address 21
sd 11:0:0:0: Device offlined - not ready after error recovery
sd 11:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdb, sector 0
NTFS-fs error (device sdb): read_ntfs_boot_sector(): Unable to read primary boot sector.
NTFS-fs error (device sdb): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device sdb): ntfs_fill_super(): Not an NTFS volume.
usb 2-1: new high speed USB device using ehci_hcd and address 25
usb 2-1: device not accepting address 25, error -110
hub 2-0:1.0: unable to enumerate USB device on port 1
 
Old 08-24-2008, 01:14 PM   #10
FredGSanford
Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron & Salix 14
Posts: 943
Blog Entries: 5

Rep: Reputation: 88
I'm not exactly sure of the problem, but doing some googling, I found someone with a similar problem and had this solution.

Quote:
Just create a symlink for mount.ntfs.
In a console, do this:

cd /sbin
sudo ln -s mount.ntfs-3g mount.ntfs

and that's it :P You don't need to reboot or even restart the HAL
daemon. If you need the old behavior back, simply remove the symlink:

sudo rm /sbin/mount.ntfs
You may want to try it and see what happens. But do it at your own risk!
 
Old 08-24-2008, 01:17 PM   #11
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,721

Rep: Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737
So you have opensuse installed on your internal drive and are trying to access data on your external? Your first post wasn't at all clear about your situation. What exactly do you have on the external drive. Is it a data partition in ntfs? Do you have a mount point in opensuse as suggested by jSkywalker? What are the results of the mount command? Posting output of 'fdisk -l' command might help.

Code:
I am already running suse normally on my pc but I can't read my external hdd.  Also suse works fine with ntfs because I can read my windows partitions c: and d: within suse
The above line would indicate that your "c" and "d" partitions are on the internal drive and you have other data on a windows partition on the external, right?
 
Old 08-24-2008, 02:27 PM   #12
nikolaz
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
On my internal hdd I have 4 partitions.two of them are ntfs for windows and the other two are ext3 and swap for suse 11.
The two ntfs partitions on my internal hdd are mounted and I can access them from suse.
The external drive has only one partition including only data like docs,movies etc. And here is my problem.I cant read my external usb drive!!
I already tried to mount it but returns "mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so".
Sry for the mess guys, its my first attemps to set up a linux distribution so I can work on and I am a little confused
Heres the output of fdisk to clear things up:

Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6b0f2abd

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 19928 129355380 f W95 Ext'd (LBA)
/dev/sda5 7840 19928 97104861 7 HPFS/NTFS
/dev/sda6 3825 4018 1558242 82 Linux swap / Solaris
/dev/sda7 4019 5568 12450343+ 83 Linux
/dev/sda8 5569 7839 18241776 83 Linux

Partition table entries are not in disk order

PS: FredGSanford thnx for the tip, I tried this one but it didn't work.

Last edited by nikolaz; 08-24-2008 at 03:07 PM.
 
Old 08-24-2008, 09:08 PM   #13
sadiqdm
Member
 
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 357

Rep: Reputation: 35
I think this is a problem I had with an internal ntfs drive. Can you connect it to a windows machine? Either Windows 2000, or XP. Connect the drive and boot into Windows, make sure you can access the data, then shut it down.

The problem seems to be that when Windows shuts down an ntfs drive it sometimes leaves a flag set, so the drive behaves as if it is in use. ntfs-3g then gets confused. I have this on my desktop which dual boots Win2K & Suse 11. Occasionally when I reboot from Windows to Suse the ntfs partitions won't mount, so now I just reboot into windows, do a shutdown (instead of restart) and then power on and boot into Suse.
 
Old 08-25-2008, 05:15 AM   #14
nikolaz
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
I have already tried this one too
Today I realized that I have the same problem with my Kingston usb stick...
Could the problem be smthing with my usb2? Do I need to add any reps or something?

Last edited by nikolaz; 08-25-2008 at 05:19 AM.
 
Old 08-25-2008, 05:38 AM   #15
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
First make sure that the ntfs-3g package is installed. There is a SuSE package ntfsprogs that includes ntfsfix.
Code:
NAME
       ntfsfix - fix common errors and force Windows to check NTFS

SYNOPSIS
       ntfsfix [options] device

DESCRIPTION
       ntfsfix is a utility that fixes some common NTFS problems.  ntfsfix is NOT a Linux version of chkdsk. It only repairs some fundamental NTFS incon‐
       sistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.

       You may run ntfsfix on an NTFS volume if you think it was damaged by Windows or some other way and it can't be mounted.
You might want to replace your usb cable just in case. Also try a different usb port. If you remove the drive without ejecting or unmounting it first, you can cause problems because the cache isn't written to disk. A bad connection might be causing this, however one sign is if you repeatedly get a popup when the drive reconnects. You haven't indicated that this is the case, so the cable might be ok.

Last edited by jschiwal; 08-25-2008 at 05:42 AM.
 
  


Reply

Tags
archive, filesystem, ntfs, windows


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
External ubuntu install on external USB HDD th3_tr00p3r Linux - Newbie 1 05-11-2008 02:56 PM
external usb hdd sameer666 Linux - Hardware 6 10-13-2006 04:35 PM
Getting an USB external HDD xiongnu Mandriva 1 12-12-2004 08:11 PM
usb 2.0 external hdd drum2jc Linux - Hardware 0 12-07-2004 03:14 AM
USB external HDD yhus Linux - Hardware 1 06-07-2004 05:18 AM


All times are GMT -5. The time now is 12:04 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