[olug] boot sector

Jonathan Warren thechunk at cox.net
Mon Dec 30 22:36:53 UTC 2002


I do following when mbr overwritten.
Boot slackware cdrom
as root mount root partition ex
mount /mnt /dev/hda3
mount boot partion 
mount /mnt/boot /dev/hda4
chroot /mnt
. /etc/profile
lilo

exit
exit
exit

This fixes problem.  Reinstalls lilo with values found in /etc/lilo.conf.  For this to work need to make sure the mounted filesystems include /sbin/lilo /etc/ /boot ( or wherever kernel images are ).  There are other cds that give root shell / chroot command.  Works wonderfully.   

-Jon

On Mon, Dec 30, 2002 at 04:10:15PM -0600, Jeremy Bettis wrote:
> Don't install lilo or grub to the MBR, install to the boot sector of the
> /boot partition, and mark it as active.  Then when a windows install
> replaces the MBR or active partition all you have to do is set your
> /boot partition active again using dos/windows/linux fdisk.
> 
> Simple!
> 
> --
> Jeremy Bettis, Software Development Manager
> HKS Medical Information Systems, Inc.
> jeremyb at hksys.com
> 
> 
> > -----Original Message-----
> > From: Nate [mailto:tbrownarcher at cox.net]
> > Sent: Monday, December 30, 2002 3:56 PM
> > To: olug at olug.org
> > Subject: [olug] boot sector
> > 
> >  From time to time I have to reinstall windows.  Every time I do this
> > the dual boot affect in the boot sector is inactivated.  I can't get
> > into mandrake linux without using the boot disk.  Is there any way to
> > prevent this or is there and easy way to reactivate the dual boot
> > qualities of the boot sector after I have reinstalled windows.
> > 
> > Thanks,
> >  nate
> > 
> > pleast forgive me if this is sent twice.  I don't see that the first
> one
> > was sent
> > 
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > http://lists.olug.org/mailman/listinfo/olug
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug



More information about the OLUG mailing list