From owner-freebsd-questions@FreeBSD.ORG Sat Aug 28 04:20:06 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 692331065670 for ; Sat, 28 Aug 2010 04:20:06 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id 41D8A8FC0C for ; Sat, 28 Aug 2010 04:20:06 +0000 (UTC) Received: from [172.16.44.4] (h-74-2-96-2.chcgilgm.static.covad.net [74.2.96.2]) by paka.cyberleo.net (Postfix) with ESMTPSA id 570112840C; Sat, 28 Aug 2010 00:02:12 -0400 (EDT) Message-ID: <4C788A43.8000905@cyberleo.net> Date: Fri, 27 Aug 2010 23:02:11 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100710 Thunderbird/3.0.5 MIME-Version: 1.0 To: "Hartmann, O." References: <4C768980.1080105@mail.zedat.fu-berlin.de> In-Reply-To: <4C768980.1080105@mail.zedat.fu-berlin.de> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Howto create FAT32 bootable USB device with gpart? 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: Sat, 28 Aug 2010 04:20:06 -0000 On 08/26/2010 10:34 AM, Hartmann, O. wrote: > Trying to create a bootable USB device (memory stick) with gpart - and > failed. I need those USB mem sticks for BIOS flashing purposes on an > older main PCB, utilizing FreeDOS. The old BIOS is capable of booting > off from USB mem sticks, since I booted and installed FreeBSD via this > method. But the creation of a bootable FreeDOS USB mem stick failed. > I have FreeBSD 9.0 as a mastering operating system and 8 GB sticks. > These are the boundary conditions. Is there any way to perform this task > with gpart? Bootable FAT is sort of a strange thing. As such, I have written up a few methods for producing FAT boot disks using either Win98 DOS and DosBox or using FreeDOS and a perl script called 'sys-freedos.pl'. http://wiki.cyberleo.net/wiki/KnowledgeBase/DOSBoot It shouldn't be too difficult to use the instructions to produce a bootable memstick; just keep in mind that you may have to slice it and install an mbr, as so-called 'superfloppy' layout isn't always supported. Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/