Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 08:53:22 +0200
From:      Nikola Lecic <nlecic@EUnet.yu>
To:        Victor Sudakov <sudakov@sibptus.tomsk.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: newfs_msdos -B
Message-ID:  <200708160539.l7G5dsSl023507@smtpclu-7.EUnet.yu>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Aug 2007 13:05:11 +0700
Victor Sudakov <sudakov@sibptus.tomsk.ru> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708160539.l7G5dsSl023507>