windows kernel modification repair (recovery boot loop)

DEL %windir%\system32\drivers\oem-drv64.sys
DEL %windir%\system32\xNtKrnl.exe
DEL %windir%\system32\xOsLoad.exe

attrib -r -h -s \boot\bcd

ren \boot\bcd bcd.old

 

DEL «%windir%\System32\ru-RU\xOsLoad.exe.mui»
DEL «%windir%\System32\en-US\xOsLoad.exe.mui»
%windir%\System32\BCDEDIT.exe /set {current} path \Windows\system32\winload.exe
%windir%\System32\BCDEDIT.exe /deletevalue {current} kernel
%windir%\System32\BCDEDIT.exe /deletevalue {current} nointegritychecks
%windir%\System32\BCDEDIT.exe /deletevalue {current} custom:26000027
REG DELETE HKLM\SYSTEM\CurrentControlSet\services\oem-drv64 /va /f

Filesystem check with DSM5

vgdisplay

> syno_poweroff_task -d
> vgchange -ay
> fsck.ext4 -pvf -C 0 /dev/vg1000/lv

If you get the message “UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY”, try :

> fsck.ext4 -yvf -C 0 /dev/vg1000/lv

 

 

preluat de pe https://forum.synology.com/enu/viewtopic.php?t=83186

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.