Difference between revisions of "Repair the Master Boot Record"

From ReactOS Wiki
Jump to: navigation, search
 
(7 intermediate revisions by 3 users not shown)
Line 15: Line 15:
 
Download Super Grub Disk and burn it to a CD or DVD (rewritable preferably) using any software of your choice. Start the computer with the CD in the drive and boot from it. Choose the following items to repair the master boot record:
 
Download Super Grub Disk and burn it to a CD or DVD (rewritable preferably) using any software of your choice. Start the computer with the CD in the drive and boot from it. Choose the following items to repair the master boot record:
  
1. “Super Grub Disk”
+
# ''Super Grub Disk''
 +
# ''Choose Language & Help''
 +
# ''English Super Grub Disk''
 +
# ''Windows''
 +
# ''Fix Boot of Windows''  (''Fix Windows MBR'')
 +
# ''Syslinux''
 +
# Select the hard disk
 +
# Super Grub Disk will complete the request and show ''SGD has succeeded''
 +
# ''Reboot P.C.''
 +
# Remove the CD from the tray and boot from the hard disk.
  
http://reactos.files.wordpress.com/2009/05/01-sgd.png
+
After this, the master boot record will be ready to proceed with the installation of ReactOS without issues.
   
 
2. “Choose Language & Help”
 
 
 
''Help is shown in a clear and simple language.''
 
 
 
http://reactos.files.wordpress.com/2009/05/02-sgd.png
 
   
 
3. “English Super Grub Disk”
 
 
 
http://reactos.files.wordpress.com/2009/05/03-sgd.png
 
     
 
4. “Windows”
 
  
http://reactos.files.wordpress.com/2009/05/04-sgd.png
+
== Using DOS ==
     
+
Typing "FDISK /mbr" will rewrite the MBR on your hard drive; typing "SYS C:" will copy boot files to the C: drive.
5. “Fix Boot of Windows”  (“Fix Windows MBR”)
+
[http://www.reactos.org/forum/viewtopic.php?f=22&t=1410 source]
  
http://reactos.files.wordpress.com/2009/05/05-sgd.png
+
== Using Windows XP ==
 +
*Boot to the Recovery Console
 +
*type "Fixboot c:"
 +
*type "FixMBR"
  
6. “Syslinux”
+
== Using Windows Vista/7 ==
 +
(Need tutorial on using BCDEdit)
  
http://reactos.files.wordpress.com/2009/05/06-sgd.png
+
== ReactOS crash and makeactive of GRUB1 ==
 +
Loading of ReactOS through [[Boot FreeLoader from GRUB|GRUB1]] (so-called "legacy GRUB") with ''makeactive'' flag set, can bring, in case of errors with ReactOS loading to misplaced active partition error: i.e. the active flag set to worng partition, tranforming the formerly working system into inusable one.
 +
To correct this, one may use the (GPL) ''fixparts'' utility
  
7. Choose your hard disk: (you'll recognize it by the size)
+
* [http://www.rodsbooks.com/fixparts/ FixParts tutorial]
 +
* [http://sourceforge.net/projects/gptfdisk/files/gptfdisk/0.8.7/fixparts-binaries/ Download]
  
1 hda sda (hd0) hd0 74GB
+
Commands of interest are 'a' and 'p'
2 hdb sdb (hd1) hd1 8GB
 
 
 
Where options 1 and 2 are your physical hard disks (not the partitions). If you have more HDs they will appear here.
 
 
 
http://reactos.files.wordpress.com/2009/05/07-sgd.png
 
     
 
8. After choosing the hard drive, SGD will show you:
 
 
 
“SGD has succeeded”
 
 
 
http://reactos.files.wordpress.com/2009/05/08-sgd.png
 
     
 
9. “Reboot P.C.”
 
 
 
http://reactos.files.wordpress.com/2009/05/09-sgd.png
 
     
 
10. Stop reading this tutorial and hurry up to remove the CD/DVD from the tray before the computer boots again from it.
 
 
 
After this, the master boot record will be ready to proceed with the installation of ReactOS without issues.
 
  
== Links ==
+
== External links ==
  
 
* Original guide on [http://reactos.wordpress.com/2009/06/04/manual-preparando-el-mbr-para-reactos/ WordPress]
 
* Original guide on [http://reactos.wordpress.com/2009/06/04/manual-preparando-el-mbr-para-reactos/ WordPress]
* [http://www.reactos.org/forum/viewtopic.php?f=22&t=7094 Forum tutorial] (translated by [[User:Gabrielilardi|Gabriel Ilardi]])
+
* [http://www.reactos.org/forum/viewtopic.php?f=22&t=7094 Forum tutorial] (translated by Gabriel Ilardi)
 
* [http://www.supergrubdisk.org/ Super Grub Disk]
 
* [http://www.supergrubdisk.org/ Super Grub Disk]
 
* [http://infrarecorder.org/ InfraRecorder]
 
* [http://infrarecorder.org/ InfraRecorder]
 +
* [https://neosmart.net/wiki/display/EBCD/Recovering+the+Windows+Bootloader+with+EasyBCD  Recovering the Windows Bootloader with EasyBCD (Freeware), 2011 Nov 26]
 +
* [http://www.tweakhound.com/2012/11/13/how-to-fix-the-windows-bootloader/ How To Fix The  Windows Bootloader, 2012-11-13]
  
 
[[Category:Tutorial]]
 
[[Category:Tutorial]]

Latest revision as of 08:21, 15 May 2014

This tutorial intends to show you the steps to repair the master boot record using Super Grub Disk to be able to start FreeLoader. Super Grub Disk is useful to recover GRUB after having installed Windows too.

The Problem

The story starts like this: I wanted to install ReactOS on a hard drive where I had X/K/Ubuntu or your-favorite-distribution, and I had to install LILO or GRUB, I deleted all the partitions, I have made a new one for ReactOS and I suppose the disk is clean, now that I have installed ReactOS I can't start FreeLoader.

http://reactos.files.wordpress.com/2009/06/00-grldrfreeloadergrub.jpg

Due to #2733, ReactOS cannot boot with a boot loader previously installed on the disk.

The Solution

You will first need to ensure your computer is set to boot from the CD drive before the hard drive. This is done by changing the boot sequence in the BIOS settings (refer to your computer manual for information on how to access the BIOS settings). In some motherboards, to start the computer from a CD or DVD, you hit F8 or F11 to enter the menu where you choose where to boot from.

Download Super Grub Disk and burn it to a CD or DVD (rewritable preferably) using any software of your choice. Start the computer with the CD in the drive and boot from it. Choose the following items to repair the master boot record:

  1. Super Grub Disk
  2. Choose Language & Help
  3. English Super Grub Disk
  4. Windows
  5. Fix Boot of Windows (Fix Windows MBR)
  6. Syslinux
  7. Select the hard disk
  8. Super Grub Disk will complete the request and show SGD has succeeded
  9. Reboot P.C.
  10. Remove the CD from the tray and boot from the hard disk.

After this, the master boot record will be ready to proceed with the installation of ReactOS without issues.

Using DOS

Typing "FDISK /mbr" will rewrite the MBR on your hard drive; typing "SYS C:" will copy boot files to the C: drive. source

Using Windows XP

  • Boot to the Recovery Console
  • type "Fixboot c:"
  • type "FixMBR"

Using Windows Vista/7

(Need tutorial on using BCDEdit)

ReactOS crash and makeactive of GRUB1

Loading of ReactOS through GRUB1 (so-called "legacy GRUB") with makeactive flag set, can bring, in case of errors with ReactOS loading to misplaced active partition error: i.e. the active flag set to worng partition, tranforming the formerly working system into inusable one. To correct this, one may use the (GPL) fixparts utility

Commands of interest are 'a' and 'p'

External links