On Wed, 02 Feb 2005, Adil F. Mamedov wrote:

> Hello!
> 
> After my WINDOWS XP crashed, I decided to reinstall it... But I forgot
> that during windows installation it overwrites the MBR. So, instead of
> prompting me for the OS to load (FreeBSD or Windows), the system loads
> Windows. When I found this problem, I have booted my system from the CD,
> then entered Fixit menu, booted the Live File System CD and went to the
> Console at VTY4. Then I did the following:
> 

Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:
[...]
Hi,
the reinstalling of your boot manager is a FAQ:

[...]
3.9 Windows killed my boot manager! How do I get it back?
You can reinstall the boot manager FreeBSD comes with in one of three ways:
  Running DOS, go into the tools/ directory of your FreeBSD distribution and
look for bootinst.exe. You run it like so:
...\TOOLS> bootinst.exe boot.bin and the boot manager will be reinstalled.
  Boot the FreeBSD boot floppy again and go to the Custom installation menu
item. Choose Partition. Select the drive which used to contain your boot
manager (likely the first one) and when you come to the partition editor for
it, as the very first thing (e.g. do not make any changes) select (W)rite.
This will ask for confirmation, say yes, and when you get the Boot Manager
selection prompt, be sure to select ``Boot Manager''. This will re-write the
boot manager to disk. Now quit out of the installation menu and reboot off
the hard disk as normal.
   Boot the FreeBSD boot floppy (or CDROM) and choose the ``Fixit'' menu item.
Select either the Fixit floppy or CDROM #2 (the ``live'' filesystem option)
as appropriate and enter the fixit shell. Then execute the following
command:
Fixit# fdisk -B -b /boot/boot0 bootdevice
substituting bootdevice for your real boot device such as ad0 (first IDE
disk), ad4 (first IDE disk on auxiliary controller), da0 (first SCSI disk),
etc.
[...]

Oliver

>  
> 
> mount /dev/ad0s3a /mnt   -   mount root filesystem
> 
> fdisk -B -b /mnt/boot/boot0 /dev/ad0   -   recover the MBR
> 
>  
> 
> The last command gives me the error: ad0 Permission Denied.
> 
> Note, that my Live File System CD is for the 4.4 Release, but I have 5.3
> Release installed on my system. I don't expect this to be the reason of
> my problem, but anyway, who knows ....
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
... don't touch the bang bang fruit
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to