Re: problem with re-installing grub



faeychild wrote:
sandorf wrote:

Last night I needed to recover my Ubuntu after re-intalling Windows.
Basically I followed the instructions on this page:


https://wiki.ubuntu.com/RecoveringUbuntuAfterInstallingWindows?highlight=%28install%29%7C%28windows%29

But here's my problem:
At the first time I ran "setup (hd0, 2)" ((hd0,2) is my Ubuntu
partition), with no luck. The computer still booted with Windows as
before. Grub was not there. So I followed the process again, this
time using "setup (hd0)" instead. But it seemed that the command
ruined the MBR and the computer couldn't boot from any of the
systems afterwards.

How can I get my OSs back? I just followed the instructions and had
no idea what was happening. Please explain to me what I had done.
Thanks a lot!
I have not done this, I keep promising myself that I should test it,
but the instructions look kosher to me.

You may have to give a blow by blow description of what you did, what
you typed and the responses you got, before anyone can help.

I'd use a Knoppix live CD to mount your old Ubuntu partitions, do a
"chroot", and rebuild your MBR.


.



Relevant Pages

  • Re: Windows Update and Other Products...
    ... Here it finds the MBR with only about 400 bytes of code plus 64 bytes of partition table, ... The primitive instructions at that point say to find the first physical sector of that partition and load it into memory, then jump to the beginning of that code and start executing those instructions. ... The boot sector code on a WinXP system ends with a final instruction to find a file named NTLDR - with no extension - which must be in the Root of the System Partition because the computer doesn't know how to look anywhere else at that point. ... NTLDR knows how to look in that same Root directory and find NTDETECT.COM and Boot.ini, which point the way to the beginning breadcrumb to start loading Windows. ...
    (microsoft.public.windows.vista.general)
  • Re: No Help Index
    ... but in order to do the instructions of the first ... > Error "Cannot locate merged.hhk" when clicking the Help and Support Center ... >> partition are in the wrong order. ... >> before WinXP Pro was installed. ...
    (microsoft.public.windowsxp.general)
  • Re: Re-format external hard drive from FAT32 to NTFS
    ... FAQ section and another set of instructions in the online User's Manual ... How to format a FAT32 drive to an NTFS format in Windows 2000/XP ... Delete the existing FAT32 partition. ... Personal preference is to use Disk Management. ...
    (microsoft.public.windowsxp.general)
  • Re: Re-format external hard drive from FAT32 to NTFS
    ... FAQ section and another set of instructions in the online User's Manual ... How to format a FAT32 drive to an NTFS format in Windows 2000/XP ... Delete the existing FAT32 partition. ...
    (microsoft.public.windowsxp.general)
  • Re: Re-format external hard drive from FAT32 to NTFS
    ... FAQ section and another set of instructions in the online User's Manual ... How to format a FAT32 drive to an NTFS format in Windows 2000/XP ... Delete the existing FAT32 partition. ...
    (microsoft.public.windowsxp.general)