Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
I mounted a flash drive, but under "devices" in deb9 it does not show up. Also, it is mounted as "mount /dev/sda1 /media" and it does not show up in the media folder either. It is "ext4" formatted.
Thanks. How would I mount it using the file manager? It does show up there now, but I can not add anything to it. The only thing that shows are 2 folders with "X"s on them. And I can not copy and paste into the directory or whatever is holding them. I get the feeling that it "auto-mounted" since right clicking gives the option to "unmount".
On the other hand, if I did use the command line, how would I access it then, though I get the feeling I would need to be more familiar with command-line commands.....?
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
I wouldn't worry about it. The file manager will frequently not show certain mounted volumes. It's all a matter of how it's programmed and configured to work. It doesn't mean the volume isn't mounted.
Thanks. Can you clarify the quotes part....what is suppose to go in there or am I suppose to paste it into the terminal exactly as you have it written?
Thanks. Can you clarify the quotes part....what is suppose to go in there or am I suppose to paste it into the terminal exactly as you have it written?
/dev/mmcblk0p1 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600)
/dev/sda1 on /exthdd type ext4 (ro,noexec,relatime,commit=15,data=ordered)
It would be better to have run the command cited by Hydrurga. (Which between my starting this reply and now, I see that you have - and also re-affirming my opinion that /dev/sda1 is mounted at /exthdd.)
How sure are you that this drive is /dev/sda1? Suggest you look at the directory under /exthdd and see if the files there are what you expect.
Quote:
Originally Posted by ondoho
command-line mounted drives won't show up in the file manager.
This statement appears inaccurate. Mounted file systems are visible from a file manager. When something auto-mounts a file manager window may pop-up to show it, however sometimes do not.
Meanwhile if you mount something using the command line and subsequently open a file manager window in a GUI you will be able to see all mounted file systems.
I did run the command cited by H...it is 2 messages up, the output, that is.
How sure am I that this is sda1? It is definitely the only "1.8T" drive connected to my computer.
How do I find the directory under exthdd? Under devices in file manager, there is "system file". I can get to "media" folder there, but there is nothing about 'exthdd'.
/dev/mmcblk0p1 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600)
/dev/sda1 on /exthdd type ext4 (ro,noexec,relatime,commit=15,data=ordered)
There's your problem - the disk is being mounted as read-only. Why, I don't know. You could try force mounting it as read-write but, being the cautious guy I am, I would first check the disk first with fsck.
To do that, unmount the disk and then check it with fsck -n /dev/sda1.
I purposely mounted it as read-only so if there is any malware on my computer, it will not transfer over to the my exthdd.
Don't know if this helps....but when I try to unmount with: umount /dev/sda1 /exthdd, it says that the "exthdd" is not mounted, even though the 'df-h' command "mounted" says that it is mounted on the exthdd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.