Re: Fixing an Assimilated MBR?

2003-12-26 Thread Dan Strick

 Is there an official way to fix an MBR that has been overwritten such
 that there is still a valid partition table and valid MBR, but not the
 one you want?

   ...

 I was able to rig it back by going into the custom installation option
 and just setting a drive as active and choosing to reload the MBR.
 However, it isn't readily apparent that this is what is happening as
 sysinstall will then complain about different things before rewriting
 the MBR/partition table. However, it does work...

   ...


Check out the boot0cfg command.

You can also use the fdisk command, but I don't know which master
bootstrap program it likes to install.

You probably won't need to reinstall the next level bootstrap program.
The program that would install it for you is called disklabel or
bsdlabel.

If you can't boot the FreeBSD OS that you previously installed, you should
be able to boot your installation media and run these commands in fixit
mode (or whatever it is called these days).  You will need either the fixit
floppy or the live file system CD (...disc2.iso).

Dan Strick
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fixing an Assimilated MBR?

2003-12-25 Thread Ryan Sommers
Is there an official way to fix an MBR that has been overwritten such
that there is still a valid partition table and valid MBR, but not the
one you want?

Like usual upon inserting a Windows CD and booting off it my MBR was
changed to that of the operating system for the CD; leaving me unable to
get to the fancy FreeBSD boot loader I've come to love.

I was able to rig it back by going into the custom installation option
and just setting a drive as active and choosing to reload the MBR.
However, it isn't readily apparent that this is what is happening as
sysinstall will then complain about different things before rewriting
the MBR/partition table. However, it does work...

It would be nice if there was an option in the Custom menu to just
analyze the partition table and allow the user to chooce to (re)install
the boot manager; without being prompted to label.

-- 
Ryan leadZERO Sommers
Gamer's Impact President
[EMAIL PROTECTED]
ICQ: 1019590
AIM/MSN: leadZERO

-= http://www.gamersimpact.com =-


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]