LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-13-2006, 02:02 PM   #1
rogere
LQ Newbie
 
Registered: May 2004
Location: Nova Scotia Canada
Distribution: SuSe 10.0
Posts: 25

Rep: Reputation: 15
External USB HDD


I'm completely lost. I'm trying to use a 60GB external USB HDD with SuSe 10.0. (Just to give me an even chance, I partitioned it using Windows to give 2 partitions - one FAT and one reiser. They work with Knoppix 5.0 so I know that part is OK)

In "My Computer" the icons are there for SDA1 and SDA5, but are both shown as Unmounted removable devices. I have tried to mount them using KDE but there is a message that flashes too quickly to read.

In terminal mode /mount /dev/sda1 says "Device already mounted".
I am unable to access either partition.

I've read a thread that says to edit /etc/fstab, but I can't find any listing for fstab in KDE.

Where am I going wrong and/or what am I missing?

Thanks

rogere
 
Old 10-14-2006, 12:36 PM   #2
goldennuggets
Member
 
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 239

Rep: Reputation: 24
rogere:

you'll need to be logged in as root to edit your fstab file. this can be located at: /etc/fstab

as a useful command, you can type in on a console "mount" to see what devices are mounted and the privilages they carry.

Posting your fstab file would be of great use for us to see what's going on in your particular system.
 
Old 10-14-2006, 02:05 PM   #3
rogere
LQ Newbie
 
Registered: May 2004
Location: Nova Scotia Canada
Distribution: SuSe 10.0
Posts: 25

Original Poster
Rep: Reputation: 15
USB External HDD

Thanks for your reply. Here is the Fstab file

linux:~ # mount
/dev/hda6 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls =utf8)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda5 on /media/usbdisk type subfs (rw,nosuid,nodev,sync,fs=reiserfs)
/dev/sda1 on /media/EXTERNAL type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procu id,utf8=true)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,noatime,fs=floppyfss,procu id)
linux:~ #

In Konquerer sda5 s shown as being mounted in properties, but I still can't write to it, whereas sda1 is shown as being unmounted
 
Old 10-14-2006, 03:45 PM   #4
goldennuggets
Member
 
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 239

Rep: Reputation: 24
Your problem may very well lie in this piece right here:

Quote:
/dev/sda1 on /media/EXTERNAL type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procu id,utf8=true)
Note that your usb external drive is being told to be accessed by means of a floppy file system (vfat or ext2). You should be able to access at least the FAT partition with this.

This was taking from: http://submount.sourceforge.net/
"Currently there are two options: fs=floppyfss attempts vfat and ext2, and fs=cdfss tries iso9660 and udf."

The site also mentions setting it to "fs=auto". You may want to give that a go.

Hopefully someone will be able to help you with this today, if not, when I get back home this evening, I'll try looking into it further. Until then, see if you can access the drive via the console and also as root. Also, some additional research on how submount works would probably prove beneficial.

Although for gentoo, the usage section should remain universal: http://gentoo-wiki.com/HOWTO_Submount
 
Old 10-14-2006, 08:22 PM   #5
rogere
LQ Newbie
 
Registered: May 2004
Location: Nova Scotia Canada
Distribution: SuSe 10.0
Posts: 25

Original Poster
Rep: Reputation: 15
External USB HDD

Now I'm really confused. I can write/read to sda5 (reiser partition) in Root, but sda1 remains unmounted. I edited fstab using Kate, but depending on what I use I get 2 different versions of the fstab file. I have ruined fstab according to Konsole as it now reads as follows:

linux:/etc # mount
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda5 on /media/usbdisk type subfs (rw,nosuid,nodev,sync,fs=reiserfs)
/dev/sda1 on /media/EXTERNAL type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid,utf8=true)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,noatime,fs=floppyfss,procuid)
/dev/sda5 on /media/usbdisk type subfs (rw,nosuid,nodev,sync,fs=reiserfs)

Using Kate and opening the same file I get

/dev/hda6 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda5 on /media/usbdisk type subfs (rw,nosuid,nodev,sync,fs=reiserfs)
/dev/sda1 on /media/EXTERNAL type subfs (rw,nosuid,nodev,sync,fs=auto,procuid,utf8=true)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,noatime,fs=floppyfss,procuid)

I'm clearly missing something here

Rogere
 
Old 10-14-2006, 10:04 PM   #6
goldennuggets
Member
 
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 239

Rep: Reputation: 24
just a quick note: the "mount" command simply reveals what is currently mounted. It does not display your fstab file.
 
Old 10-15-2006, 12:35 PM   #7
rogere
LQ Newbie
 
Registered: May 2004
Location: Nova Scotia Canada
Distribution: SuSe 10.0
Posts: 25

Original Poster
Rep: Reputation: 15
External USB HDD

I think I'm OK now. I installed SuSe 10.1 leaving the USB drive plugged in during installation. Both partitions appear in fstab, and i only had to change the permissions to allow it to write to the FAT partition. It seems you can only have either sda1 or sda5 mounted at one time, but I can live with that.

Thanks for all your help. It's people like you and LQ that makes it all worthwhile

Rogere
 
  


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
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
External HDD USB SamothB Linux - Hardware 13 10-10-2003 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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