From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 06:29:54 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EFD716A4CE for ; Wed, 2 Feb 2005 06:29:54 +0000 (GMT) Received: from ns1.risk.az (ns1.risk.az [62.212.231.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E968243D49 for ; Wed, 2 Feb 2005 06:29:52 +0000 (GMT) (envelope-from AdilM@risk.az) Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Wed, 2 Feb 2005 10:22:24 +0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with booting freebsd Thread-Index: AcUI74+XenO/KZraSf+G7od5VKKM+w== From: "Adil F. Mamedov" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Problem with booting freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 06:29:54 -0000 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: =20 mount /dev/ad0s3a /mnt - mount root filesystem fdisk -B -b /mnt/boot/boot0 /dev/ad0 - recover the MBR =20 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 ....