need to run fsck

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
ckosloff
Posts: 503
Joined: 2011-12-29 15:08
Location: South Florida, USA

need to run fsck

#1 Post by ckosloff »

Need to run fsck to fix some pesky errors but since I cannot unmount sda1 I need to boot from some external media, I tried to use the netinst iso cd in rescue mode but it threw errors.
So I need to start troubleshooting from the very beginning by checking the md5sum, i know how to use the command on downloaded file, but I cannot find what is the correct output in the debian webiste.
Please help by positing a link.
Thank you,
CK

User avatar
ckosloff
Posts: 503
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: need to run fsck

#2 Post by ckosloff »

I checked the sha256sum and it matches so error is not there

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 1142
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 120 times
Been thanked: 198 times

Re: need to run fsck

#3 Post by wizard10000 »

You can try using forcefsck - as root:

Code: Select all

touch /forcefsck
If the kernel sees this file on boot it will force a filesystem check.

Worth a shot -
we see things not as they are, but as we are.
-- anais nin

User avatar
ckosloff
Posts: 503
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: need to run fsck

#4 Post by ckosloff »

I did give it a shot but SOL.
There is a curious issue, this camputer (Toshiba Satellite Pro) can boot to BIOS by repeatedly pressing F2 and is has options
to boot from optical disk and USB.
I tried to get to it to boot from netinst iso, in order to get the shell I had to get to rescue mode first but it started throwing errors.
I checked the file with sha256sum and it matches with the expected output in Debian website so the image I got is good.
I burned with K3b with option to verify written data, it passed.
More on this later, sorry I'm exhausted.

Post Reply