Jump to content

Vista, need help with boot sector, MBR or something like that...


brjoon1021
 Share

Recommended Posts

Hi,

I am dual booting Linu and Vista 64 on my laptop. My HP laptop came with Vista, of course, and it also had a recovery partition. I burned the recover partiton to DVDs. I made a small partition for GRUB just before the Vista NTFS partition, shrunk and moved the Vista partion. GRUB would see Vista as "/dev/hda2" because the small partition that I am going to put GRUB in would be seen as "/dev/hda1". The data is in the Vista partition still, I can look at all the files with my Linux Live CD, but it won't boot. I have heard that Vista has its own partition table or something like that... anyway, can you help me fix whatever I have to fix to get Vista to boot?

I repeat, I did not lose, break or delete the Vista OS or its partition. It is still on the disk, just not where it originally was. For some reason, the bootloader does not see it now. That is the help that I need.

thanks

B.

Link to comment
Share on other sites

A few questions.

What did you use to alter the partitions.

Assuming you are using IDE drives, are you sure it is seeing Vista as /dev/hda2, as it should be /dev/hda1 and GRUB should be on /dev/hda0

I do not use Vista, these thought are from a dual boot with XP.

You will be able to see the Vista drive from a live Cd as it runs in memory not from the hard-drive

Link to comment
Share on other sites

I found this on another forum, I hope it is of help to you.

Windows Recovery Environment (Windows RE)

For all versions of Vista

You can use the Bootrec.exetool in the Windows Recovery Environment (Windows RE) to troubleshoot and repair the following items in Windows Vista:

• A master boot record (MBR)

• A boot sector

• A Boot Configuration Data (BCD) store

Note When you are troubleshooting startup issues by using the Windows RE, you should first try the Startup Repair option in the System Recovery Options dialog box. If the Startup Repair option does not resolve the issue, or if you must troubleshoot more steps manually, use the Bootrec.exe tool.

To run the Bootrec.exe tool, you must start Windows RE. To do this, follow these steps:

1. Put your Windows Vista installation disc in the disc drive, and then start the computer.

2. Press a key when you are prompted.

3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.

4. Click Repair your computer.

5. Click the operating system that you want to repair, and then click Next.

6. In the System Recovery Options dialog box, click Command Prompt.

7. Type “Bootrec.exe”, (without the quotes) and then press ENTER.

Note: To start the computer from your Windows Vista DVD, your computer must be configured to start from the DVD drive

Bootrec.exe options

The Bootrec.exe tool supports the following options. Use the option that is appropriate for your situation.

/FixMbr

The /FixMbr option writes a Windows Vista-compatible MBR to the system partition. This option does not overwrite the existing partition table. Use this option when you must resolve MBR corruption issues, or when you have to remove non-standard code from the MBR.

/FixBoot

The /FixBoot option writes a new boot sector to the system partition by using a boot sector that is compatible with Windows Vista. Use this option if one of the following conditions is true.

· The boot sector has been replaced with a non-standard Windows Vista boot sector.

• The boot sector is damaged.

• An earlier Windows operating system has been installed after Windows Vista was installed. In this scenario, the computer starts by using Windows NT Loader (NTLDR) instead of Windows Boot Manager (Bootmgr.exe).

/ScanOs

The /ScanOs option scans all disks for installations that are compatible with Windows Vista. Additionally, this option displays the entries that are currently not in the BCD store. Use this option when there are Windows Vista installations that the Boot Manager menu does not list.

/RebuildBcd

The /RebuildBcd option scans all disks for installations that are compatible with Windows Vista. Additionally, this option lets you select the installations that you want to add to the BCD store. Use this option when you must completely rebuild the BCD.

Note: If rebuilding the BCD does not resolve the startup issue, you can export and delete the BCD, and then run this option again. By doing this, you make sure that the BCD is completely rebuilt. To do this, type the following commands at the Windows RE command prompt:

• bcdedit /export C:\BCD_Backup

• c:

• cd boot

• attrib bcd -s -h -r

• ren c:\boot\bcd bcd.old

• bootrec /RebuildBcd

Note: If you are running a RAID array, if this does not help and you are recieving errors. Check in your BIOS and make sure the BIOS did not convert back to IDE. Vista needs to see the compleate MBR, In a RAID setup the MBR is split between two drives.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy