From owner-freebsd-questions@FreeBSD.ORG Mon May 13 17:00:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D894A745 for ; Mon, 13 May 2013 17:00:26 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mout.gmx.net (mout.gmx.net [74.208.4.201]) by mx1.freebsd.org (Postfix) with ESMTP id A8FD791C for ; Mon, 13 May 2013 17:00:26 +0000 (UTC) Received: from blazon-pc.rw.local ([78.84.232.174]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0LfSiF-1U9CyQ28F7-00p5wr for ; Mon, 13 May 2013 18:55:15 +0200 Message-ID: <51911AF5.702@mail.com> Date: Mon, 13 May 2013 19:55:17 +0300 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121030 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Bootloader/Replace GRUB References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:/RFmFliQApZVzWLaCVWGtCGxOUu+Y08xE8D00ncamqSgWR0e2w7 suhJrIjawCRJZunjZqSdWiX3JMBjcMkJeNWVNogaaMw+VFQfkG16VF2fCHa0s3RTvMKcL1D eEXaDlT9JX7veud5fyLWt3biTztmXOG3SvYIDNEKYrLE02QHFdpneISNacSurHNjFhENsMF M77kP6uB3C4di6UDZoBNA== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 17:00:26 -0000 On 05/13/2013 19:41, Louis Ciotti wrote: > Hello, > > I replaced a Linux partition on my laptop with FreeBSD. Now it will not > but giving me an GRUB error. I assume I have to remove/replace GRUB, as I > will want to dual boot this with a windows partition. > > So being the FreeBSD newbie that I am I am stumped on what to do to correct > this. > > Thanks, > > Lou > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hi, If it's an MBR partition, you can boot from a live CD (or installation CD and choose "Live CD"), log in as root and: /sbin/gpart bootcode -b /boot/boot0 ada0 where ada0 is the HDD device. (Check gpart man page for more examples and parameters) This will create a simple boot selector where you can choose between Windows/FreeBSD. There's also grub and grub2 in the ports but I've not tried. -Jeff