Jump to content

repair bootloader after installing Linux


honda4life

Recommended Posts

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

Link to comment
Share on other sites


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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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