I'm trying to open my home folder on my raspbian lite sd card. I have the rasbian os plugged into a sd card reader to my ubuntu laptop. I can't see it in when I open the directory in GUI but I can see it when I type ls. Anyone know what is the meaning of this?

ls output shows home

bin   common.sh  etc   lib         media  opt   root  sbin  sys  usr
boot  dev        home  lost+found  mnt    proc  run   srv   tmp  var

file folder of same dir missing home enter image description here

  • 1
    The image appears to be Ubuntu which seems irrelevant. If you want anyone to read paste TEXT. – Milliways Oct 10 '18 at 1:17
  • @Milliways Paste the ls output? – bakalolo Oct 10 '18 at 1:21
  • 1
    OH right ... where you typed ls, you can see a folder called home - which doesn't appear in the "explorer" style window – Jaromanda X Oct 10 '18 at 1:35
  • I do not understand your question. You are using Raspbian Lite. On login you are by default in the home folder of the logged in user, usual pi: /home/pi. You are in the root directory /. Raspbian Lite has no graphical support. What is this window from the screen shot? – Ingo Oct 12 '18 at 10:15
  • 1
    @Ingo I have the raspbian in a sd card reader plugged into my laptop! – bakalolo Oct 12 '18 at 21:36

Once you have SSHed into your ubuntu Linux computer as root, open up a shell terminal and run dmesg to print out the kernel ring buffer. Please notice the last few lines. Then, plug your rasbian os into an SD card reader on your ubuntu Linux computer and again run dmesg to print out the kernel ring buffer. Do you see any new entries in the last few lines to indicate the recognition of your SD card as an sdX: sdX1 sdX2 (where X is the drive ID) partitions? If so, make a note of it. Then, run df on the same shell terminal to see if any of the sdX# partitions has been mounted. If not, then you will need to manually mount the partitions, i.e. mount /dev/sdX1 /mnt, etc. before you will be able to see the /dev/sdX1 partition mounted under /mnt. Once you are done, before you manually unmount the mounted partition, i.e. umount /dev/sdX1, etc. before you can pull out the raspbian OS from the SD card reader.

  • I'm wondering what manual mount is supposed to achieve. – Dmitry Grigoryev Oct 17 '18 at 15:11

One possible explanation is that you have a file called .hidden in your root directory, which Nautilus interprets as a list of files and directories which should not be shown to the user.

You would be able to see the .hidden file itself in CLI if you run ls -a instead of just ls.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.