fsck on encrypted dual boot systems

6r555

New Member
Joined
May 25, 2020
Messages
10
Reaction score
0
Credits
65
Hello,
I have some questions regarding fsck:

Does it make a difference if I use fsck on an encrypted or unencrypted partition? What do I have to take into account when I use fsck on a Linux/Windows dual boot system? Is fsck generally safe to use or could it damage the system in some cases?
 


well you usually run fsck on a partiton eg


fsck.ext4 /dev/sda3 -v -y

since Linux and windows will be on different partitions so you won't be running fsck on both at same time.

Also generally partitions need to be unmounted (*) so one approach is to run fsck from a live Linux OS on a usb stick.

For windows last time i looked it was dosfsck.

the best way to run fsck without it doing harm is just :

fsck -v /dev/sdax

where -v is verbose it will just give output so try it on encypted and see if it complains. It might take a while and should output if issues...


* according to my notes i see something slackware:
init 1

# telinit 1 ..etc

yes just tried it ;although my main install is on /dev/sda3 therefore you would think , how can you do anything if your your main install partition is unmounted ? i was able to drop to run level 1 , unmount /dev/sda3 and run fsck without harm and get answer "clean" thats Linux for you !
 
Last edited:

Members online


Top