From owner-freebsd-questions@FreeBSD.ORG Mon Mar 19 21:32:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE033106566B for ; Mon, 19 Mar 2012 21:32:35 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 734B48FC12 for ; Mon, 19 Mar 2012 21:32:35 +0000 (UTC) Received: by iahk25 with SMTP id k25so14046862iah.13 for ; Mon, 19 Mar 2012 14:32:35 -0700 (PDT) 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=nhpd1SJzoooZmyHv4U2N+Q8dLtWws2f1R6MnGSexYro=; b=C0YsLUV9ZklD7tBZCUhSUvrpFG+DQjRhwixJ0hdUPJqMLJvoRYuZ/LoyOOUtkjXSzz wYQAHCJL9paaHrLud9JugXkL4fLNHwXTGBa0lItO+W/7ZbhUX+mK6JEyTUfBWpg4GS4G RDcrv75XPQHjd9gQhsaZnpy8JPdCJH6fWP6rZKnm759X41DMW28Gfo0RtejEnfP6Ddk4 vW5UrkEIw2FnFJicCv25aoJOyQ6sr/L92yDTxw95ZF3XZoFf4sYuf3Dujbndqx4XxQK3 2F3t9iWpR+FzfmP8dk9m4DFj3WrKmSWwGCQXrOa/MjBycn+AXpDg0hVXl/zp9VJuJTrJ Vg/w== MIME-Version: 1.0 Received: by 10.50.179.71 with SMTP id de7mr7104376igc.73.1332192754958; Mon, 19 Mar 2012 14:32:34 -0700 (PDT) Received: by 10.50.91.134 with HTTP; Mon, 19 Mar 2012 14:32:34 -0700 (PDT) In-Reply-To: <4F6770ED.1030708@gmail.com> References: <4F665C46.9060800@gmail.com> <20120319072852.21ae5030.freebsd@edvax.de> <4F66E052.5020406@gmail.com> <20120319084929.2d42449b.freebsd@edvax.de> <4F66E5EB.5080508@herveybayaustralia.com.au> <4F6764A0.9080405@eskk.nu> <4F6770ED.1030708@gmail.com> Date: Mon, 19 Mar 2012 21:32:34 +0000 Message-ID: From: krad To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Dualboot with Windows 7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 21:32:35 -0000 On 19 March 2012 17:46, David Demelier wrote: > On 19/03/2012 17:53, Leslie Jensen wrote: >> >> >> >> 2012-03-19 08:53, Da Rock skrev: >>> >>> On 03/19/12 17:49, Polytropon wrote: >>>> >>>> On Mon, 19 Mar 2012 08:29:22 +0100, David Demelier wrote: >>>>> >>>>> On 19/03/2012 07:28, Polytropon wrote: >>>>>> >>>>>> On Sun, 18 Mar 2012 23:05:58 +0100, David Demelier wrote: >>>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I try to create a dualboot with Windows 7, I set up partitions like >>>>>>> that : >>>>>>> >>>>>>> ada0s1 -> NTFS (windows recovery) >>>>>>> ada0s2 -> NTFS (windows main partition) >>>>>>> ada0s3 -> BSD >>>>>>> ada0s3a -> freebsd-swap (3G) >>>>>>> ada0s3b -> freebsd-ufs / (remaining space from drive) >>>>>> >>>>>> Erm... according to traditional partitioning, isn't >>>>>> the 'a' partition reserved for booting, 'b' for swap? >>>>>> I see you have installed everything into one / partition >>>>>> which technically is no problem and should work, but >>>>>> it's not on the boot partition. >>>>>> >>>>>> >>>>> You're right, but I made a mistake while writing, my a partition is / >>>>> and b is swap. >>>> >>>> Okay. >>>> >>>> >>>> >>>>>>> And then I let the installer complete the step, because FreeBSD >>>>>>> didn't >>>>>>> let you (since 9.0) choose between the boot manager nothing was >>>>>>> installed and the boot directly goes to Windows 7. >>>>>> >>>>>> You need to install all the required stages for booting. >>>>>> If I understand the process correctly, the slice 's3' needs >>>>>> code to "branch" to the boot partition (which is supposed >>>>>> to be the 'a' partition), and the boot selector needs to >>>>>> be accessed from the "beginning of the disk" - you said >>>>>> you're using EasyBCD for this which is okay. >>>>>> >>>>>> >>>>> I followed the part 13.3.2 from >>>>> >>>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html >>>>> >>>>> >>>>> >>>>> I think this should be enough, isn't it? it says bsdlabel -B will >>>>> replace the boot1 and boot2 stage so all of them are installed. >>>> >>>> Looks correct. >>>> >>>> >>>> >>>>> Now the question is how to branch the a partition as the "boot >>>>> partition" ? >>>> >>>> No need. As soon as the "branching" from ada0-"start" -> ada0s3 >>>> has been processed, the 'a' partition ada0s3a will be accessed >>>> as it is the boot partition. It will then continue stage 1 and 2 >>>> and finally access the loader, which will load the kernel. >>>> >>>> In 13.3.2 it is explained as follows: >>>> >>>> They [Stage One, /boot/boot1, and Stage Two, /boot/boot2] >>>> are located outside file systems, in the first track of >>>> the boot slice, starting with the first sector. This is >>>> where boot0, or any other boot manager, expects to find >>>> a program to run which will continue the boot process. >>>> The number of sectors used is easily determined from the >>>> size of /boot/boot. >>>> >>>> In your case, the "boot slice" (for FreeBSD) is ada0s3 where the >>>> boot manager EasyBCD will "branch" to. >>>> >>>> Getting just a cursor (as you described) makes it hard to >>>> identify where the process hangs. If EasyBCD is the last >>>> thing you see, I assume the FreeBSD boot process isn't even >>>> initiated. Every part of it (MBR boot manager, boot0, boot1, >>>> boot2 and loader) would issue some kind of text when accessed. >>> >>> I couldn't say exactly how to do this now (been a looooong time), but >>> you should be able to boot using the Windows loader (this may have >>> changed in recent editions. Don't think so though). This will give you a >>> choice between Windows or FreeBSD and defaults, timers, etc during boot. >>> Used to be able to do it under system properties I believe; run a google >>> search should provide some examples. >> >> >> >> Using EasyBCD you must ensure that your Windows partition has the boot >> flag set. >> >> /Leslie >> >> >> >> >> >> >> >> >> >>> _______________________________________________ >>> 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" >> >> _______________________________________________ >> 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" > > > I reinstalled using the auto scheme, by adding a partition now it works. > Thanks for your answers! > > Cheers, > > -- > David Demelier > > _______________________________________________ > 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" have you tried fdisk -B ada0 to install the bsd bootloader?