Recovering a baulked system with e2fsck

Recovering a baulked system with e2fsck

Postby Swarfendor437 » Wed Oct 10, 2018 9:09 pm

You come to your computer and boot up - you are greeted with a 'busybox' message and a prompt that starts in brackets '(initramfs)'.

I tried the 'block references' to overwrite existing ones (there are two options) and it did not work. Also an indication of problems will be your root file system showing up as removable media (I thought I had not removed some thumb drives correctly as I have a 32 Gb and 64 Gb). My FerenOS install failed to boot. I recently purchased LXF (not the current magazine) that had FerenOS and Kali Linux - I used the latter in Live Mode to repair my FerenOS install - I will now also need to repair my Zorin Lite 64-bit Ultimate too as this could fail any time soon.

You will be faced with a login in Kali Live - login as 'root' and password of 'toor'.

Next, open a terminal (it will automatically have root permissions - make sure you only have the troubled Drive in place so you get the correct drive.

In the terminal enter:

Code: Select all
e2fsck -y /dev/sdaX


the -y switch tells e2fsck to say yes to all prompts; sdaX refers to your hard drives 'root' partition number - worth making a note of now for future reference by using gparted.

I am now posting this 'How-to' on my restored FerenOS and now taking scheduled SnapShots using TimeShift as added precaution which I hadn't done previously.

:D :D :D

[With acknowledgement to: https://www.cyberciti.biz/faq/can-i-run ... s-mounted/]
https://vimeo.com/user15592214
https://trisquel.info/
https://www.opendesktop.org/member/257685/

Machine: ASUS X470-PRO, AMD Ryzen 7 X1700 8 Core, 16 Gb RAM, nVidia Graphics GT620 (2 Gb)
User avatar
Swarfendor437
 
Posts: 9020
Joined: Wed Sep 18, 2013 5:51 pm

Return to How-tos and Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests