LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-01-2008, 07:25 AM   #1
HellesAngel
Member
 
Registered: Jun 2007
Posts: 84

Rep: Reputation: 15
SuSE10.0: Problems Mounting USB Stick With Two Partitions


This problem arises trying to mount a 1Gb USB stick which, for some reason, shows up as two partitions on all systems and they both work fine under Windows XP, dare I say it. I have no idea what's wrong, but here's what I do know:

Quote:
hefty:/home/toby # cat /proc/partitions
major minor #blocks name

8 0 156290904 sda
8 1 30716248 sda1
8 2 1052257 sda2
8 3 124511782 sda3
8 16 1006080 sdb
8 32 1536 sdc
8 33 1520 sdc1
where sdb and sdc are the USB stick. Note that sdb1 is missing.

Then:
Quote:
hefty:/home/toby # mount
/dev/sda3 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/sda1 on /windows/C type ntfs (rw,noexec,nosuid,nodev,umask=0222)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
usbfs on /proc/bus/usb type usbfs (rw)
192.168.0.34:/home/share on /home/share type nfs (rw,addr=192.168.0.34)
/dev/sdc1 on /media/USBDISKPRO type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid,utf8=true)
And of course /media/USBDISKPRO contains the smaller partition with no problems.

My fstab:
Quote:
hefty:/media # cat /etc/fstab
/dev/sda3 / reiserfs acl,user_xattr 1 1
/dev/sda2 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/dvd /media/dvd subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/cdrecorder /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
none /subdomain subdomainfs noauto 0 0
/dev/sda1 /windows/C ntfs rw,umask=0222,users 0 0
192.168.0.34:/home/share /home/share nfs defaults 0 0

And mtab:
Quote:
hefty:/media # cat /etc/mtab
/dev/sda3 / reiserfs rw,acl,user_xattr 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
/dev/sda1 /windows/C ntfs rw,noexec,nosuid,nodev,umask=0222 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
192.168.0.34:/home/share /home/share nfs rw,addr=192.168.0.34 0 0
/dev/sdc1 /media/USBDISKPRO subfs rw,nosuid,nodev,sync,fs=floppyfss,procuid,utf8=true 0 0

So everything is happy for the first partition but all dead for the second. I've tried creating /media/USBDISKPRO2, editing /etc/mtab and so on but all to no avail. Oddly it appears if I boot the system with the stick in the drive then all works fine, but naturally this isn't a permanent solution.

If the computer is rebooted with the USB stick connected here's the state of affairs:
Quote:
hefty:/home/toby # cat /proc/partitions
major minor #blocks name
8 16 1006080 sdb
8 17 1006064 sdb1
8 32 1536 sdc
8 33 1520 sdc1
Then mount:
Quote:
hefty:/home/toby # mount
/dev/sdc1 on /media/USBDISKPRO type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid,utf8=true)
/dev/sdb1 on /media/USBDISKPRO_1 type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid,utf8=true)
And mtab:
Quote:
hefty:/home/toby # cat /etc/mtab
/dev/sdc1 /media/USBDISKPRO subfs rw,nosuid,nodev,sync,fs=floppyfss,procuid,utf8=true 0 0
/dev/sdb1 /media/USBDISKPRO_1 subfs rw,nosuid,nodev,sync,fs=floppyfss,procuid,utf8=true 0 0
I left out all the uninteresting, identical stuff this time round. I should add that both partitions are now fully read/writeable by everyone, icons appear on the desktop, the world is perfect again.

So, this isn't impossible, but what is going on? It seems the problem is not directly with the USB automounting but with something else in the partitions.

Any help greatly appreciated.
 
Old 02-01-2008, 08:16 AM   #2
HellesAngel
Member
 
Registered: Jun 2007
Posts: 84

Original Poster
Rep: Reputation: 15
Hmmm, maybe I need some fdisk magic on the other partition.
 
  


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
Problems mounting USB memory stick dwhitney67 Linux - Hardware 2 08-18-2007 12:38 AM
Usb stick not detected in suse10 but fine in windows Morph69 Linux - Hardware 1 07-20-2006 09:41 AM
[SOLVED] Making multiple partitions on USB memory stick ctkroeker Linux - Hardware 1 06-16-2005 12:20 AM
Suse 9.1 USB stick Mounting problems 777 Linux - Newbie 3 11-03-2004 12:04 AM
What partitions on USB memory stick? pingu Linux - Hardware 0 08-17-2004 06:16 AM

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

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