Filesystem with errors after partitioning. Need help please

3 replies [Last post]
Megver83
Offline
Joined: 12/21/2015

Hi, I had window$ in /dev/sda2 and GNU/Linux in /dev/sda3. I deleted the NTFS partition and expanded the ext4 partition, but the fs got damaged. Tried to fix it with GParted, the terminal (fsck, e2fsck) but nothing. I tried with e2fsck but at the end this appears to me (in Spanish):

Error al guardar la información del bloque de directorios (nodo-i=4954908, bloque=0, núm=98918954): Memory allocation failed

What can I do? I don´t want to lose my files, only if necessary

*NOTE: The window$ partition was 73 GiB, have a look of my screenshot.

AttachmentSize
Captura de pantalla de 2016-01-16 16:31:29.png98.1 KB
Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

You can try TestDisk and PhotoRec from a Live system. You can use Trisquel's and install it in the live session, e.g., using the "Synaptic package manager" in the "System settings" (the package named "testdisk" in Trisquel's repository provides both programs). See the documentation http://www.cgsecurity.org/wiki/TestDisk and http://www.cgsecurity.org/wiki/PhotoRec

Megver83
Offline
Joined: 12/21/2015

Hi, I had window$ in /dev/sda2 and GNU/Linux in /dev/sda3. I deleted the NTFS
partition and expanded the ext4 partition, but the fs got damaged. Tried to
fix it with GParted, the terminal (fsck, e2fsck) but nothing. I tried with
e2fsck but at the end this appears to me (in Spanish):

Error al guardar la información del bloque de directorios (nodo-i=4954908,
bloque=0, núm=98918954): Memory allocation failed

What can I do? I don´t want to lose my files, only if necessary

*NOTE: The window$ partition was 73 GiB, have a look of my screenshot.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

You can try TestDisk and PhotoRec from a Live system. You can use Trisquel's
and install it in the live session, e.g., using the "Synaptic package
manager" in the "System settings" (the package named "testdisk" in Trisquel's
repository provides both programs). See the documentation
http://www.cgsecurity.org/wiki/TestDisk and
http://www.cgsecurity.org/wiki/PhotoRec