From owner-freebsd-questions@FreeBSD.ORG Sat Sep 27 15:17:56 2003 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 8E11516A4B3 for ; Sat, 27 Sep 2003 15:17:56 -0700 (PDT) Received: from oughtred.numericable.net (oughtred.numericable.net [80.236.0.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id C92C244031 for ; Sat, 27 Sep 2003 15:17:52 -0700 (PDT) (envelope-from vitalis@numericable.fr) Received: (qmail 8783 invoked from network); 27 Sep 2003 22:17:51 -0000 Received: from unknown (HELO [81.220.77.69]) ([81.220.77.69]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 27 Sep 2003 22:17:51 -0000 From: Vitalis To: questions Content-Type: text/plain Message-Id: <1064701069.604.41.camel@sankukai.ice-age.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sat, 27 Sep 2003 22:17:50 +0000 Content-Transfer-Encoding: 7bit Subject: MBR problem 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: Sat, 27 Sep 2003 22:17:56 -0000 Hello, There are 2 partitions on my hard drive, one for FreeBSD and the other one for XP. I had to reinstall Windows and of course it blew the MBR up. I've reinstalled FreeBSD's boot manager with: boot0cfg -B ad0 Now when I boot, the manager lists the 2 OS, but when I choose to boot FreeBSD, nothing happens. Any idea? #FreeBSD 5.1-CURRENT bash-2.05b# fdisk ad0 ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 63, size 117210177 (57231 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 117210240, size 117226305 (57239 Meg), flag 80 (active) beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: The data for partition 4 is: