<font face="courier new,monospace">you may install a grub on your usb-driver. And boot from usb-driver, you would see grub2. you can boot your linux using grub~ then reinstall grub to bootmbr with command "grub-install".</font><div>
<font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">you can find more information from Google or something else.</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><ol><li><font class="Apple-style-span" face="'courier new', monospace">mount usb-driver just like this: mount /dev/sdb /media/usboot</font></li>
<li><font class="Apple-style-span" face="'courier new', monospace">install grub2 to usb-driver: grub-install --root-directory=/media/usboot /dev/sdb</font></li><li><font class="Apple-style-span" face="'courier new', monospace">install your win8</font></li>
<li><font class="Apple-style-span" face="'courier new', monospace">set BIOS to boot from your usb-driver</font></li><li><font class="Apple-style-span" face="'courier new', monospace">into grub shell: <br>
>set root=(hd1,msdos3) #may be some else, it is partition "/boot" in.<br>
>linux /boot/vmluz root=/dev/sda3 #or something else which is "/" partition<br>>initrd /boot/initrd.img #using tab, you can find it<br>>boot</font></li><li><font class="Apple-style-span" face="'courier new', monospace">then you boot into your linux system.</font></li>
<li><font class="Apple-style-span" face="'courier new', monospace">install grub with grub-install command #like step 2</font></li><li><font class="Apple-style-span" face="'courier new', monospace">update your grub with command update-grub</font></li>
</ol><div><div><br><div class="gmail_quote">On Thu, Oct 20, 2011 at 10:16 PM, Jacob Mansfield <span dir="ltr"><<a href="mailto:cyberjacob@gmail.com">cyberjacob@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Hi all,<div>I recently received a copy of the developer preview of windows 8, through the company that I work with. I had planned to install this later today, but just realised that it would kill off GRUB completely.</div>
<div>How would I go about re-installing it, and thus restoring my access to ubuntu?<br><div>
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div style="word-wrap:break-word">
thanks<br>--</div><div>regards,<br>Jacob Mansfield<br><a href="mailto:jacob.mansfield@itvet.co.uk" target="_blank">jacob.mansfield@itvet.co.uk</a><br>Project Manager, ITVET Ltd.</div></span>
</div>
<br></div></div><br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div style="text-align:right"><font color="#00CCCC" face="'comic sans ms', sans-serif" size="1"> 这个世界不会因为没有你而失去什么</font></div>
<div style="text-align:right"><font color="#00CCCC" face="'comic sans ms', sans-serif" size="1">但是,却有可能因为你的存在而发生一些改变。。</font></div><br>
</div></div></div>