[NTLUG:Discuss] Boot Sector problem
Terry
trryhend at gmail.com
Wed Apr 5 12:48:39 CDT 2006
If I'm wrong about Mandrake 10.1 having / using GRUB, (and it has Lilo instead):
Make sure something like:
other=/dev/hda1
optional
label=Win98
is in your /etc/lilo.conf file and then run command:
lilo
On 4/5/06, Terry <trryhend at gmail.com> wrote:
> On 4/5/06, Terry <trryhend at gmail.com> wrote:
> > On 4/5/06, Terry <trryhend at gmail.com> wrote:
> > > On 4/5/06, Terry <trryhend at gmail.com> wrote:
> > > > Use Mandrake's rescue mode, (hopefully on install CD#1), to boot up
> > > > your Mandrake system and do it from there.
> > > >
> > >
> > > And then:
> > > If I'm not mistaken, Mandrake 10.1 used Grub and so...
> > > To install the GRUB boot loader on your drive you should use the utility
> > > grub-install
> > >
> >
> > Information from grub info:
> >
> > Once started, GRUB will show the command-line interface (*note
> > Command-line interface::). First, set the GRUB's "root device"(1)
> > (*note Installing GRUB natively-Footnote-1::) to the boot directory,
> > like this:
> >
> > grub> root (hd0,0)
> >
> > If you are not sure which partition actually holds these files, use
> > the command `find' (*note find::), like this:
> >
> > grub> find /boot/grub/stage1
> >
> > This will search for the file name `/boot/grub/stage1' and show the
> > devices which contain the file.
> >
> > Once you've set the root device correctly, run the command `setup'
> > (*note setup::):
> >
> > grub> setup (hd0)
> >
> > This command will install GRUB on the MBR in the first drive.
> >
> >
>
> In order to have the Win98 system as an option to boot, you'll need
> to see a section simular to this:
>
> title Win98
> rootnoverify (hd0,0)
> chainloader +1
>
> in your /boot/grub/menu.lst file.
>
>
> >
> >
> > > (This is assuming the GRUB application is already been installed on
> > > your system - and it more than likely has been, as long as you
> > > finished the install process to that point and only left off writing
> > > the boot loader to the MBR of your hard drive.)
> > >
> > > > On 4/5/06, Pervaz Allaudin <pervaza at yahoo.com> wrote:
> > > > > I managed to erase my boot record while trying to switch from Fedora 2 to Mandrake 10.1 on my old dual system. On top of that that all the CDs are erroring out due to crc error so I cannot do another reinstall. So both windows 98 and Linux are dead in the water.
> > > > >
> > > > > I am able to boot with Knoppix and did find the grub-install command; My problem is Knoppix gives a read only error and I am not too sure what my non-knoppix hda1&2 is mapped on.
> > > > >
> > > > > I tried both - There is /knoppix/dev/had1&2 and a dev/hda1&2 somewhere also if I am not mistaken. had2 was by FD2 /boot and hda1 my windows 98.
> > > > >
> > > > > So the question is how can I get my boot loader back into my hard drive?
> > > > >
> > > > > Also should I put it on had1 - the windows system - which I think I had previously?
> > > > > The web pages where I checked warned against going into the MBR and went for longer procedure of copying the boot file while into window etc.
> > > > >
> > > > > Any help will be greatly appreciated.
> > > > >
> > > > > Thanks in advance
> > > > >
> > > > > Pervaz
> > > > >
> > > > >
> > > > > ---------------------------------
> > > > > Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
> > > > > _______________________________________________
> > > > > http://ntlug.pmichaud.com/mailman/listinfo/discuss
> > > > >
> > > >
> > > >
> > > > --
> > > > <><
> > > >
> > >
> > >
> > > --
> > > <><
> > >
> >
> >
> > --
> > <><
> >
>
>
> --
> <><
>
--
<><
More information about the Discuss
mailing list