Jump to content

repair bootloader after installing Linux


Recommended Posts

Posted

Hello i've installed linux, but I can't set my portable in "sluimerstand" (Hybernate?) so i want to recover back the original bootloader but when i'm inserting die cd/dvd from vista/xp i can't recover.

I've tried serveral bootloader programs.

i've followed these turorial:

http://auscoder.com/2007-05-18/restore-vis...bootloader.html

like in step 3 I can't see any operating system.

I want a failsafe solution before i remove the linux partition

if there are any extra questions, i got to go to class now...

thanx for the help


Posted (edited)
Hello i've installed linux, but I can't set my portable in "sluimerstand" (Hybernate?) so i want to recover back the original bootloader but when i'm inserting die cd/dvd from vista/xp i can't recover.

I've tried serveral bootloader programs.

i've followed these turorial:

http://auscoder.com/2007-05-18/restore-vis...bootloader.html

like in step 3 I can't see any operating system.

I want a failsafe solution before i remove the linux partition

if there are any extra questions, i got to go to class now...

thanx for the help

Pop a Vista cd in, boot from it, in repair mode.

Run the following commands in the commandline:

bootrec /fixmbr

bootrec /fixboot

bootrec /rebuildbcd

This rebuilds the BCD, fixes the MBR, the partition boot sector, hence making the OS show.

Then, in the repair options hit "Startup Repair" and it will copy BOOTMGR to your system partition.

Edited by meh11
Posted

Instead of restoring the Vista bootloader, it'll probably be easier to use a grub4floppy disk (do you have a floppy drive?) to boot Vista using a round-about way.

Basically, instead of loading vista using the bootloader, you get Grub4Dos to call bootmgr.

Download grub4dose and make a boot floppy. Then modify your menu.lst to include:

# Sets colors, timeout before default selected and default value
color black/cyan yellow/cyan
timeout 5
default 0

# Boot Vista by finding and loading bootmgr
title Microsoft Windows Vista
find --set-root /bootmgr
chainloader /bootmgr

This will load Vista without relying on Vista's bootloader.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...