From owner-freebsd-questions@FreeBSD.ORG Sun Jun 27 04:07:37 2004 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 6E07916A4CF for ; Sun, 27 Jun 2004 04:07:37 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.244]) by mx1.FreeBSD.org (Postfix) with SMTP id 5D5A143D54 for ; Sun, 27 Jun 2004 04:07:37 +0000 (GMT) (envelope-from thatha@gmail.com) Received: by mproxy.gmail.com with SMTP id x43so338379cwb for ; Sat, 26 Jun 2004 21:07:32 -0700 (PDT) Received: by 10.38.181.47 with SMTP id d47mr135356rnf; Sat, 26 Jun 2004 21:07:32 -0700 (PDT) Message-ID: Date: Sun, 27 Jun 2004 14:07:32 +1000 From: Gautam Gopalakrishnan To: Dancho Penev In-Reply-To: <20040626171145.GB900@freebsd.vmware.dpsca.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20040626171145.GB900@freebsd.vmware.dpsca.bg> cc: freebsd-questions@freebsd.org Subject: Re: Unable to boot FreeBSD (dual-boot) 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: Sun, 27 Jun 2004 04:07:37 -0000 On Sat, 26 Jun 2004 20:11:45 +0300, Dancho Penev wrote: > On Sun, Jun 27, 2004 at 12:25:24AM +1000, Gautam Gopalakrishnan wrote: > >I have a dual boot with Windows 2000 (ad0s1 is windows, ad0s2 is > >FreeBSD 5.2.1). I trashed a working dual-boot somehow. Now the > >problem is, I get the boot menu listing both Windows and FreeBSD, > >but only Windows boots (with F1). Pressing F2 for FreeBSD just > >gives a beep.I booted from the fixit cd and ran the commands seen > >in the handbook: > > > ># fdisk -B -b /hd/boot/boot0 /dev/ad0 > ># disklabel -B -b /hd/boot/boot0 /dev/ad0s2 > > For label use /boot/boot file, /boot/boot0 is for mbr. > > > > >/hd is the temporary directory I created to mount /dev/ad0s2a, > >so I guess my slice is still ok. Does not help! I even tried "disklabel -B /dev/ad0s2" because a diff between /hd/boot/boot and /boot/boot on the fixit yielded nothing. # disklabel /dev/ad0s2 lists the various partitions properly. I do have an MBR because I get a boot menu. Just can't get the MBR to talk to boot1 and boot2... Gautam