View Full Version : [ubuntu] Help! Corrupted my MBR with Ubu 9.04?

April 23rd, 2009, 05:35 PM

I have a Vista x64 partition and just installed Ubuntu 9.04 to a separate partition. I didn't resize anything, but did click yes to overwriting the MBR.

The problem is that Vista has disappeared from the boot menu when I restart the computer. I've tried inserting the Vista disk to repair this, but it doesn't detect Vista in the first place. Please help!

Thanks in advance..

April 23rd, 2009, 06:10 PM
Figured it out. Will post again later to explain incase anyone has the same problem.

April 23rd, 2009, 06:12 PM
Post the output of:

sudo fdisk -l

It will list all the partitions on you machine.

April 23rd, 2009, 09:33 PM
$ sudo fdisk -l
Unable to seek on /dev/sda
Maybe that's related to my RAID 0 setup? Also seems to prevent mounting of the windows partition.

Otherwise the MBR problem was resolved by: -

1. sudo gedit /boot/grub/menu.lst

2. Inserting the following before the 3 Ubuntu options and after "## ## End Default Options ##": -

title Vista 64-bit
root (hd0,2)
chainloader +1
Overall, Ubuntu is really impressive. Last time I used Linux was ~10 years ago (Slackware) and things have come a really long way. Unfortunately, the software I rely on for work (e.g. Invitrogen Vector NTI 11, Graphpad Prism 5, Adobe InDesign / Illustrator CS4) are not WINE compatible. Sweet OS though =)