tag:blogger.com,1999:blog-881693953213020623.post8671872623689555865..comments2023-08-04T12:03:00.257+01:00Comments on Ubuntu Extreme: HOW TO: Re-install GRUB after windows wipes it outAbhiroophttp://www.blogger.com/profile/12607627018518429920noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-881693953213020623.post-60527424161356339122010-09-02T13:51:32.816+01:002010-09-02T13:51:32.816+01:00Before reinstalling Windows, just copy the Boot Se...Before reinstalling Windows, just copy the Boot Sector in Linux and put if back afterwards.<br />1. dd if=/dev/sda of=boot.bin bs=512 count=1<br />2. then install windows<br />3. use a Linux live CD to boot linux again<br />4. dd if=boot.bin of/dev/sda bs=512 count=1<br />5. rebootDave Marshnoreply@blogger.comtag:blogger.com,1999:blog-881693953213020623.post-42935579905489004042009-08-25T01:24:05.421+01:002009-08-25T01:24:05.421+01:00You have to type
quit
to exit from grub prompt...You have to type<br />quit<br />to exit from grub prompt...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-881693953213020623.post-30865109544494998212009-05-06T23:48:00.000+01:002009-05-06T23:48:00.000+01:00Thanks for pointing that out, but I don't want to ...Thanks for pointing that out, but I don't want to over-complicate the guide. If this does not work for someone then they are welcome to comment on it. Again thanks for pointing it out!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-881693953213020623.post-53500437603090623272009-05-06T23:20:00.000+01:002009-05-06T23:20:00.000+01:00In Step 2
>find /boot/grub/stage1
Depending on ...In Step 2<br />>find /boot/grub/stage1<br />Depending on the result (ex: (hd0,4))<br />>root (hd0,4)<br />>setup (hd0)<br />>quitAnonymousnoreply@blogger.com