Edit windows MBR from linux?

GhOsT

Member
Hey guys,
Is it possible to edit the vista/7 MBR from Linux. I need to run the equivalent of:
bcdedit /set {default} device partition=c:
bcdedit /set {default} osdevice partition=c:
bcdedit /set {bootmgr} device partition=c:


any help is appreciated. Thanks guys.
 
Hi Ghost,

You are trying edit BCD , which is registry hive. It probably can be done with a Linux based registry editor for windows - but is not very straightforward and I wouldn't recommend attempting it.

The MBR is something different.

You do not have to do "recovery" from the oddly named recovery disc. You can boot to the command prompt, do the commands - and that's all.
 
He doesnt mean use startup repair or system restore Ghost. He means click on command prompt from recovery options menu using the recovery disc so you get a Windows enviornment to work from and run the bcdedit commands there. There's no Linux tool that edits the Windows BCD.
 
Back
Top