laptop crash need recover tips with fsck

Posts: 43
mihail_bc
Joined: 15 May 2015
#1
hi, my laptop died, probabily the mainboard, as soon as it starts it reboots, and if it boots in the system as I touch a keyboard or the pad, it reboots.

Anyway, I think its the mainboard, but this is not the issue.

Tell me how to recover the filesystem. I had ext2 formatting, and and the beggining it says, antix wasnt shut down properly forcing checkdisk, but nothing happens. I think I am allowed to write in the terminal.

Or if I move the hdd to another laptop, and use a liveusb/disk, what shout I write?

Thanks.
Posts: 32
bedna
Joined: 30 May 2015
#2
Partition for repairing must by umounted.
The best solution is run live Linux distro and chceck disk from it.

For check disk use command fsck.ext2 /dev/sdXX
where XX a replacement with partition name, e.g. sda1

EDIT// Ext2 is old filesystem without journal, today is best from Ext is Ext4.
Posts: 850
fatmac
Joined: 26 Jul 2012
#3
If you have important files on your disk, back it up using an image copying program before attempting recovery.
Posts: 43
mihail_bc
Joined: 15 May 2015
#4
i use ext2 because is friendlierwith a ide/ata hdd.

thanks all
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#5
Easy way out that works for me.

Boot antix live
Run gparted.
Unmount internal hard drive partitions you want to check.
Right click in gparted and pick check.

No terminal commands. No mistakes. I have fixed sd corrupted ext2 antix installs on flash drives using this method in the past when I ran AntiX on external SD card on my EEEPCs.

No reason needed to move drive to another unit either. All can be done on affected unit.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#6
mihail_bc wrote:i use ext2 because is friendlierwith a ide/ata hdd.
I don't think this is true. Only use ext2 if you don't mind losing all of your data. I suggest using ext4 even on flash usb sticks where the"internet wisdom" says to use ext2.