LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-15-2018, 01:45 AM   #1
lq99
LQ Newbie
 
Registered: Mar 2018
Posts: 16

Rep: Reputation: Disabled
Deb9 - chromium - mounted but cant find media


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.

It is mounted as df -h shows.

Last edited by lq99; 03-15-2018 at 01:47 AM.
 
Old 03-15-2018, 02:26 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
command-line mounted drives won't show up in the file manager.
try to unmount it, replug it, and then simply use the file manager to do the mounting.

also, why did you add 'chromium' to thread title?
 
Old 03-15-2018, 03:25 AM   #3
lq99
LQ Newbie
 
Registered: Mar 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
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.....?

Last edited by lq99; 03-15-2018 at 04:28 AM.
 
Old 03-15-2018, 05:15 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
Old 03-15-2018, 08:43 AM   #5
lq99
LQ Newbie
 
Registered: Mar 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
Either way, I need to copy and paste files to it and I am not able to do that...
 
Old 03-15-2018, 10:00 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Please paste the output from the following command and indicate which is your flash drive:
Code:
mount | grep "^/dev/"
 
Old 03-15-2018, 11:35 AM   #7
lq99
LQ Newbie
 
Registered: Mar 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
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?
 
Old 03-15-2018, 11:43 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by lq99 View Post
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?
Exactly as written.
 
Old 03-15-2018, 11:45 AM   #9
lq99
LQ Newbie
 
Registered: Mar 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
MAYBE THIS IS WHAT YOU NEED: (***sda1 = exthdd)

lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
└─sda1 8:1 0 1.8T 0 part
mmcblk0 179:0 0 14.9G 0 disk
└─mmcblk0p1 179:1 0 14.7G 0 part /
mmcblk2 179:8 0 14.6G 0 disk
├─mmcblk2p1 179:9 0 12.2G 0 part
├─mmcblk2p2 179:10 0 16M 0 part
├─mmcblk2p3 179:11 0 1K 0 part
├─mmcblk2p5 179:13 0 16M 0 part
├─mmcblk2p6 179:14 0 16M 0 part
├─mmcblk2p7 179:15 0 768M 0 part
├─mmcblk2p8 259:0 0 16M 0 part
├─mmcblk2p9 259:1 0 32M 0 part
├─mmcblk2p10 259:2 0 768M 0 part
├─mmcblk2p11 259:3 0 16M 0 part
├─mmcblk2p12 259:4 0 16M 0 part
├─mmcblk2p13 259:5 0 16M 0 part
├─mmcblk2p14 259:6 0 32M 0 part
├─mmcblk2p15 259:7 0 16M 0 part
└─mmcblk2p16 259:8 0 640M 0 part
mmcblk2boot0 179:16 0 4M 1 disk
mmcblk2boot1 179:24 0 4M 1 disk

==================================================================================================== =======
df -h
Filesystem Size Used Avail Use% Mounted on
udev 998M 0 998M 0% /dev
tmpfs 202M 17M 185M 9% /run
/dev/mmcblk0p1 15G 14G 1013M 94% /
tmpfs 1009M 0 1009M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1009M 0 1009M 0% /sys/fs/cgroup
tmpfs 1009M 12K 1009M 1% /tmp
tmpfs 202M 0 202M 0% /run/user/1000
/dev/sda1 1.8T 1.4T 371G 79% /exthdd
 
Old 03-15-2018, 11:54 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Are you having difficulty cutting and pasting the command I gave you?
 
Old 03-15-2018, 12:00 PM   #11
lq99
LQ Newbie
 
Registered: Mar 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
mount | grep "^/dev/"

/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)
 
Old 03-15-2018, 12:10 PM   #12
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
/dev/sda1 1.8T 1.4T 371G 79% /exthdd
Based on this, /dev/sda1 is mounted at /exthdd.

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 View Post
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.

Last edited by rtmistler; 03-15-2018 at 12:11 PM.
 
Old 03-15-2018, 12:12 PM   #13
lq99
LQ Newbie
 
Registered: Mar 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
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'.

Thanks.

Last edited by lq99; 03-15-2018 at 12:18 PM.
 
Old 03-15-2018, 12:16 PM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by lq99 View Post
mount | grep "^/dev/"

/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.
 
Old 03-15-2018, 12:23 PM   #15
lq99
LQ Newbie
 
Registered: Mar 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
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.

I'll run the disk check now.

Last edited by lq99; 03-15-2018 at 12:34 PM.
 
  


Reply



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
Can't update to F26 because of chromium-libs-media KenJackson Fedora 4 08-01-2017 12:47 PM
Why so many "tmpfs" mounted? One is mounted on /media -- why? SharpyWarpy Fedora 6 03-13-2012 12:15 AM
No partitions mounted in /media when using Xfce terry-duell Fedora 5 04-02-2008 12:22 AM
How to write to automatically mounted removable media royeo Linux - Newbie 3 09-19-2006 05:34 PM
Unknown mounted media Suse 10.1 usaf_sp SUSE / openSUSE 9 06-23-2006 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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