[NTLUG:Discuss] Lost boot Loader

Terry Henderson trryhend at gmail.com
Tue Nov 2 23:18:39 CST 2004


On Mon, 1 Nov 2004 21:42:27 -0600, Terry Henderson <trryhend at gmail.com> wrote:
> On Mon, 1 Nov 2004 22:05:15 -0500, Pervaz Allaudin <pervaza at yahoo.com> wrote:
> > If it just getting into Linux - I have a knoppix cd also.
> >
> > Should it not be same differnce to boot knoppix and issue the command:
> > grub-install.
> > right?
> >
> > Thanks
> > Pervaz
> >
> >
> Did you try using Fedora Core2 install disk, (CD#1)?
> Try this:
> Boot to CD1
> hit F2
> Type in:
>   linux rescue
> hit ENTER
> Follow directions to enter "rescue" mode, (basically just hit ENTER
> few times). After it's done booting to command line,
> Type in:
>   chroot /mnt/sysimage
> hit ENTER
> type in
>   grub-install
> hit ENTER
> Remove CD
> type in
>   reboot
> hit ENTER
> 
Or:
Download: 
ftp://ftp.slackware.com/pub/slackware/slackware-10.0/bootdisks/bare.i
&
ftp://ftp.slackware.com/pub/slackware/slackware-10.0/rootdisks/rescue.dsk
Burn images to 1.44mb floppy disks (2ea)
Boot to bare.i
(hit enter when "boot:" prompt comes up)
Switch to rescue.dsk when / as instructed & hit ENTER
Login as root
Follow instructions for mounting and chrooting your root filesystem:
i.e.  [issue commands]:
mount /dev/hda6 /mnt -o
chroot /mnt /bin/bash
/sbin/e2fsck -v -v -y /dev/hda6

(Above commands assume your root filesystem is on partition hda6,
adjust as needed)

Now you should be able to issue command:
grub-install
or
/sbin/grub-install
or 
lilo
or
/sbin/lilo

reboot

(don't forget to remove floppy disk)



More information about the Discuss mailing list