help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recovering win7


From: squareyes
Subject: Re: recovering win7
Date: Sun, 13 Jan 2013 13:18:11 +1030
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

On 13/01/13 10:40, Chris Murphy wrote:
On Jan 12, 2013, at 3:30 PM, squareyes <address@hidden> wrote:

On 12/01/13 19:17, squareyes wrote:
<snip>
Thanks everyone,
have checked out sites mentioned, but unfortunately I don't have
a win7 cd, only the "backup" discs, would be no problem if I did.:-)
I would have thought that by recovering with them would format the drive anyway,
but that's microsoft anyway. Will try and borrow a winxp cd and try try recover 
mbr from it.
You can boot almost any linux live cd that as syslinux on it, and use dd to 
write its mbr bootloader to your disk with:

dd if=/usr/share/syslinux/mbr.bin of=/dev/sdb

That's a 440 byte file that will exactly replace grub's jump code, with the 
conventional code that looks at the partition table to know where to jump to. 
The first sector of the partition with active flag (boot flag) set, is where 
this code will go. So as long as you have the proper active flag set for the 
Windows boot partition, this will work. From there it loads the Windows 
bootloaders.

Chris Murphy
Thanks for that, will give that a try.
Have purchased a copy of "Easy RE for win7" , but that doesn't work,
it does go past the  "error: no such partition" but remains a black screen,
have used gparted from live ubuntu 12.04 and made sure the boot flag
was ticked, formatted and tried both fat32 and ntfc but getting frustrated, have 2 machines (this one ) and the laptop, only one monitor, so am frequently shutting down and re-booting on both machines, swapping monitor over. so will have to write instructions down long hand, and my handwriting isn't exactly a work of art.

Thanks again
Take care
Winton


Thanks again fingers are crossed



reply via email to

[Prev in Thread] Current Thread [Next in Thread]