LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-17-2012, 10:02 AM   #1
CWood
Member
 
Registered: Oct 2011
Distribution: Slackware 13.37
Posts: 39

Rep: Reputation: Disabled
Thunar in XFCE does not show drives mounted at startup in fstab


I have 2 drives in my computer - the root, and an extra 2TB SATA drive. Both of these are mounted in the fstab, and thunar does not show the 2TB in the 'mounted drives' sidepanel. This is a massive pain in the proverbial, particularly at the minute while I am doing a complete system clean up.
 
Old 05-17-2012, 10:05 PM   #2
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("lenny", "squeeze"), Ubuntu ("karmic", "oneiric")
Posts: 214

Rep: Reputation: 24
There are lots of ways to get to drives via the command line. Run a couple of commands in a terminal and post the output.

Code:
cat /etc/fstab
df -h
mount
The drive may not be showing up in Thunar because it's not mounted.

BTW ... after running those three commands, become root (or sudo) and try

Code:
mount -a
Let us know if that fixes it.

I know you are a newbie. Let me know if you don't understand how to do any of this.

Also, update your LQ profile to indicate what distro you are running. Am guessing it is XUbuntu (Ubuntu with XFCE)
 
Old 05-17-2012, 10:09 PM   #3
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("lenny", "squeeze"), Ubuntu ("karmic", "oneiric")
Posts: 214

Rep: Reputation: 24
By the way -- if it's really the case that your 2TB drive is mounted but Thunar doesn't like it, I highly recommend a command line
tool called mc for midnight commander .

It is easy to learn and a wonderful way to compare directories and copy
large quantities of files back and forth. (I use it all the time and it is quite a bit faster to use than the drag and drop and click and highlight
paradigm that we all inherited from Macs/Windows ... particularly for large #s of files.)

Last edited by pcardout; 05-17-2012 at 10:10 PM. Reason: typos
 
1 members found this post helpful.
Old 05-18-2012, 08:01 AM   #4
CWood
Member
 
Registered: Oct 2011
Distribution: Slackware 13.37
Posts: 39

Original Poster
Rep: Reputation: Disabled
Distro: Slackware 13.37 (will update my profile, thanks for the heads up)

Code:
bash-4.1$ cat /etc/fstab
/dev/sdb1        swap             swap        defaults         0   0
/dev/sdb2        /                ext4        defaults         1   1
/dev/cdrom       /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
/dev/sda1        /media/Master    ext4        defaults         0   2

bash-4.1$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        75G   40G   32G  56% /
tmpfs           972M     0  972M   0% /dev/shm
/dev/sda1       1.8T  172G  1.6T  10% /media/Master
bash-4.1$ mount
/dev/root on / type ext4 (rw,relatime,barrier=1,data=ordered)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /media/Master type ext4 (rw)
bash-4.1$ su
Password: 
bash-4.1# mount -a
mount: devpts already mounted or /dev/pts busy
bash-4.1#
Nope, still not appearing.
 
Old 05-18-2012, 08:06 AM   #5
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,352

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
I have the same thing under Debian and thought it was just a "feature" of Thunar. Drives/partitions I don't mount on startup show, like my Slack root partition, but my ESATA media drive doesn't show.
 
Old 05-18-2012, 04:08 PM   #6
toothandnail
Member
 
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, SolydX, Salix64
Posts: 74

Rep: Reputation: 6
I assume that this is the drive that is 'missing'?

Code:
/dev/sda1        /media/Master    ext4        defaults         0   2
If that is the case, it will never show up in the Thunar sidebar. It will show under its mount point (/media/Master).

If you want it visible while you have other things open, open another copy of Thunar and select the /media/Master directory.

Paul.
 
Old 05-18-2012, 04:52 PM   #7
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,352

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
Quote:
Originally Posted by pcardout View Post
By the way -- if it's really the case that your 2TB drive is mounted but Thunar doesn't like it, I highly recommend a command line
tool called mc for midnight commander .

It is easy to learn and a wonderful way to compare directories and copy
large quantities of files back and forth. (I use it all the time and it is quite a bit faster to use than the drag and drop and click and highlight
paradigm that we all inherited from Macs/Windows ... particularly for large #s of files.)
Thanks for mentioning mc, I'd not realised it copes with ssh and the like -- it's superior to Thunar in many ways. Reminds me a little of the days of Xtree Gold, but in a good way.
 
Old 05-18-2012, 05:19 PM   #8
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("lenny", "squeeze"), Ubuntu ("karmic", "oneiric")
Posts: 214

Rep: Reputation: 24
You should be set.

To 273. I think mc does cope with ssh, but I mostly just use it to move files around between
different directories and drives on my local machine.

To the OP (CWood). Launch mc, then in the command line type cd /media/Master.
Your 1.6 TBytes sounds like it's right there waiting for you to use it.

toothandnail's suggestion to just navigate over to the drive of interest
in Thunar is a good one.
I work at the command line so much that I don't even worry about Thunar (even though I'm
running XFCE with both Debian and Ubuntu now), but I am sure that will work for you.

To rant slightly -- between Apple and Microsoft constantly messing around with the
appearance of the GUI, "My Pictures", "My Videos" and what not, it cripples people who
suddenly can't "find their stuff".
The whole directory paradigm for hard-drives has not changed since the 1960's ...
just get used to doing things by understanding directories and paths and
the knowledge may well be good for another 50 years, even when the chip is under
your skin!

The latest interfaces (GNOME3, the iPhone etc. ...
are another abomination because once again they hide "your stuff" to make you think
like their GUI designers (and to get you to buy their stuff!).
I assume you are using XFCE Thunar because it has not made this
latest transition to app-based computing. It's why I'm using it, and why Linus is using it.

If you like what we've told you, you might want to post a "SOLVED" titled link, and maybe
thank us! All the best -- "Picard out"
 
Old 05-18-2012, 05:30 PM   #9
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,352

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
Quote:
Originally Posted by pcardout View Post
To 273. I think mc does cope with ssh, but I mostly just use it to move files around between
different directories and drives on my local machine.
Sadly I've only got it working with SSH on my local network so far, but I think that's my failing not the program's.
I agree about the hiding things from the user and it's why I mentioned Xtree Gold -- used it on the network at school when I gained my first network experience and it was far more powerful than the Windows (3.1 I think) and Netware tools of the time. Now I use XFCE because it just gives me menus and lists of running applications in a form I can use. These modern desktops annoy me -- if I don't have a command line I don't feel like I own the device.
 
Old 05-18-2012, 05:49 PM   #10
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("lenny", "squeeze"), Ubuntu ("karmic", "oneiric")
Posts: 214

Rep: Reputation: 24
273 -- I think what you are saying is you are ssh'd into a remote machine and running mc on that machine.

That's a great application for mc and I do that all the time, it prevents
you from having to run a full GUI or using ssh -X which can be really slow to run a graphical file manager. If you aren't running mc on your local machine, just install it ... unless you are saying you are running Windows locally and using putty or some such to reach a linux box. All to the good. BTW, if you want an MC-like (Xtree-Gold etc.) like thing on
your Windows box, it's call FAR.

http://www.farmanager.com/. It comes from Russia. I've used
it plenty and it (is safe) and works great!
 
Old 05-18-2012, 05:57 PM   #11
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,352

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
Quote:
Originally Posted by pcardout View Post
273 -- I think what you are saying is you are ssh'd into a remote machine and running mc on that machine.
No, I have opened a remote machine in the right pane using sftp with the remote sh option. It allows me to open a local machine but not one on the internet, sadly.
 
Old 05-18-2012, 05:59 PM   #12
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 512

Rep: Reputation: 102Reputation: 102
Install Gigolo. It is a great mount management application, it is part of Xfce. It shows/manages every mounted partition including fstab/udisks/photo cameras + all network shares mounted via gvfs/obex etc. It also can mount ssh/samba/nfs shares via gvfs/fuse. You can put it in the system tray and access it with a single click.
 
Old 05-18-2012, 06:05 PM   #13
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("lenny", "squeeze"), Ubuntu ("karmic", "oneiric")
Posts: 214

Rep: Reputation: 24
273. I can tell you how to mount a machine on the net as if it's local (without nfs)
Then you can use mc like it is local ... it's called "fuse".

Since we are off topic now, probably you should start another post and link to it from here.
I can help you do this. I do it all the time and it's wonderful.
 
Old 05-18-2012, 06:09 PM   #14
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("lenny", "squeeze"), Ubuntu ("karmic", "oneiric")
Posts: 214

Rep: Reputation: 24
Notes on using mc

CWood. If I've sold you on mc, you need to know about the insert key.
Once you are running mc, use the arrow keys to drive up and down the file list
and hit insert ... it turns filenames
yellow and allows you to operate on a group
of files all at once (and they don't have to be contiguous). Great feature!
 
Old 05-18-2012, 06:10 PM   #15
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("lenny", "squeeze"), Ubuntu ("karmic", "oneiric")
Posts: 214

Rep: Reputation: 24
273 ... is that degrees Kelvin? Shouldn't you be 273.15? (grin)
 
  


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
mis-mounted drives at startup bustertech Linux - Laptop and Netbook 9 07-28-2011 02:28 PM
Help on XFCE thunar-archive-plugin igorthinks Linux - Desktop 1 08-21-2008 09:58 AM
using Elive Gem - don't know how to show mounted USB (and other) drives on desktop bluecog6 Linux - General 0 09-16-2007 06:27 PM
FC: don't show mounted drives on desktop psychobyte Fedora 1 11-03-2006 07:50 PM
I dont what Drives to show up on desktop at startup slax Ubuntu 3 07-27-2006 02:01 AM


All times are GMT -5. The time now is 05:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration