LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error messages when trying to open Cruzer memory stick in Anti-X (https://www.linuxquestions.org/questions/linux-newbie-8/error-messages-when-trying-to-open-cruzer-memory-stick-in-anti-x-4175503070/)

ken7 04-26-2014 01:01 PM

Error messages when trying to open Cruzer memory stick in Anti-X
 
My stick appears as sdb1 when I open SpaceFM desktop. However when I try to open it I get this error message:
Run:Mount /dev/sdb1
Status:Finished with error ( exit status 4 )
Error:mount point /media/sdb1 is already in /etc/fstab, associated to device UUID=D19A-3623

I am positive I accessed the files in the stick before simply by clicking on the icon and clicking open on the drop down menu. I went to the Office Libre Writer files and I even have the files listed I had opened and worked on. It says now they do not exist. They do I can access them on WIndows XP which I also have on this computer. No doubt I am making some stupid mistake. I wish Linux had a simple My computerk screen where I could just click on the image of my USB stick in the port.
I get the same error if I try to mount or remount the device. Perhaps I am just in the wrong place to open it. The light is on on the stick and when I remove the stick the sdb1 icon disappears.

ken7 04-26-2014 01:28 PM

I just went to Anti-X control center and they have a section on managing disks and one is for USB2. My Cruze is listed there and I just clicked refresh. When I went back to the icon in the Space FM desktop I was able to open the disk and access the files with no problem. Sorry to bother people. THe issue seems solved. I will try the same process if it happens again.

ken7 04-26-2014 06:13 PM

What I did in the AntX control center must have been just concidentally related to my problem. Now I have rebooted the same issue and same error message is appearing and going back and doing what I did before did not help. In any event it looks as if the directions there have to do with creating a a live boot from a USB stick. It seems that from time to time the system just decides to open the files but mostly I get the error message as first described. So I still do not have a solution.

JeremyBoden 04-26-2014 07:06 PM

You should not get the error
Quote:

Error:mount point /media/sdb1 is already in /etc/fstab, associated to device UUID=D19A-3623
/etc/fstab is a file which holds mount details of permanent disks.
USB sticks are automatically mounted (and unmounted if you click the safely remove icon); they do not appear in /etc/fstab.

If you enter the following command (no parameters)
Code:

mount
you should see 10-20 lines of output - what do the last 3 or 4 look like?
Some sample output:-
Quote:

...
none on /sys/fs/cgroup type tmpfs (rw,relatime,size=4k,mode=755)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,name=systemd)
/dev/sdc1 on /media/jeremy/E90D-5E23 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=utf8,shortn ame=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
BTW That last entry refers to a bootable USB stick.

Your output may look considerably different.

ken7 04-26-2014 08:58 PM

Here is the entire output when I typed in the command "mount"
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=218000,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=622,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=206312k,mode=755)
/dev/sda5 on / type ext4 (rw,noatime,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=412600k)

Hope this helps thanks for your reply. I don't really need to use the USB stick on Antix since I can just switch to Windows XP. I am only here a few days each month and there is no problem with my other computers. I will be leaving here tomorrow at noon so I may not be able to test out your replies for another couple of weeks. Thanks for your help.

ken7 04-26-2014 10:28 PM

I went to control center and then to the mount devices section. In the dialogue it had a different device listed to mount but there was also an icon titled list. When I clicked on that I got a list of all the connected devices including sbd1 which is the Cruzer memory stick. I just erased the device name that was in the box and typed /dev/sdb1 and then I deleted the mount point since it was related to the cdrom. I clicked on mount and a window at the side appeared with all the appended devices as icons. I clicked on the sdb1 icon and all the files appeared and were listed in a window below. I then closed the windows and went back to the Space FM file manager and found sdb1 again and clicked on it and lo and behold the files appeared. However when I log off and try to access sdb1 again the same error message appears. However I now know how to get around the problem but it still seems a bit weird that it should keep happening this way.
I opened a file and entered several paragraphs of text. I then rebooted into Windows XP and looked at the file. Antix had properly saved the text to the disk.

JeremyBoden 04-27-2014 07:17 AM

I'm glad you found a workround.

I'm not familiar with SpaceFM - it seems to be very complex.
If your system allows it, you may find a more lightweight desktop/file manager to be more user friendly.

antiX-Dave 04-27-2014 08:22 AM

Could you please post your etc/ fstab here?
If it is complaining about an entry already in etc / fstab it sounds like the automatic disk mount from live (or use with rox-filer) is still enabled.

JeremyBoden 04-27-2014 10:49 AM

Note:- my /etc/fstab is a bit nonstandard - but basically reasonable:-
Quote:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=51fe6ca2-9ab9-4b52-8ae5-35770fede582 / ext4 rw,errors=remount-ro,noatime 0 1
# /dev/sda2
#UUID=0648d2d1-9a41-4257-8b79-dfc7bc227e82 /home ext4 rw,errors=remount-ro 0 0
/dev/sda2 /home ext4 defaults,noatime,user_xattr 0 2
/dev/sda3 /mnt/video ext4 defaults,noatime 0 2
/dev/sdb2 /mnt/backup ext3 defaults,noatime 0 2
/dev/sdb3 /mnt/filestore ext4 defaults,noatime 0 2
/swapfile none swap sw 0 0

NAS:/mnt/C/ /media/NAS nfs rw,hard,intr,users,noauto,noatime,namlen=250 0 2

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
Note that there are two disks, sda and sdb, also a connection to a small Network Attached Storage (NAS) device;
I have no swap partition, but I do have a swapfile in /


All times are GMT -5. The time now is 06:11 PM.