Files on external HDD not showing....
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Files on external HDD not showing....
Hi all. Having a problem - I just did a clean install over my old Mint 17 partition with 18.1 because of some internet-related troubles I was having.
Before I formatted the partition to start over I copied my entire user/root folder to HDD so I'd have all my files and could just paste them into the fresh install.
The problem is that when I click into the external HDD, the folder is there, and the properties say it's the size it's supposed to be, but when you click into it there's nothing there, hidden or otherwise, and the properties tab of the folder also says "no contents". I booted up the Windows partition to check it on another OS, and all the files were there...so they're just not showing up in Mint. Can anyone help me to work out how to make them appear so I can get all my stuff back on to my new installation?
Cheers!
Before I formatted the partition to start over I copied my entire user/root folder to HDD so I'd have all my files and could just paste them into the fresh install.
The problem is that when I click into the external HDD, the folder is there, and the properties say it's the size it's supposed to be, but when you click into it there's nothing there, hidden or otherwise, and the properties tab of the folder also says "no contents". I booted up the Windows partition to check it on another OS, and all the files were there...so they're just not showing up in Mint. Can anyone help me to work out how to make them appear so I can get all my stuff back on to my new installation?
Cheers!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Files on external HDD not showing....
With the external HDD attached paste back the results of
mount|grep ^/dev
Re: Files on external HDD not showing....
Hey WharlRat, thanks for your reply
The output I get from that (with the "TOSHIBA" one being the extrernal hard drive in question) is:
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sdb1 on /media/user/TOSHIBA EXT type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
The output I get from that (with the "TOSHIBA" one being the extrernal hard drive in question) is:
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sdb1 on /media/user/TOSHIBA EXT type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
Re: Files on external HDD not showing....
Do you see any files with
ls -lh "/media/user/TOSHIBA EXT"
Re: Files on external HDD not showing....
Just the one folder still unfortunately :-/
Re: Files on external HDD not showing....
just thinking out loud.
if i recall correctly "nodev" flag means you can't mount the device, isn't it ?
if i recall correctly "nodev" flag means you can't mount the device, isn't it ?
Re: Files on external HDD not showing....
That's not quite right, nodev means character or block special devices will not be interpreted.avihai wrote:j
if i recall correctly "nodev" flag means you can't mount the device, isn't it ?
Does
df -h
show any used space for that partition Re: Files on external HDD not showing....
Yeah it shows it as ~half full which is about right
Re: Files on external HDD not showing....
Try unmounting the partition and mounting it with your credentialsnewbie-ish wrote:Yeah it shows it as ~half full which is about right
sudo umount /dev/sdb1
Then create a mountpoint
sudo mkdir/media/external
Then mount it with
sudo mount -t ntfs-3g -o uid=1000,gid=1000,dmask=002,fmask=111 /dev/sdb1 /media/external
Then check it with
ls -lh /media/external
Re: Files on external HDD not showing....
Thanks for your detailed suggestions WharlRat, much appreciated. Unfortunately after doing that it still only shows the one folder, same as before
Re: Files on external HDD not showing....
Again with the drive connected using /media/external paste back the results ofnewbie-ish wrote:Thanks for your detailed suggestions WharlRat, much appreciated. Unfortunately after doing that it still only shows the one folder, same as before
df -h|egrep 'File|sdb1'
Re: Files on external HDD not showing....
That returns:
Code: Select all
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 466G 235G 232G 51% /media/external
Re: Files on external HDD not showing....
OK, can you now paste back
ls -lh /media/external
Re: Files on external HDD not showing....
Yep, that gets:
Code: Select all
total 24K
drwxrwxr-x 1 user user 0 Jun 28 14:40 System Volume Information
drwxrwxr-x 1 user user 24K Jun 27 19:45 user
- Spearmint2
- Level 16
- Posts: 6900
- Joined: Sat May 04, 2013 1:41 pm
- Location: Maryland, USA
Re: Files on external HDD not showing....
Have you tried accessing the HDD as root? Notice the user mode of file manager shows nothing in the root folder, but when I use the file manager in superuser mode, then I can see items in that root folder. If you are going to run commands to access a root owned folder, need to be root, use sudo or gksu where appropriate, or set terminal to sudo su, and then be very careful. Click on image to view full size.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
Re: Files on external HDD not showing....
Code: Select all
ls: reading directory '/media/external/user': Input/output error
total 0
Re: Files on external HDD not showing....
Thanks Spearmint, unfortunately that was one of the first things I tried, didn't change anything.Spearmint2 wrote:Have you tried accessing the HDD as root? Notice the user mode of file manager shows nothing in the root folder, but when I use the file manager in superuser mode, then I can see items in that root folder.
Re: Files on external HDD not showing....
Are you sure it was plugged in when you backed-up the files
The other possibility with that Input/output error is that the drive is flying south or the file system is corrupted.
The other possibility with that Input/output error is that the drive is flying south or the file system is corrupted.
- Spearmint2
- Level 16
- Posts: 6900
- Joined: Sat May 04, 2013 1:41 pm
- Location: Maryland, USA
Re: Files on external HDD not showing....
how did you move the folder and files over? Why did you move the /root folder? Were you running your system as root? Was that your user name? You installed 18 already on the same partition you previously had 17 on? If you can't find your files eventually on the HDD, maybe you can find some or all of them using the TestDisk program that's in GParted under the Devices header using it's recovery option.
Upgrade Wharf's suggested command to superuser mode.
Upgrade Wharf's suggested command to superuser mode.
Code: Select all
sudo ls -lh /media/external
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....