From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 12:31:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 044536EF for ; Mon, 3 Dec 2012 12:31:22 +0000 (UTC) (envelope-from kazakevichilya@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B39DD8FC18 for ; Mon, 3 Dec 2012 12:31:21 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so3081341obc.13 for ; Mon, 03 Dec 2012 04:31:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/nW1Wn5zAGCGuHCma+IW94JTObQsygeQ5ix2nC3fBU4=; b=gE5jrgE3q9Pc1H3kVB915bGlPJZwlR7siki5HaklPb+DJBvN/NNFhNAvlLmcGwoYvA OZA/MyGHj4kQh8p/sV0gr426ez05Rl80OxY+DiFWtP4cbvXsr6G8l0tyw69MmUxTjnMV CztyWlQcdpi4+9lZWxGKLNETnUW++0BuNlNV/TXyeC3W6qsutJSyVOpsOMxGJdeU7p3q Yx49w74u/8JONt42Y0NwRiAnOuLXJlwoogmOxOOMZkNNHrXCbNNKETA5VMQEYj1BIAmB JpnUSRdpyjzH/41f4VAIqZT5MCFFzcjdbagT8UM1zzkRB0lMcT9QjE3B8bE8pv/NG6Q3 JN2w== MIME-Version: 1.0 Received: by 10.182.18.165 with SMTP id x5mr4279930obd.73.1354537880942; Mon, 03 Dec 2012 04:31:20 -0800 (PST) Received: by 10.60.38.104 with HTTP; Mon, 3 Dec 2012 04:31:20 -0800 (PST) In-Reply-To: <50BC0325.2080203@a1poweruser.com> References: <50BC0325.2080203@a1poweruser.com> Date: Mon, 3 Dec 2012 16:31:20 +0400 Message-ID: Subject: Re: dual boot winxp & 9.1-rc3 From: Ilya Kazakevich To: Fbsd8 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions 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, 03 Dec 2012 12:31:22 -0000 On Mon, Dec 3, 2012 at 5:40 AM, Fbsd8 wrote: > On an old 20gb hard drive I first installed winxp on the first half of the > HD. winxp booted fine. Then I installed 9.1-rc3 on the second half of the > HD. Now when I boot the HD I only get 9.1-rc3. Winxp created mbr and > installed winxp into first dos partition. 9.1-rc3 uses bsdinstall which > uses gpart to create the slice as gpart show displays as see below... > > => 63 39862305 ada0 MBR (19G) > 63 19928097 1 ntfs (9.5G) > 19928160 19933137 2 freebsd [active] (9.5G) > 39861297 1071 - free - (535k) > > => 0 19933137 ada0s2 BSD (9.5G) > 0 18933760 1 freebsd-ufs (9.0G) > 18933760 995328 2 freebsd-swap (486M) > 19929088 4049 - free - (2M) > > Now I want to add BSD dual boot to the MBR. > Is this all I need? > > fdisk -B -b /boot/boot0 ada > > Yes, you should install "bootmanager" (boot0) to the MBR of your HDD. You probably better use boot0cfg (man boot0cfg ) BTW you could also use windows boot manager (fetch MBS and configure boot.ini to work with it) but boot0 is, probably, better. Ilya.