Results 1 to 10 of 1202

Thread: Wubi megathread

Threaded View

  1. #11
    Join Date
    Jul 2012

    Re: Wubi megathread

    Having had multiples of NTLDR, MBR, GRUB issues, a repair is fairly easy once inside of the Windows environment. Please download MBRFIX from Scroll down until you see MbrFix. The download link is on the right side of it's container and just looks like text "DOWNLOAD".

    NOTE: Make sure you have administrative rights or are running this binary as the Administrator. You may want to turn off User Account Control in your user settings so you do not get blocked from running it. Sometimes it does it, some times not.

    The archive contains both 32 and 64 bit binaries for the utility and using 64bit over 32bit makes absolutely no difference. I usually place mine in C:\Windows\System32 (Windows bin folder) and that makes it immediately available as a system command;
    There is documentation online here or you can just type
    into a Windows command prompt and you will get this command information output with all the command switches;
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    MbrFix.exe      Copyright (C) 2004-2009 Systemintegrasjon AS
    MbrFix /drive <num> { command } { /yes } { /verbose }
    MbrFix /?                                  Display help page and license
    MbrFix /drive <num> driveinfo              Display drive information
    MbrFix /drive <num> drivesize              Returns size in MB as return value
    MbrFix /drive <num> listpartitions         Display partition information
    MbrFix /drive <num> savembr <file>         Save MBR and partitions to file
    MbrFix /drive <num> restorembr <file>      Restore MBR and partitions from file
    MbrFix /drive <num> fixmbr {/vista|/win7}  Update MBR to W2K/XP/2003 (default),
                                               Vista or Windows 7
    MbrFix /drive <num> clean                  Delete all partitions on drive
    MbrFix /drive <num> readsignature {/byte}  Read disk signature from MBR
    MbrFix /drive <num> generatesignature      Generate disk signature in MBR
    MbrFix /drive <num> writesignature <bytes> Write disk signature in MBR
    MbrFix /drive <num> readstate              Read state from byte 0x1b2 in MBR
    MbrFix /drive <num> writestate <state>     Write state to byte 0x1b2 in MBR
    MbrFix /drive <num> readdrive <startsector> <sectorcount> <file>
                                               Save sectors from drive to file
    MbrFix /drive <num> /partition <part> fixbootsector <os>
                                               Update Boot code in boot sector
    MbrFix /drive <num> /partition <part> getpartitiontype
                                               Get partition type
    MbrFix /drive <num> /partition <part> setpartitiontype <typenum>
                                               Set partition type
    MbrFix /drive <num> /partition <part> setactivepartition
                                               Set active partition
    MbrFix /drive <num> getactivepartition     Get active partition
    MbrFix volumeinformation driveletter       Get volume information for partition
    MbrFix flush {driveletter(s)}              Flush files to disk for partition
    MbrFix listpartitiontypes                  List partition types
    So to fix your first drive, open a command prompt from Start>All Applications>Accessories>Command Prompt and type;
    mbrfix /drive 0 fixmbr
    This will correct the master boot record for that drive. I have never had an issue with it, nor any damaging effect, only corrected boot records.
    I hope this helps anyone in need.
    Last edited by moseley; January 8th, 2013 at 03:55 PM.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts