Bypassing GRUB

Discussion in 'Software' started by insamaic, Jun 10, 2006.

  1. insamaic

    insamaic Guest

    Hey,

    I dual booted a few months ago and used GRUB to choose which OS i'd like to boot on restart.

    But recently I started my pc up and it says GRUB Error, GRUB loading.... Error 22

    Or something similiar. It may be because I deleted my Ubuntu Partition.

    Is there anyway I can bypass GRUB or remove it to get back to Windows?
     
  2. Shadow_Puter_Dude

    Shadow_Puter_Dude MG Authorized Malware Fighter

    FIXBOOT from the recovery console should fix this problem; the fixmbr command may also be neccessary.

    FIXBOOT Instructions

    [FONT=Bitstream Vera Sans,sans-serif]1. To start the computer and use the Recovery Console to replace the boot sector[/FONT] [FONT=Bitstream Vera Sans,sans-serif]Insert the Windows XP Professional Setup CD-ROM into the CD-ROM drive. [/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]
    2. Restart the computer. If prompted to press a key to start the computer from the CD-ROM, press the appropriate key.
    [/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]
    3. When the text-based part of Setup begins, follow the prompts. Press the R key to repair a Windows XP Professional installation.
    [/FONT]
    FIXBOOT Instructions
    [FONT=Bitstream Vera Sans,sans-serif]4. If you are repairing a system that has more than one operating system installed, from the Recovery Console choose the Windows XP Professional installation that you need to repair. [/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]
    Note:
    [/FONT]
    • [FONT=Bitstream Vera Sans,sans-serif]If you press ENTER without typing a number, the Recovery Console quits and restarts the computer. [/FONT]
    • [FONT=Bitstream Vera Sans,sans-serif]The Recovery Console might also show valid installations of Windows NT 4.0. However, the results of attempting to access a Windows NT 4.0 installation can be unpredictable.[/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]
    5. When prompted, type the Administrator password. If you do not have the correct password, or if the security database for the installation of Windows XP Professional that you are attempting to access is corrupted, Recovery Console does not allow access to the local disks and you cannot replace the boot sector. [/FONT]

    [FONT=Bitstream Vera Sans,sans-serif]
    6. To replace the boot sector, at the Recovery Console command prompt, type:
    [/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]fixboot [drive:][/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]if you do not specify a drive letter, the Recovery Console replaces the boot sector of the system volume. If you need to replace the boot sector of a volume that is not the system volume, then you must specify the appropriate drive letter.[/FONT] Replacing the Boot Sector


    FIXMBR Instructions

    [FONT=Bitstream Vera Sans,sans-serif]You must repair the MBR if it becomes corrupted and you can no longer access any volumes on that disk.[/FONT]
    • [FONT=Bitstream Vera Sans,sans-serif]Use the Recovery Console. You can use the fixmbr command in Recovery Console to repair the MBR. You can start Recovery Console by booting from the Windows XP Professional operating system CD; so this troubleshooting method is available even if Windows XP Professional does not start in normal or safe mode. However, you cannot use Recovery Console to repair partition tables that were damaged by viruses or other corruption.[/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]Using the Recovery Console to Replace the MBR[/FONT]


    [FONT=Bitstream Vera Sans,sans-serif]You can use the fixmbr command in Recovery Console to rewrite the MBR to resolve a corrupted MBR on a startup disk. However, running fixmbr overwrites only the master boot code, leaving the existing partition table intact. If the corruption in the MBR affects the partition table, running fixmbr might not resolve the problem.[/FONT]

    [FONT=Bitstream Vera Sans,sans-serif]Caution[/FONT]
    • [FONT=Bitstream Vera Sans,sans-serif]Use this command with care because it can damage your partition table if any of the following apply: [/FONT]
      • [FONT=Bitstream Vera Sans,sans-serif]A virus is present and a third-party operating system is installed on the same computer. [/FONT]
      • [FONT=Bitstream Vera Sans,sans-serif]A nonstandard MBR is installed by a third-party disk utility. [/FONT]
      • [FONT=Bitstream Vera Sans,sans-serif]A hardware problem exists.[/FONT]
    • [FONT=Bitstream Vera Sans,sans-serif]It is recommended that you run antivirus software before you use the fixmbr command.[/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]To start the computer and use the Recovery Console to replace the MBR[/FONT]

    [FONT=Bitstream Vera Sans,sans-serif]1. Insert the Windows XP Professional Setup CD-ROM into the CD-ROM drive.[/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]
    2. Restart the computer. If prompted to press a key to start the computer from the CD-ROM, press the appropriate key.[/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]
    3. When the text-based part of Setup begins, follow the prompts. Press the R key to repair a Windows XP Professional installation.[/FONT][FONT=Bitstream Vera Sans,sans-serif]

    4. If you are repairing a system that has more than one operating system installed, from the Recovery Console choose the Windows XP Professional installation that you need to repair.

    [/FONT] [FONT=Bitstream Vera Sans,sans-serif]Note[/FONT]
    • [FONT=Bitstream Vera Sans,sans-serif]If you press ENTER without typing a number, the Recovery Console quits and restarts the computer. [/FONT]
    • [FONT=Bitstream Vera Sans,sans-serif]The Recovery Console might also show valid installations of Windows NT 4.0. However, the results of attempting to access a Windows NT 4.0 installation can be unpredictable.[/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]5. When prompted, type the Administrator password. If you do not have the correct password, or if the security database for the installation of Windows XP Professional you are attempting to access is corrupted, Recovery Console does not allow access to the local disks and you cannot repair the MBR.[/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]
    6. To replace the MBR, at the Recovery Console command prompt, type:
    [/FONT]
    [FONT=Courier New,monospace][FONT=Courier New,monospace][FONT=Bitstream Vera Sans,sans-serif]fixmbr[/FONT][/FONT][/FONT]
    [FONT=Bitstream Vera Sans,sans-serif]Verify if you want to proceed. Depending upon the location and the cause of the corruption within the damaged MBR, this operation can cause the data on the hard disk to become inaccessible. Press the Y key to proceed, or press the N key to cancel.[/FONT]
     
  3. insamaic

    insamaic Guest

    Does it matter that I have XP Home?
     
  4. Shadow_Puter_Dude

    Shadow_Puter_Dude MG Authorized Malware Fighter

    Same for both Home and Pro
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds