How to install windows 7 next to ubuntu (William Scott Lockwood III)

William Scott Lockwood III scott at
Tue Dec 23 05:17:31 UTC 2014

On Mon, Dec 22, 2014 at 9:57 PM, <nikolaigauntiet at> wrote:

> I don't have access to google or internet on my campus.  Here internet is
> expensive, so I only have access to the school's email.
> Hi William Scott Lockwood III, you mentioned that i need a backup of my
> boot sector, how can I back up my boot sector.  Also is it possible to
> have grub control the boot loader instead of the windows default.  I was
> thinking I just have to make grub the default loader by telling it where
> the Windows partition would be installed.  Also if this is possible can I
> get the commands to do it, because I don't have access to internet and
> don't have a chance to just search google.

Please don't top post. Top posting makes it hard to follow a conversation.

If you don't have your original boot sector, then you will likely need to
boot from a live CD and mount your exiting installation, and rerun the grub
install to get it back. Once you have done that, use dd to back up your
boot sector to a file. You can use that to boot into Linux.

Here's the page and directions. You'll have to modify it somewhat to fit
your exact circumstance.

"Master Boot Record backup and re-replacement

This method does not work for computers with UEFI boot. In consequence, it
won't work for pre-installed Windows8 and some pre-installed Windows7.

Back-up the existing MBR, install Windows, replace your backup overwriting
the Windows boot code:

   1. Create an NTFS partition for Windows (using fdisk, GParted or
   whatever tool you are familiar with)

   Backup the MBR e.g. dd if=/dev/sda of=/mbr.bin bs=446 count=1
   3. Install Windows

   Boot into a LiveCD <>
   5. Mount your root partition in the LiveCD

   Restore the MBR e.g. dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1
   7. Restart and Ubuntu will boot
   8. Setup GRUB to boot Windows"

W. Scott Lockwood III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list