how to write our own grub mbr

From: yogesh (ypjofficial_at_indiatimes.com)
Date: 09/19/03


Date: 19 Sep 2003 01:19:43 -0700

hello all,
i have installed win98 ,win2000 and red hat linux on my 40 GB pIV
system.
i partitioned all the necessary drives with the help of partition
magic.
few days back , the partion magic informed me that there is some
problem with some particualr sectors and i need to check it.
so i did and in the process the mbr (grub) was erased. i don't know
how but it happened.
and while next booting the system was unable to show me the boot
manager though it showed the grub commnad prompt.
well then i booted the system from win 98 bootable floppy and restored
the dos mbr by 'fdisk/mbr' but in the process i lost the access to
linux since there is no grub.
so my question is how can i boot linux ? i know its still there on my
system with all the data intact.(to make the things more complex.... I
don't have the linux bootable floppy but i have the knoppix CD)???

also is there any way to write our own mbr ???

regds,
yogesh joshi



Relevant Pages

  • Re: Grub did not install on dual boot machine.
    ... why did you "install" Linux on a FAT16 partition. ... See below re: grub. ...
    (comp.os.linux.setup)
  • Re: Does DriveImage 7 include the MBR in its image of a primary partition?
    ... LILO in MBR and image the various versions of the MBR to go ... If you will have just one Microsoft OS and linux, ... third-party boot manager that has the ability to ... Besides, the master boot sector also contains the master partition table, so ...
    (microsoft.public.windowsxp.general)
  • Re: grub-install seems to be wiping my partitions
    ... Windows, and then, it's generally just to finally ... up to date and then get back to Linux, ... partition that Linux was on. ... Suddenly grub gave me the error 22, ...
    (Fedora)
  • Re: [opensuse] /boot
    ... http://en.opensuse.org/Bugs/grub spells out, a HD0 primary partition for Grub ... otherwise) generally makes no matter for / or any other native partition. ... The usual Linux way (boot loader on MBR) is no less rude than the common ...
    (SuSE)
  • Re: Dedicated Grub2 partition
    ... for a system with just one linux OS and 1 windows. ... is a master at grub dedicated partitioning. ... I find there is no need for separate partitions for ... But I do have a separate partition mounted ...
    (Ubuntu)