From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 09:42:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39AA974C for ; Sat, 27 Oct 2012 09:42:44 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 07A8C8FC08 for ; Sat, 27 Oct 2012 09:42:43 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so2572178pad.13 for ; Sat, 27 Oct 2012 02:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=MFy9xhk4K2EgfwSNILhrbjdWO7vIRK0pQzyKIatF2SA=; b=DDuwakHjqCBJmEBObpr5cLh6iv9ElhmmMZ1a3167U6mbKl+/Y7zfNMbYF6kCj4iNyh qZDS5j773Ayfhhw/FKPSoGgi+c5P+29j7/kpSBJCjuEgO5N1RtihAVbtxbLJWMjzifS1 bFKOY2kziq+6FijWAz9Kgb7h+6/ogRxymg31+F479chx+zBtU/qF3DAGYPk/9hQkreb4 gQMsijD4DpJqqtP3ms3p71lBNzzBd6817srS/kYEojEsribonDNWiVgGr2a8wTVGyt3l UZT/ocVDYwUKJV2Rn3/s1LJ8P/IEOFcjFlaekmaA5MRhlX4/4vtBGZQ/IrAo8ebEHa9j Ss9w== Received: by 10.68.226.136 with SMTP id rs8mr77364143pbc.153.1351330963524; Sat, 27 Oct 2012 02:42:43 -0700 (PDT) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id ni3sm2588612pbc.2.2012.10.27.02.42.41 (version=SSLv3 cipher=OTHER); Sat, 27 Oct 2012 02:42:42 -0700 (PDT) Message-ID: <508BAC7E.5090406@gmail.com> Date: Sat, 27 Oct 2012 02:42:22 -0700 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121015 Thunderbird/16.0.1 MIME-Version: 1.0 To: Yuri Subject: Re: How to boot FreeBSD and linux from FreeBSD MBR? References: <508B6D9D.9050103@rawbw.com> In-Reply-To: <508B6D9D.9050103@rawbw.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 09:42:44 -0000 On 10/26/12 22:14, Yuri wrote: > When I installed ubuntu on another partition, it overwrote BSD MBR > with grub one. > Now grub boots ubuntu without even asking what to boot. > When I tried to restore BSD MBR, BSD boots but linux doesn't. This is > because there is no bootable PBR in linux partition. > When I tried to install grub into PBR on its own partition, like > someone online suggested, it refused with the message that this is > dangerous, etc. > > So is there a way to boot both linux and BSD from BSD MBR (by pressing > F2 or whatever)? > Are there quick instructions anywhere? > I just don't want grub to take over the boot process. > > Yuri > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > This means you have grub2. It is slow as molasses and has to be the mbr. You could chainload freebsd's partition under a separate entry, like Windows The partition bootcode for FreeBSD will boot it from there. You can also boot loader or kernel directly from grub, your choice. Matt