[NTLUG:Discuss] Beginner!!
brian@pongonova.net
brian at pongonova.net
Sun Dec 16 17:36:42 CST 2001
On Sun, Dec 16, 2001 at 05:00:01PM -0600, Matt Caldwell wrote:
> When I wipe my drives, I install winblows first, and let LINUX rewrite it on
> it's install.
> Now if you have created a boot disk, can you rewrite the MBR if windows DOES
> overwrite it?
Sure...just rerun lilo after booting from the boot disk. Or make a backup of the
MBR:
dd if=/dev/hda of=xyz.mbr bs=512 count=1
You can always restore it:
dd if=xyz.mbr if=/dev/hda bs=512 count=1
Always a good idea to back up the MBR, especially before using fdisk. In the
pre-2.2.12 kernels, where there is a problem with fdisk creating partitions > 33G,
fdisk fails rather ungracefully by corrupting the MBR.
--Brian
More information about the Discuss
mailing list