From owner-freebsd-current@FreeBSD.ORG Thu Apr 9 00:31:13 2015 Return-Path: Delivered-To: freebsd-current@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 B4AC18A1; Thu, 9 Apr 2015 00:31:13 +0000 (UTC) Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A033112; Thu, 9 Apr 2015 00:31:13 +0000 (UTC) Received: by igbqf9 with SMTP id qf9so52796618igb.1; Wed, 08 Apr 2015 17:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+yXtJyz6uxvUQQ4mQSRb43R/Q4JJzRAz5co1TjX2S70=; b=EI8b9IuiCm0waeu9I+ZQxjha0CAf15OcEwbrJxWNeomiAKqG4LtaYDw6TCCsgcY9RR +wrs1jPwfjrTtIUhN7vY5sGAOzt+eXRzuUA/xHqfpIXDlizIlmvGt8+fx4d8eI0lkp/1 4RKvCyalKxhDrGN+SfMRbnonb+5+nZzy7p5fj3ntQa24mcnO3q6butf+oKseWd+NUgau bu8kS5vQcBczpf+YrJ4F6sav2GjBvqp4dpMjYBNMHCaIQ50A9K0KFH9xoIxUt0d1vZ9F YnR6m/94CtSwjNn1Zh9Pb2inSuxjW4iuyeXNCecfcdwfUmiNFC++JnqU2jSJhiHFNBF1 8XtQ== MIME-Version: 1.0 X-Received: by 10.107.39.72 with SMTP id n69mr42139223ion.8.1428539472926; Wed, 08 Apr 2015 17:31:12 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.17.194 with HTTP; Wed, 8 Apr 2015 17:31:12 -0700 (PDT) In-Reply-To: References: Date: Wed, 8 Apr 2015 17:31:12 -0700 X-Google-Sender-Auth: kG6eTMYwZ-cxyK20_TmPLeRMtQ8 Message-ID: Subject: Re: Dual booting FreeBSD and Win95 From: Adrian Chadd To: Craig Rodrigues Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Current , Ryan Stone X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2015 00:31:13 -0000 ... why's stuff have to be complicated? Win95 has minimal if any boot sector protection. Just go look at what boot0cfg does, figure out which sector you have to read/modify/write, and do that. Of course, I'd also check first to ensure it's updating a freebsd bootblock, or you may render a non-dualbooting machine dead. :) -a