Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2012 16:31:20 +0400
From:      Ilya Kazakevich <kazakevichilya@gmail.com>
To:        Fbsd8 <fbsd8@a1poweruser.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: dual boot winxp & 9.1-rc3
Message-ID:  <CAHv=rM0=HGM5s8uVs0Lv10Mcr_7aJ2ChcgAiOnoUtV6tJtfDoQ@mail.gmail.com>
In-Reply-To: <50BC0325.2080203@a1poweruser.com>
References:  <50BC0325.2080203@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 3, 2012 at 5:40 AM, Fbsd8 <fbsd8@a1poweruser.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHv=rM0=HGM5s8uVs0Lv10Mcr_7aJ2ChcgAiOnoUtV6tJtfDoQ>