• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Dual Boot Vista/Linux

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

ZedBias

Member
Joined
Apr 2, 2003
Location
UK
Hey all, just after a bit of help dual booting vista(SP1) with Ubuntu (v8.04.1).

Basiclly, I had vista installed first on main HD, shrunk the partition by 30GB to make way for the Ubuntu installation.
Installed Ubuntu on the newly made 30GB, the installion went perfect without any errors.
However at the end of the installation it asked to remove CD and reboot, which I did, but after the reboot the machine booted straight in to vista and I cant seem to boot into Ubuntu.

I have read up a fair bit on GRUB but am not 100% thats what I need, do I just need to amend the MBR in vista (I tought Ubuntu installation would have done this TBH), if so how do I do this?

Slightly confused:confused:

Thanks in advance.

Z
 
biosboy, thanks for the reply.

The guide you gave made sense but was aimed more toward fedora so I did a google for "install grub to mbr ubuntu" and came across this:

http://ubuntuforums.org/showthread.php?t=224351

So booted into linux using the CD followed the guide in the above link, rebooted and now the GRUB menu apears BUT. . . When I click on linux or vista I get "No such partition exists" for linux and "missing bootmgr" for vista.

Have I screwd up the MBR?

I can still boot in to windows and linux from CD so its OK, just annoying lol.

Thanks again.
 
no you havent screwed up your mbr

what you need to do is go into linux and in a terminal type
Code:
 sudo fdisk -l
this will spit out a bunch of stuff here is what mine looks like

Code:
/dev/sda1   *           1        1581    12699351    7  HPFS/NTFS
/dev/sda2            7954       10507    20515005   83  Linux
/dev/sda3            1582        7953    51183090    b  W95 FAT32
/dev/sda4           10508       19457    71890875    5  Extended
/dev/sda5           10508       14356    30917061   83  Linux
/dev/sda6           19019       19457     3526236   82  Linux swap / Solaris
/dev/sda7           14357       19018    37447483+  83  Linux

Notice the NTFS is at sda1 which is my windows partition for grub this translates into the number zero

so my /boot/grub/menu.lst looks like this
Code:
title           Microsoft Windows XP Professional
root            (hd0,0)
savedefault
makeactive
chainloader     +1

so you just have to adjust the second number (assuming you have only 1 hd) to go one number back from whatever the fdisk -l showed you

so if your windows drive is on say sda4 then your grub would be
Code:
 hd(0,3)
 
Grub must be installed on the mbr of the first disk that the bios boots. It does not matter if this is a windows or linux install. To add to the mbr, you write grub to sd0, hd0, sd1, hd1, etc. (i.e. no second number... no sd0,1 or hd1,0... that writes to a partition, not to the mbr).

Vista and all other MS products are incapable of booting non-MS OS's. GRUB can boot just about anything.
 
Back