SFC /scannow remove Dual Boot?

Deleted member 398281

Well-Known Member
OP
Newcomer
Joined
Aug 15, 2016
Messages
95
Trophies
0
Location
Somewhere you don't know
XP
244
Country
Netherlands
Hey guys,
Last night I started my pc from standby (windows 7) and I saw it was running an sfc scan. I dunno why this happened, but I let it go and when it was done it told me that there were corrupted files found and it will try to fix them on the next reboot.
Problem is, I'm afraid that these "Corrupted System Files" are actually the boot manager replaced by GRUB... I'm running Ubuntu alongside windows, and I don't like windows to repair it's full boot manager and not letting me boot in Ubuntu anymore.
I managed to get the log file from %windir%\logs\CBS\CBS.log, and it's attached to this post.
Will it overwrite the boot manager, and if so, is there a way to prevent it from repairing on boot?
Not going to restart my laptop before that :/
I changed the CBS.log to CBS.txt to upload it here, but it will still show the same content.
Thanks in advance!
 

Attachments

  • CBS.txt
    1,011.5 KB · Views: 392
Last edited by Deleted member 398281,
D

Deleted User

Guest
If it does it on boot, then it's probably a BIOS firmware which is doing that.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,252
Trophies
4
Location
Space
XP
13,805
Country
Norway
Hey guys,
Last night I started my pc from standby (windows 7) and I saw it was running an sfc scan. I dunno why this happened, but I let it go and when it was done it told me that there were corrupted files found and it will try to fix them on the next reboot.
Problem is, I'm afraid that these "Corrupted System Files" are actually the boot manager replaced by GRUB... I'm running Ubuntu alongside windows, and I don't like windows to repair it's full boot manager and not letting me boot in Ubuntu anymore.
I managed to get the log file from %windir%\logs\CBS\CBS.log, and it's attached to this post.
Will it overwrite the boot manager, and if so, is there a way to prevent it from repairing on boot?
Not going to restart my laptop before that :/
I changed the CBS.log to CBS.txt to upload it here, but it will still show the same content.
Thanks in advance!
If you're using UEFI you can simply add the grub efiboot file to the Windows boot manager and you won't have to deal with that.
If you're not using UEFI I seem to recall EasyBCD has an option to install a grub4dos boot manager that will let you boot back into Linux. The last option is booting a Linux live CD and reinstalling grub from there.
 

Deleted member 398281

Well-Known Member
OP
Newcomer
Joined
Aug 15, 2016
Messages
95
Trophies
0
Location
Somewhere you don't know
XP
244
Country
Netherlands
It told me something like this:
"There are corrupted system files found, but not all of them can be repaired."
and a few lines later:
"the changes for repairing the sytem file will not be applied until the next reboot."
I'm not a computer master, but it seems strange to me this has something to do with the BIOS.
EDIT: And... How do I check if my system has UEFI or not without rebooting into the BIOS? For example, if it DOES overwrite bootmgr, it is too late to change anything to grub, because it is probably already overwritten. I had a few times with windows that it just skipped GRUB when installing updates...
I already tried searching for the setupact.log file, but apparently I don't have it.
 
Last edited by Deleted member 398281,

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,076
Country
United States
Even if it does overwrite GRUB fixing it is a walk in the park. All you need is an Ubuntu Live USB to boot from, and do the following (assuming that your Ubuntu partition is sdb).

Code:
mount -t ext4 /dev/sdb1 /mnt 
grub-install /dev/sdb
grub-mkconfig -o /mnt/boot/grub/grub.cfg

Modify this accordingly if your partition letter and filesystem is different.
 
  • Like
Reactions: Deleted User

Deleted member 398281

Well-Known Member
OP
Newcomer
Joined
Aug 15, 2016
Messages
95
Trophies
0
Location
Somewhere you don't know
XP
244
Country
Netherlands
I just rebooted, and it didn't overwrite GRUB. However, after reboot, I runned another SFC scan (manual this time) and it left EXACTLY the same log file, except for the timestamps, where the milliseconds only were the same. Always knew Windows was a bit crazy sometimes, but just copying a log file and editing the timestamp hours, mins and secs only...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: For real for real