Forum
« Mount Flash Drives (Solved) »

Welcome Guest. Please Login or Register.
Jun 20, 2013, 12:12am



Return to or visit the SalineOS webpage

Forum :: General :: Hardware Support :: Mount Flash Drives (Solved)
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Mount Flash Drives (Solved) (Read 496 times)
scifidude79
Senior Member
****
member is offline

[avatar]

The REAL Lord of the Dance


[homepage]

Joined: Jan 2011
Gender: Male
Posts: 274
Location: Ohio, USA
 Mount Flash Drives (Solved)
« Thread Started on Jan 21, 2011, 1:20pm »

OK, I have a problem. Whenever I try to mount flash drives, I get a crazy error message:

mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.

There's nothing wrong with these drives. I can mount them just fine in other Linux distributions and in Windows. I feel that I'm missing something. Is there some setting that I need to fix or something that I need to install? I think the key might lie in "missing codepage or helper program" but I don't know which codepage needs to be fixed or which helper program needs to be installed.

Anybody got an idea what's causing this?

BTW, I get the same message logged in as root and I've tried various USB mounting apps to no avail. I think it's a setting that I'm missing.
« Last Edit: Jan 21, 2011, 2:02pm by scifidude79 »Link to Post - Back to Top  IP: Logged

Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: Mount Flash Drives
« Reply #1 on Jan 21, 2011, 1:34pm »

First I would try rebooting the machine with the key in and when the computer comes back up try and mount the filesystem through Gigolo (double click once to get prompt for root password then once more to open the device with Thunar). What partitions are on the device? I am looking around for some more information on this, but I can assure you thunar-volman is installed and should try to auto-mount this device when its plugged in.
Link to Post - Back to Top  IP: Logged
scifidude79
Senior Member
****
member is offline

[avatar]

The REAL Lord of the Dance


[homepage]

Joined: Jan 2011
Gender: Male
Posts: 274
Location: Ohio, USA
 Re: Mount Flash Drives
« Reply #2 on Jan 21, 2011, 1:42pm »

It tries to automount it and I get the error message when it does. I'll try your suggestion and let you know. There's only one partition on the device(s) and they're Fat32. I've tried other file systems on one of the drives that is blank and the same thing happens.
« Last Edit: Jan 21, 2011, 1:43pm by scifidude79 »Link to Post - Back to Top  IP: Logged

scifidude79
Senior Member
****
member is offline

[avatar]

The REAL Lord of the Dance


[homepage]

Joined: Jan 2011
Gender: Male
Posts: 274
Location: Ohio, USA
 Re: Mount Flash Drives
« Reply #3 on Jan 21, 2011, 1:49pm »

Same error message with Gigolo. It doesn't even let me get as far as the password prompt. I'm going to look up the problem on the Debian Wiki. I tried a Google search and it was less than helpful.
Link to Post - Back to Top  IP: Logged

Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: Mount Flash Drives
« Reply #4 on Jan 21, 2011, 1:58pm »

Could you give me the output of cat /proc/partitions please?
Link to Post - Back to Top  IP: Logged
scifidude79
Senior Member
****
member is offline

[avatar]

The REAL Lord of the Dance


[homepage]

Joined: Jan 2011
Gender: Male
Posts: 274
Location: Ohio, USA
 Re: Mount Flash Drives
« Reply #5 on Jan 21, 2011, 2:02pm »

I fixed the problem. Somehow, there was a messed up line in etc/fstab concerning sdc1. I deleted that line, saved the file and now the drives mount like they're supposed to. I rebooted, same result.

Thanks for your quick response and help. :D

cat/proc/partitions (after I fixed it)

major minor #blocks name

8 0 976762584 sda
8 1 4104192 sda1
8 2 1 sda2
8 5 128905216 sda5
8 6 195311616 sda6
8 7 128905216 sda7
8 8 195311616 sda8
8 9 324217856 sda9
8 16 312571224 sdb
8 17 156287328 sdb1
8 18 156280320 sdb2
8 32 4029440 sdc
8 33 4028416 sdc1
« Last Edit: Jan 21, 2011, 2:03pm by scifidude79 »Link to Post - Back to Top  IP: Logged

scifidude79
Senior Member
****
member is offline

[avatar]

The REAL Lord of the Dance


[homepage]

Joined: Jan 2011
Gender: Male
Posts: 274
Location: Ohio, USA
 Re: Mount Flash Drives (Solved)
« Reply #6 on Jan 21, 2011, 2:12pm »

Ah, I gotcha. Yeah, I created a USB key using UNetbootin in Peppermint OS and used that to install, so Saline OS thought the USB drive was a CD-Rom drive. Once I deleted that line, it defaulted to normal and identified it as a USB drive.

Good info, thanks a lot for your help. I've been using Linux for a little over a year and sometimes I still feel like such a noob.
Link to Post - Back to Top  IP: Logged

Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: Mount Flash Drives (Solved)
« Reply #7 on Jan 21, 2011, 3:17pm »

Seems Gparted will not see a partition on a live USB key created with dd, and the system thinks it is a CD filesystem. This will cause the strange error above. A simple solution for this has been added to the USB key guide under installation and setup.
« Last Edit: Jan 21, 2011, 8:59pm by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
scifidude79
Senior Member
****
member is offline

[avatar]

The REAL Lord of the Dance


[homepage]

Joined: Jan 2011
Gender: Male
Posts: 274
Location: Ohio, USA
 Re: Mount Flash Drives (Solved)
« Reply #8 on Jan 21, 2011, 4:07pm »

I see. That's a weird bug but at least you figured out how to fix it.
Link to Post - Back to Top  IP: Logged

Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: Mount Flash Drives (Solved)
« Reply #9 on Jan 21, 2011, 4:12pm »


Jan 21, 2011, 4:07pm, scifidude79 wrote:
I see. That's a weird bug but at least you figured out how to fix it.


Squashing bugs ... So very satisfying ;D
« Last Edit: Jan 21, 2011, 8:59pm by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
woodsmoke
New Member
*
member is offline





Joined: Jan 2011
Gender: Male
Posts: 12
 Re: Mount Flash Drives (Solved)
« Reply #10 on Jan 21, 2011, 9:46pm »

just as a side note, my usb drives pop a file box and also put an icon on the desktop.
And as opposed to some distros it doesn't complain about and unmount.
This is on a download from 19 January, install 20 Jan and complete updates.

woodsmoke
Link to Post - Back to Top  IP: Logged
scifidude79
Senior Member
****
member is offline

[avatar]

The REAL Lord of the Dance


[homepage]

Joined: Jan 2011
Gender: Male
Posts: 274
Location: Ohio, USA
 Re: Mount Flash Drives (Solved)
« Reply #11 on Jan 21, 2011, 10:05pm »

Now that I got my issue sorted, mine pop up in Thunar also. That's actually what I'd been expecting when I first tried to mount one, not the error I was getting.
Link to Post - Back to Top  IP: Logged

wayne1288
New Member
*
member is offline





Joined: Feb 2011
Gender: Male
Posts: 24
 Re: Mount Flash Drives (Solved)
« Reply #12 on Feb 11, 2011, 11:42pm »

Just tried plug in USB flash and it does not work.

Luckily found this on the forum.

As I used USB stick to install, my /etc/fstab had /dev/sdc1 as CDROM.



Quote:
amd@amd:~$ cat /etc/fstab
# /etc/fstab: static file system information.

# cdrom
/dev/sdc1 /media/cdrom udf,iso9660 user,noauto,exec,utf8 0 0


Once I added # before /dev/sdc1, now the computer is happy to mount USB flash.
:)

This does not seem to happen on other distro. I wonder if this could be taken care of during installation?
Link to Post - Back to Top  IP: Logged
   [Search This Thread] [Share Topic] [Print]



Anthony Nordquist, on behalf of the SalineOS project, is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. As such, if you click the above banner and then make any purchase including digital downloads, a small percentage will be paid to the SalineOS project.
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile