SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-13-2006, 02:02 PM
|
#1
|
LQ Newbie
Registered: May 2004
Location: Nova Scotia Canada
Distribution: SuSe 10.0
Posts: 25
Rep:
|
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
|
|
|
10-14-2006, 12:36 PM
|
#2
|
Member
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 252
Rep:
|
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.
|
|
|
10-14-2006, 02:05 PM
|
#3
|
LQ Newbie
Registered: May 2004
Location: Nova Scotia Canada
Distribution: SuSe 10.0
Posts: 25
Original Poster
Rep:
|
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
|
|
|
10-14-2006, 03:45 PM
|
#4
|
Member
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 252
Rep:
|
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
|
|
|
10-14-2006, 08:22 PM
|
#5
|
LQ Newbie
Registered: May 2004
Location: Nova Scotia Canada
Distribution: SuSe 10.0
Posts: 25
Original Poster
Rep:
|
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
|
|
|
10-14-2006, 10:04 PM
|
#6
|
Member
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 252
Rep:
|
just a quick note: the "mount" command simply reveals what is currently mounted. It does not display your fstab file.
|
|
|
10-15-2006, 12:35 PM
|
#7
|
LQ Newbie
Registered: May 2004
Location: Nova Scotia Canada
Distribution: SuSe 10.0
Posts: 25
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|