[SOLVED] FM not Showing SATA Hard Drive

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

[SOLVED] FM not Showing SATA Hard Drive

Post by Atip »

In my Saiix-xfce4-14.1 Super Box Thunar FM and Pcmanfm do not show under
Devices my SATA hard drive only my IDE HD. Spacefm does show both HDs.

Now in the new Salix-Live-Xfce4-14.1 both Thunar and pcmanfm show both HDs.

How could I tweak my Salix working box which is on the SATA HD that the FMs show
both my drives under Devices like in Salix-Live-Xfce4?
Last edited by Atip on 13. Nov 2014, 03:23, edited 1 time in total.
User avatar
rokytnji
Posts: 76
Joined: 12. Sep 2014, 22:47
Location: Chihuahua Desert

Re: FM not Showing SATA Hard Drive

Post by rokytnji »

For supplying more info so you get better answers. Open a terminal post in your next post the outputs of

Code: Select all

sudo blkid

Code: Select all

sudo fdisk -l

Code: Select all

cat /etc/sftab
Good luck.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: FM not Showing SATA Hard Drive

Post by Atip »

Code: Select all

sudo /sbin/blkid
/dev/sda1: SEC_TYPE="msdos" UUID="E2FC-2A54" TYPE="vfat" 
/dev/sda2: UUID="3a1e366d-8938-4450-83b1-7ec043348e10" TYPE="ext2" 
/dev/sda5: UUID="1b03e0e3-39d6-4ff1-8a84-fb2725d42416" TYPE="xfs" 
/dev/sda6: UUID="c2427a56-7db3-44cc-9a0e-0af7fa88b8f1" TYPE="ext4" 
/dev/sda7: UUID="7e6aa9f0-1f72-4826-ae6a-51a8ea66c383" TYPE="ext4" 
/dev/sdb1: UUID="60dcf336-487a-44b9-98b6-797ed35971cb" TYPE="swap" 
/dev/sdb2: LABEL="Salix" UUID="5c5387dd-926e-4c3f-933c-9859b2758bb2" TYPE="xfs" 
/dev/sdb3: UUID="45cfbec7-1c1a-44ab-8640-c0b1459a9313" TYPE="xfs" 
/dev/sdb4: UUID="090db1b2-5d2f-4058-845d-8f4c0bfdaeec" TYPE="xfs" 
/dev/sdb5: UUID="3009c043-35d9-4800-8637-5b3948dde8c6" TYPE="xfs" 
/dev/sdb6: UUID="519ddc1e-e89f-44b5-8077-4664956b9ed0" TYPE="xfs" 
/dev/sdb7: UUID="ad9d7816-3761-4b9c-9bc6-22fb4df35cfa" TYPE="reiserfs" 

Code: Select all

sudo /sbin/fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ee93b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63       48194       24066    6  FAT16
/dev/sda2           48195       96389       24097+  83  Linux
/dev/sda3           96390   156296384    78099997+   5  Extended
/dev/sda5           96453    71778419    35840983+  83  Linux
/dev/sda6   *    71778483   104552627    16387072+  83  Linux
/dev/sda7       104567148   156296384    25864618+  83  Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4ba750e2

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1   976773167   488386583+  ee  GPT

Code: Select all

cat /etc/fstab
/dev/sdb2        /                xfs         noatime,defaults 1   1
/dev/sdb3       /usr/local        xfs           defaults        0  1
/dev/sdb4       /home             xfs           defaults        0  1
/dev/sda5       /mnt/SLX14        xfs           defaults,noauto 0  0
#/dev/sda6      /mnt/Sluxbox      xfs           defaults,noauto 0  0
/dev/sdb2       /mnt/SLX          xfs           defaults,noauto 0  0
/dev/sdb6       /mnt/Sluxbox      xfs           defaults,noauto 0  0
/dev/sdb5       /mnt/Slack        xfs           defaults,noauto 0  0
/dev/sdb7       /mnt/Sdb7         reiserfs              defaults,noauto 0  0
In /mnt/SLX14 I have a copy of my Salix working box where too the mentioned FMs
will not show the SATA drive. In /dev/sda6 I have installed Salix-Live-Xfce-14.1.
I did

Code: Select all

cp -ax /run/media/user/c2427a56-7db3-44cc-9a0e-0af7fa88b8f1/* /mnt/SLX14/
Now in /mnt/SLX14 the FMs do show the SATA drive.
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: FM not Showing SATA Hard Drive

Post by gapan »

Please put any output in code tags next time, for better readability. This time I edited it for you.

Since your sdb is a GPT disk, also post the output of

Code: Select all

sudo gdisk -l /dev/sdb
and post the output of

Code: Select all

mount
as well.
Atip wrote:

Code: Select all

cat /etc/fstab
/dev/sdb2        /                xfs         noatime,defaults 1   1
/dev/sdb3       /usr/local        xfs           defaults        0  1
/dev/sdb4       /home             xfs           defaults        0  1
/dev/sda5       /mnt/SLX14        xfs           defaults,noauto 0  0
#/dev/sda6      /mnt/Sluxbox      xfs           defaults,noauto 0  0
/dev/sdb2       /mnt/SLX          xfs           defaults,noauto 0  0
/dev/sdb6       /mnt/Sluxbox      xfs           defaults,noauto 0  0
/dev/sdb5       /mnt/Slack        xfs           defaults,noauto 0  0
/dev/sdb7       /mnt/Sdb7         reiserfs              defaults,noauto 0  0
Now, you really can't see anything weird about this? Why are you trying to mount the same partitions in different mountpoints?
Atip wrote:I did

Code: Select all

cp -ax /run/media/user/c2427a56-7db3-44cc-9a0e-0af7fa88b8f1/* /mnt/SLX14/
Now in /mnt/SLX14 the FMs do show the SATA drive.
No, you just copied files over at /mnt/SLX14, which might just be a directory in your / filesystem.
Image
Image
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: FM not Showing SATA Hard Drive

Post by Atip »

gapan wrote:Please put any output in code tags next time, for better readability. This time I edited it for you.
Sorry
gapan wrote: Since your sdb is a GPT disk, also post the output of

Code: Select all

sudo gdisk -l /dev/sdb
and post the output of

Code: Select all

mount
as well.
Atip wrote:

Code: Select all

cat /etc/fstab
/dev/sdb2        /                xfs         noatime,defaults 1   1
/dev/sdb3       /usr/local        xfs           defaults        0  1
/dev/sdb4       /home             xfs           defaults        0  1
/dev/sda5       /mnt/SLX14        xfs           defaults,noauto 0  0
#/dev/sda6      /mnt/Sluxbox      xfs           defaults,noauto 0  0
/dev/sdb2       /mnt/SLX          xfs           defaults,noauto 0  0
/dev/sdb6       /mnt/Sluxbox      xfs           defaults,noauto 0  0
/dev/sdb5       /mnt/Slack        xfs           defaults,noauto 0  0
/dev/sdb7       /mnt/Sdb7         reiserfs              defaults,noauto 0  0
Now, you really can't see anything weird about this? Why are you trying to mount the same partitions in different mountpoints?
You mean those 2 /mnt/Sluxbox. Just too lazy to clean it. Will do now.

Code: Select all

cat /etc/fstab
/dev/sdb2        /                xfs         noatime,defaults 1   1
/dev/sdb3       /usr/local        xfs           defaults        0  1
/dev/sdb4       /home             xfs           defaults        0  1
/dev/sda5       /mnt/SLX14        xfs           defaults,noauto 0  0
#/dev/sda6      /mnt/Test         xfs           defaults,noauto 0  0
/dev/sdb2       /mnt/SLX          xfs           defaults,noauto 0  0
/dev/sdb6       /mnt/Sluxbox      xfs           defaults,noauto 0  0
/dev/sdb5       /mnt/Slack        xfs           defaults,noauto 0  0

Code: Select all

mount
 /dev/sdb2 on / type xfs (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sdb3 on /usr/local type xfs (rw)
/dev/sdb4 on /home type xfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
gvfsd-fuse on /home/peter/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=peter)

Code: Select all

/sbin/gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.7

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 005CC73C-60EA-A842-B26F-993038433884
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 423057 sectors (206.6 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1       833386496       835463167   1014.0 MiB  8200  
   2          413696       210128895   100.0 GiB   0700  
   3       210130944       377903103   80.0 GiB    0700  
   4       377905152       587620351   100.0 GiB   0700  
   5       587622400       710502399   58.6 GiB    0700  
   6       710504448       833385307   58.6 GiB    0700  
   7       835463168       976773119   67.4 GiB    0700 
gapan wrote: No, you just copied files over at /mnt/SLX14, which might just be a directory in your / filesystem.
No it is not. The files were overridden. as command "cp -ax /partition-1/* /partition-2/" is supposed to do.
Example:

Code: Select all

ls -l passwd
-rw-r--r-- 1 root root 1096 Nov  9 11:43 passwd

ls -l passwd-
-rw------- 1 root root 1098 Nov  8 15:13 passwd-
Last edited by Atip on 12. Nov 2014, 01:45, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: FM not Showing SATA Hard Drive

Post by gapan »

Atip wrote:You mean those 2 /mnt/Sluxbox. Just too lazy to clean it. Will do now.
No, I mean this:

Code: Select all

/dev/sdb2        /                xfs         noatime,defaults 1   1
/dev/sdb2       /mnt/SLX          xfs           defaults,noauto 0  0
Atip wrote:

Code: Select all

mount
/dev/sdb2 on / type xfs (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sdb3 on /usr/local type xfs (rw)
/dev/sdb4 on /home type xfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
gvfsd-fuse on /home/peter/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=heisspf)
That shows that none of the other partitions are actually mounted. Your /mnt/SLX14, is just a directory in your / partition in that case, not your /dev/sda5 as you think it is. /dev/sda5 is not mounted!
Atip wrote: No it is not. The files were overridden. as command "cp -ax /partition-1/* /partition-2/" is supposed to do.
Read previous comment. You're just copying files over, no matter what flags you use. That's what the cp command does.

In general, your posts suggest that you are very confused about which partition is which and what should be mounted where. I suggest you remove everything non-essential from your /etc/fstab and just mount the partitions using the file manager.
Image
Image
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: FM not Showing SATA Hard Drive

Post by Atip »

I have a very clear idea what partitions I have.
There is no directory /mnt/SLX therefore that entry in fstab is meaningless.
Removed it now. Thanks for pointing it out.
I just mounted /mnt/SLX14

Code: Select all

mount
/dev/sdb2 on / type xfs (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sdb3 on /usr/local type xfs (rw)
/dev/sdb4 on /home type xfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
gvfsd-fuse on /home/peter/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=peter)
/dev/sda5 on /mnt/SLX14 type xfs (rw)
and if I boot into /dev/sda5 from a custom USB stick I am only there and nowhere else.

Code: Select all

cat fstab
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/sda5 / xfs defaults 1 1
/dev/sdb1 none swap defaults 0 0
You ask me to mount the partitions with a file manager.
This is precisely why I started this thread: File managers do not show my SATA drive
and its partitions in my original Salix-Xfce-14.1 box.
User avatar
slack631
Posts: 51
Joined: 26. Dec 2011, 05:22

Re: FM not Showing SATA Hard Drive

Post by slack631 »

Do you actually have the directory /mnt/SLX14.
If not, you should manually create one.
Just a thought, why a partition would'n be mounted if it's in fstab, unless ther is not
a directory to mount on, it's a bit confusing, maybe I'm wrong.
I thik I had similar problem on windows partition. If you skip to add those mount points
during installation, later on if you add them in fstab, system itself wont create those directoris.
Yet again, maybe I'm wrong, never had so much trouble over partition mounting :)
Last edited by slack631 on 12. Nov 2014, 07:15, edited 2 times in total.
User avatar
slack631
Posts: 51
Joined: 26. Dec 2011, 05:22

Re: FM not Showing SATA Hard Drive

Post by slack631 »

Maybe in dmesg there are some messages of what happens durig boot and mounting.

regards
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: FM not Showing SATA Hard Drive

Post by gapan »

Atip, you are either confused, or you are making everything deliberately confusing for everyone else by not providing proper information. I prefer to think it's the former.

In any case, I have already provided you with the solution, but you didn't read it. I'll do you a favor and copy-paste it, this time with the relevant text in bold...
gapan wrote:I suggest you remove everything non-essential from your /etc/fstab and just mount the partitions using the file manager.
Image
Image
Post Reply