how do i restore the MBR

magomago

Lifer
Sep 28, 2002
10,973
14
76
due to some circumstances, I had to install windows on my laptop for some job related programs that are Windows Only.

So I backed up all my Linux files and then popped in my "Asus Recovery CD" for my Aspire 3620.

It ran perfectly...but now when I restart I go straight to grub and get GRUB ERROR 17.

Welll that is wonderful...the restore CD didn't fix that important part!


Soooo...is there any free microsoft boot CD I can use to fixmbr? I have a recovery DVD and I don't have access to the windows recovery terminal or anything...just a gui that only allows me to "restore" the system to the original settings.

edit:

or if anyone knows how to directly access grub and edit the boot options (i don't have any access to my live cds right now so that hurts me) so I can just use grub to boot to windows that works well
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
Maybe boot with a Linux LiveCD, mount the drive in question, launch GParted, delete all of the partitions, then use the Aspire restore CD.
 

minibubba

Junior Member
Aug 22, 2006
18
0
0
idealy, you should get a normal Windows CD and boot into the recovery console to use 'fixmbr'

you can also get an old bootable DOS floppy and use fdisk to write a new mbr with "fdisk /mbr". IIRC this method isn't compatiable with XP, but it will wipe the MBR clean. If you use this method, you'll likley have to reinstall with your ASUS CD again.

As a side note, if you dont have a floppy drive, you can download a CD iso that will emulate those old DOS floppies.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: n0cmonkey
Download a bootdisk from bootdisk.com or whereever and format /mbr?

Get one of the Windows 98 boot disk, but the command is not format /mbr, it's fdisk /mbr

I remember back in college and upper classman Computer Science major had this same exact issue. I popped in a Win 95 boot disk (already made) typed "fdisk /mbr" and rebooted into Windows. He was like man, I've been trying to figure that out for a week!
 

magomago

Lifer
Sep 28, 2002
10,973
14
76
i'll try that - i do have access to a Win2K recovery cd


btw the "use a live cd to delete everything on the hdd" didn't work now I get a "Error 22" from Grub...
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: magomago
i'll try that - i do have access to a Win2K recovery cd


btw the "use a live cd to delete everything on the hdd" didn't work now I get a "Error 22" from Grub...

What liveCD did you use? When I need to mess with harddrive setup, I use Gparted LiveCD. Not sure though if it can wipe out the mbr.

If you use a Windows 2000 cd, I believe the command is "fixmbr"
 

magomago

Lifer
Sep 28, 2002
10,973
14
76
PCLINUX OS cd....oddly enough I had it laying around


awsome for the win2k command. Lets hope I can get XP to boot with the 2K boot loader..
 

magomago

Lifer
Sep 28, 2002
10,973
14
76
now this is weird...

i did a restore again..

no luck

i did a restor once more...

no luck

i tried one last time for kicks


it works.


who would have thunk I guess 5 is the magic number?
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Originally posted by: magomago
Lets hope I can get XP to boot with the 2K boot loader..
MBR != boot loader.

The MBR code for Windows 2000 and XP is identical. And it's not even very much different than the MBR code used in Win9X. A Windows 98 boot disk should work just as well as an XP one in the vast majority of cases if all you're doing is an fdisk /mbr.

The boot loader code is different between 2000 and XP, but that code resides on the partition itself, not in the MBR or partition table.

 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |