<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 22, 2014 at 9:57 PM,  <span dir="ltr"><<a href="mailto:nikolaigauntiet@estelacm.sld.cu" target="_blank">nikolaigauntiet@estelacm.sld.cu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":d6" class="" style="overflow:hidden">I don't have access to google or internet on my campus.  Here internet is<br>
expensive, so I only have access to the school's email.<br>
<br>
Hi William Scott Lockwood III, you mentioned that i need a backup of my<br>
boot sector, how can I back up my boot sector.  Also is it possible to<br>
have grub control the boot loader instead of the windows default.  I was<br>
thinking I just have to make grub the default loader by telling it where<br>
the Windows partition would be installed.  Also if this is possible can I<br>
get the commands to do it, because I don't have access to internet and<br>
don't have a chance to just search google.</div></blockquote></div><br>Please don't top post. Top posting makes it hard to follow a conversation.</div><div class="gmail_extra"><br></div><div class="gmail_extra">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.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Here's the page and directions. You'll have to modify it somewhat to fit your exact circumstance.</div><div class="gmail_extra"><br></div><div class="gmail_extra">From <a href="https://help.ubuntu.com/community/WindowsDualBoot">https://help.ubuntu.com/community/WindowsDualBoot</a></div><div class="gmail_extra"><h2 id="Master_Boot_Record_backup_and_re-replacement" style="margin:1em 0px 8px;padding:0px;border:0px;font-weight:normal;font-size:24px;line-height:28px;font-family:Ubuntu,'Ubuntu Beta','Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;vertical-align:baseline;color:rgb(51,51,51)">"Master Boot Record backup and re-replacement</h2><span class="" id="line-79" style="margin:0px;padding:0px;border:0px;font-size:13px;line-height:13px;font-family:Ubuntu,'Ubuntu Beta','Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;vertical-align:baseline;color:rgb(51,51,51)"></span><span class="" id="line-80" style="margin:0px;padding:0px;border:0px;font-size:13px;line-height:13px;font-family:Ubuntu,'Ubuntu Beta','Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;vertical-align:baseline;color:rgb(51,51,51)"></span><p class="" style="margin:0px 0px 8px;padding:0px;border:0px;font-size:13px;line-height:1.5;font-family:Ubuntu,'Ubuntu Beta','Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;vertical-align:baseline;color:rgb(51,51,51)">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.<span class="" id="line-81" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span><span class="" id="line-82" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span></p><p class="" style="margin:0px 0px 8px;padding:0px;border:0px;font-size:13px;line-height:1.5;font-family:Ubuntu,'Ubuntu Beta','Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;vertical-align:baseline;color:rgb(51,51,51)">Back-up the existing MBR, install Windows, replace your backup overwriting the Windows boot code:<span class="" id="line-83" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span><span class="" id="line-84" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span></p><ol type="1" style="margin:0px 0px 8px;padding:0px;border:0px;font-size:13px;line-height:13px;font-family:Ubuntu,'Ubuntu Beta','Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;vertical-align:baseline;color:rgb(51,51,51)"><li style="margin:0px 0px 0px 2.4em;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;text-align:left;vertical-align:baseline">Create an NTFS partition for Windows (using fdisk, GParted or whatever tool you are familiar with)<span class="" id="line-85" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span></li><li style="margin:0px 0px 0px 2.4em;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;text-align:left;vertical-align:baseline"><p class="" style="margin:0px 0px 8px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;vertical-align:baseline">Backup the MBR e.g. <tt style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;vertical-align:baseline">dd if=/dev/sda of=/mbr.bin bs=446 count=1</tt><span class="" id="line-86" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span></p></li><li style="margin:0px 0px 0px 2.4em;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;text-align:left;vertical-align:baseline">Install Windows<span class="" id="line-87" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span></li><li style="margin:0px 0px 0px 2.4em;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;text-align:left;vertical-align:baseline"><p class="" style="margin:0px 0px 8px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;vertical-align:baseline">Boot into a <a class="" href="https://help.ubuntu.com/community/LiveCD" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline;color:rgb(221,72,20);text-decoration:none">LiveCD</a><span class="" id="line-88" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span></p></li><li style="margin:0px 0px 0px 2.4em;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;text-align:left;vertical-align:baseline">Mount your root partition in the LiveCD<span class="" id="line-89" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span></li><li style="margin:0px 0px 0px 2.4em;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;text-align:left;vertical-align:baseline"><p class="" style="margin:0px 0px 8px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;vertical-align:baseline">Restore the MBR e.g. <tt style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;vertical-align:baseline">dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1</tt><span class="" id="line-90" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span></p></li><li style="margin:0px 0px 0px 2.4em;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;text-align:left;vertical-align:baseline">Restart and Ubuntu will boot<span class="" id="line-91" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1;font-family:inherit;vertical-align:baseline"></span></li><li style="margin:0px 0px 0px 2.4em;padding:0px;border:0px;font-weight:inherit;font-style:inherit;line-height:1.5;font-family:inherit;text-align:left;vertical-align:baseline">Setup GRUB to boot Windows"</li></ol><div><div class="gmail_signature"><div dir="ltr"><br>--<br>W. Scott Lockwood III<div>GWB2009033817</div></div></div></div>
</div></div>