Home Linux Community Forums Hardware Storage Linux & Windows Dual boot partitioning question.

Linux & Windows Dual boot partitioning question.

Link to this post 16 Jul 11

I have a question that will hopefully speed up my process of getting my new net-book setup. Due to swap space being a lot faster the closer it is to the front, I started putting the swap partition first, then installing the linux OS, which alone has increased my speed and made my linux operating systems (Ubuntu and Fedora) run much faster and smoother.

This is all fine and dandy, but since I have a dual boot system, I then install windows 7 and come up with the problem i'm sure all you linux gurus are predicting I am about to say, windows wipes out grub from the mbr and Linux appears to be gone, and all I have is windows.

So then I have to re-install linux over the previous partition to have grub loaded once again into the mbr file.

The reason I have been doing it this way, is to make sure my swap space partition is first on my hard drive so that it is used at it's best ability.

Is there a easier way to skip this third step, by simply loading grub again on it's own? I'm sure there is a easier way to do this, and even tho this way is working for me, it is very time consuming.

Suggestions please.

Link to this post 17 Jul 11

Easiest way is to always install Windows first to not mess up the grub.

But as you know the Linux installation is not gone so you can reinstall the grub to fix it (with the Live CD/DVD in a rescue session or with Super Grub Disk):

Link to this post 17 Jul 11

I'll try that next time, thanks.

Link to this post 18 Jul 11

Just use a livecd to chroot to your linux installation and "flash" the grub again to your mbr.

Or use a livecd, partition your hard disk as you'd like it to be, install windows and then linux.

Both things might work :)


Link to this post 15 Jan 13

nice information. thank you for sharing it.


Link to this post 27 Jan 13

Once windows reinstalled , Check reinstall ubuntu bootloader so you would have linux boot loader in MBR

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board