From owner-freebsd-questions@FreeBSD.ORG Wed Nov 26 18:43:00 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F27F40F for ; Wed, 26 Nov 2014 18:43:00 +0000 (UTC) Received: from mail-vc0-x229.google.com (mail-vc0-x229.google.com [IPv6:2607:f8b0:400c:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D716F2F for ; Wed, 26 Nov 2014 18:42:59 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id hy10so1547408vcb.28 for ; Wed, 26 Nov 2014 10:42:59 -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=php0yWQE6GSs9Xda9FYZyjKaFjur1GTmLr1IJnXvg2Y=; b=ndXhPPPpdETn36x4A/VEW6Ml/CuTLztry4yNzgajdzeSn8AUsMU6N06hUMxyo78vFD SwO5ATuibPvcbShxwhUlDmJrvy7lv+pjfm3Af+2o5/V6iRvaKPg4e6ED0BKY3jOGWVTf ejTCTEWDnwfGJczA3TmXOk9H1XdBuYZty3atCrhUxeQWE9a5/gyd7KH0J/kqPnM2sz5s WXE+oRG/nITMAdg5ATFPWbYLZ72WhmJcPXaCmemwP1oZwvB3398wABnMO2cIoNtfOVF5 eeIp34phrbKvQVjySzpg5gkiTJFvcKPY1nW0T7w0Qf3c/51LmVh1Lqngj9LswAtOdM7Q vxGA== MIME-Version: 1.0 X-Received: by 10.220.181.1 with SMTP id bw1mr18642221vcb.66.1417027378891; Wed, 26 Nov 2014 10:42:58 -0800 (PST) Received: by 10.31.137.17 with HTTP; Wed, 26 Nov 2014 10:42:58 -0800 (PST) In-Reply-To: References: Date: Wed, 26 Nov 2014 10:42:58 -0800 Message-ID: Subject: Re: Fwd: Reinstalling Windows from a corrupt FreeBSD install From: Mike Starr To: Warren Block Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2014 18:43:00 -0000 In response to boot0cfg -B ada0 I got the error boot0cfg: Unable to get providername for ada0 How do you recommend transferring the EasyBCD thing to the FreeBSD laptop? Boot from a CD with the software burnt onto it? And for VirtualBox, that would be on the non-corrupt laptop I'm currently running off of, if I'm getting everything right here? On Wed, Nov 26, 2014 at 9:26 AM, Warren Block wrote: > On Wed, 26 Nov 2014, Mike Starr wrote: > > *Geom name: ada0* >>> *Scheme: MBR* >>> *Providers:* >>> 1. >>> ada0s1 >>> 1.5G >>> type: !39 >>> >>> 2. >>> ada0s2 >>> 581G >>> ntfs (windows?) >>> >>> 3. >>> ada0s3 >>> 338G >>> ebr >>> >>> 4. >>> ada0s4 >>> 11G >>> FreeBSD >>> >> > This is an MBR partitioning scheme. The first slice is probably a utility > or recovery partition for Windows, and Windows is installed in the second > slice. > > The third slice is an "extended" partition. There might be subpartitions > inside it. Let's ignore that, it will not matter to FreeBSD. > > *Geom Name: ada0s4* >>> *Scheme: BSD* >>> *Providers:* >>> 1. >>> ada0s4a >>> 10G (I thought this was where I installed FreeBSD...) >>> FreeBSD-ufs >>> 2. >>> ada0s4b >>> 561M >>> FreeBSD-swap >>> >> > This is a normal FreeBSD install in the fourth slice. The slice is > divided into a 10G data filesystem partition and a 561M swap partition. > > I tried the boot0cfg -B -m 0xf command but it didn't work. But I see what >>> you're trying to do--not so change the BIOS (each slice or Geom has its >>> own?), but to change the boot manager (so you can choose which Geom to >>> load >>> from). I don't know what the difference between a provider and a >>> consumer >>> is. I'll poke around with the boot0cfg command a bit more and see what >>> happens. >>> >> > From memory, it would just be 'boot0cfg -B ada0'. > > However, Windows users might find it using easier to use EasyBCD > http://neosmart.net/EasyBCD/ (scroll to bottom, click Register, > registration not required). > > Another option is just to install VirtualBox and install FreeBSD as a VM > inside it. Besides making it possible to run multiple systems at the same > time, it does not endanger the existing partition table or operating > systems. >