[CLUE-Tech] Stump the stiffs III: Wrecked MBRs (grub)
David Anselmi
anselmi at americanisp.net
Fri Aug 30 17:27:44 MDT 2002
Lynn Danielson wrote:
> Just another note about lilo. Every time it writes a boot sector
> it copies the prewrite version of that sector, typically to a file
> called /boot/boot.0300. This file can be used to restore the
> previous boot sector using lilo with the -u switch, kind of like
> running fdisk /mbr in DOS.
The boot.0300 file gets written only if it doesn't already exist. So
the first time you install lilo, your old (DOS, maybe?) boot sector gets
saved. Then you can use lilo -u to uninstall.
If you make many changes to lilo.conf while you're testing something,
you could move this file each time. But it seems easier to just do your
testing using a floppy mbr. Or put your good mbr on a floppy and test
on your hard drive. Then you just swap boot devices if your test
doesn't work.
Dave
More information about the clue-tech
mailing list