* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Recovering hidden files on Ubuntu  (Read 1009 times)

0 Members and 1 Guest are viewing this topic.

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 745
  • Post Rating Ratio: +15/-7
  • TI-nspire porter
Recovering hidden files on Ubuntu
« on: July 11, 2016, 06:34:52 pm »
So...  after an unfortunate incident with my computer, i lost some files.
Or so i thought.
What really happenned is the fact all the files and even folders are there but are all hidden.
When i type this on the terminal, it returns this...
Code: [Select]
hatsune@hatsune:~$ ls
ls: cannot open directory .: Wrong medium type
My file manager shows me nothing, as if there was no files.

However, i can still go to folders as if they were there.
Code: [Select]
hatsune@hatsune:~$ cd Documents
hatsune@hatsune:~/Documents$

But(t) i'm not done yet !
The files are still there, look !
Code: [Select]
hatsune@hatsune:~/Documents/DEV/Gameblabla/Website_v2$ find index.htm
index.htm
And they are not corrupted anything !

However, when i try ls again, i get this :
Code: [Select]
hatsune@hatsune:~/Documents/DEV/Gameblabla/Website_v2$ ls
ls: cannot open directory .: Wrong medium type
My file manager shows me no files.

Photorec unfortunely only gives me eCryptfs files. (because i have encrypted my home directory)

So i thought... Maybe i can brute force filenames ?
I could write a bash script that could try to find all the files in a given directory and try to find the hidden filename in a loop like so.*
a.htm
aa.htm
aaa.htm
..
ab.htm

and so on.
Or maybe there is an utility for my case ?
fsck does not work unfortunely.

What should i do ?
« Last Edit: July 11, 2016, 06:40:39 pm by gameblabla »


  • Calculators owned: TI Nspire CX, TI-89

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3143
  • Post Rating Ratio: +33/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Recovering hidden files on Ubuntu
« Reply #1 on: July 12, 2016, 06:50:01 am »
Which kernel do you use? What I read online suggests upgrading to 4.6 or using the kernel you had before the last time you upgraded should solve the problem (Ubuntu usually keeps previous versions of the kernel accessible in GRUB, in case), otherwise I guess there's a patch coming soon.
« Last Edit: July 12, 2016, 06:52:12 am by Juju »
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
On semi-hiatus until who knows when. CODEWALRUS 2.0 COMING SOON
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 745
  • Post Rating Ratio: +15/-7
  • TI-nspire porter
Re: Recovering hidden files on Ubuntu
« Reply #2 on: July 12, 2016, 04:27:53 pm »
I admit i had downgraded to Linux 4.1 due to some issues with Virtualbox. (still not compiling modules with Linux 4.6.3)
I upgraded to Linux 4.6 again and it fixed my issue.
How the hell did you know that ?
Is it because they changed the encryption thing starting with Linux 4.4 ?

Thank you, i can always count on you.
  • Calculators owned: TI Nspire CX, TI-89

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3143
  • Post Rating Ratio: +33/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Recovering hidden files on Ubuntu
« Reply #3 on: July 12, 2016, 09:39:23 pm »
Usually I type the error message in Google and the first few links all said to upgrade to 4.6 because there was some issue with that in the older kernels. Probably because you downgraded and they changed something not retrocompatible in 4.4, yeah.
« Last Edit: July 12, 2016, 09:41:59 pm by Juju »
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
On semi-hiatus until who knows when. CODEWALRUS 2.0 COMING SOON
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18907
  • Post Rating Ratio: +100/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Recovering hidden files on Ubuntu
« Reply #4 on: July 13, 2016, 04:19:40 pm »
Another thing I do, regardless of the OS, is backing up my important files often, in case stuff like this happens. :P
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games