From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 28 16:32:37 2014 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 786A694F; Tue, 28 Jan 2014 16:32:37 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 28DDB1E63; Tue, 28 Jan 2014 16:32:36 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id s0SGWZQU049840; Tue, 28 Jan 2014 09:32:35 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id s0SGWZQu049837; Tue, 28 Jan 2014 09:32:35 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 28 Jan 2014 09:32:35 -0700 (MST) From: Warren Block To: Lev Serebryakov Subject: Re: Did somebody boot old Sony Vaio laptop from FreeBSD memstick successfully? In-Reply-To: <976149194.20140128115104@serebryakov.spb.ru> Message-ID: References: <976149194.20140128115104@serebryakov.spb.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 28 Jan 2014 09:32:36 -0700 (MST) Cc: hackers@FreeBSD.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 16:32:37 -0000 On Tue, 28 Jan 2014, Lev Serebryakov wrote: > Hello, All. > > I'm trying to install FreeBSD 10-R (i386) on old Sony Vaio laptop (it is > VGN-SZ340P, Merom generation of Core2, ~2007). > > It allows to select "USB Hard drive" or "USB Optical Drive" as boot device, > but it writes "No operating system" in both cases. > > I've checked memstick and found, that it doesn't have MBR (it looks like > /dev/da4a). I've added MBR, one slice, mbr bootcode, make this slice > active, and dump memstick image to /dev/da4s1. My desktop boots from this > memstick without problems, laptop says "No boot code". On MBR/BSDlabel, a second chunk of bootcode must be written inside the BSD partition also. Nicolas Geniteau just posted this very nice procedure for converting a memory stick to MBR/BSDlabel. I have not tried it yet, but it does write that additional bootcode. http://lists.freebsd.org/pipermail/freebsd-questions/2014-January/255841.html