From owner-freebsd-questions@FreeBSD.ORG Thu Aug 16 06:58:10 2007 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 91E4E16A419 for ; Thu, 16 Aug 2007 06:58:10 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-7.EUnet.yu (smtpclu-7.eunet.yu [194.247.192.232]) by mx1.freebsd.org (Postfix) with ESMTP id 2357913C457 for ; Thu, 16 Aug 2007 06:58:09 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-213-51.eunet.yu [213.198.213.51]) by smtpclu-7.EUnet.yu (8.13.6/8.13.6) with ESMTP id l7G5dsSl023507; Thu, 16 Aug 2007 07:39:55 +0200 Message-Id: <200708160539.l7G5dsSl023507@smtpclu-7.EUnet.yu> Date: Thu, 16 Aug 2007 08:53:22 +0200 From: Nikola Lecic To: Victor Sudakov In-Reply-To: <20070816060510.GA468@admin.sibptus.tomsk.ru> References: <20070815070455.GA84715@admin.sibptus.tomsk.ru> <200708160129.l7G1TmdU026769@eunet.yu> <20070816060510.GA468@admin.sibptus.tomsk.ru> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_40,UNPARSEABLE_RELAY X-AVAS-Spam-Score: -0.2 Cc: freebsd-questions@freebsd.org Subject: Re: newfs_msdos -B 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: Thu, 16 Aug 2007 06:58:10 -0000 On Thu, 16 Aug 2007 13:05:11 +0700 Victor Sudakov wrote: > Nikola Lecic wrote: [...] > > However, if you need exactly m$'s dos, it's logical that you must > > borrow from there (from existing m$-dos or window$-9*). A quick > > googling shows that on > >=20 > > http://mail-index.netbsd.org/tech-userlevel/2004/03/07/0000.html > >=20 > > you can read how to borrow and how much. :) > >=20 > I got the idea. Thank you. For FreeBSD, it should be like=20 >=20 > % dd if=3D/dev/ad0s1 of=3D/tmp/dos_fat16.dd bs=3D512 count=3D1 > % dd if=3D/dev/ad0s1 of=3D/tmp/dos_fat32.dd bs=3D512 count=3D3 >=20 > BTW about FreeDOS: how many sectors for its bootblock must I copy? > I did not know that fat16 and fat32 VBRs had different size (1 sector > vs 3 sectors). Hmm, I'd try with the same numbers. Since mbrbm works equally with both m$-dos and FreeDOS, I guess that beginning sectors are composed the same way. Apart from install CDs, the only bootable image that FreeDOS-1.0 actually offers for download is 1.4M fdboot.img: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/ Otherwise, I don't see any other way to obtain sectors of the full system but to actually install FreeDOS somewhere (on virtual machine or on a real slice). Nikola Le=C4=8Di=C4=87