Does Linux grub replace Windows MBR?

by Vivek Gite on September 7, 2007 · 3 comments

Q. I’m willing to try out Ubuntu Linux but my question is Does Linux grub replace Windows MBR? Can I dual boot between Windows and Linux system?

A. Yes when you install GRUB on first partition, windows MBR get replaced. In most cases GRUB automatically adds an entry for Windows XP / Vista so that you can enjoy dual booting out of box after Ubuntu Linux installation.

In case if you made any mistakes while performing Linux installation you can restore GRUB.

I recommend making a backup of all important data / files before making any changes to MBR / file system or operating system or Ubuntu Linux installation.

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 3 comments… read them below or add one }

1 Gagan Brahmi September 10, 2007

You need to make sure that while installing the Linux on the machine you leave a part of the drive unassigned. Once you are at the installation screen, you will see the unassigned partition where you can install the Linux. During the course of installation Grub will ask you the default OS that is to be booted, you can select the value. Generally, the windows os is not recognized so Grub will read it as “Others” which can be named later on in the /boot/grub/grub.conf file.

Reply

2 vivek September 11, 2007

Gagan,

Thanks for contributing valuable notes. I appreciate your feedback.

Reply

3 warl0ck September 13, 2007

I suppose people have misunderstood, if you install
grub on your *hard disk*, The MBR of the disk
is replaced by grub and not the Windows MBR, if you
install grub on a windows partition then it will
overwrite the windows MBR. Remember

Bios –> Hard Disk (MBR) –> MBR Finds the active partition (0×80) –> Loads the boot loader at sector
0 of the active partition and passes control.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 9 + 4 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: