Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2020 15:49:24 -0400
From:      "Vlad D. Markov" <dvoich@aim.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: I wish I had wish
Message-ID:  <20200821154924.7435a86b33f246f715fb33e5@aim.com>
In-Reply-To: <899F50B9-5152-4EA5-BF4A-A4D5F47931ED@kukulies.org>
References:  <899F50B9-5152-4EA5-BF4A-A4D5F47931ED@kukulies.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 21 Aug 2020 18:35:09 +0200
Christoph Kukulies <kuku@kukulies.org> wrote:

> By which port or package do I get ?wish? (the tcl shell) into FreeBSD (12=
.1)?
>=20
> ?
> Christoph
>=20
I made a dos 6.22 bootable memstick long ago in Freebsd. I looked and msdos=
 7.1 can be downloaded. This is my old script. Maybe some things need tweak=
ing for your case.

#!/bin/sh

# empty the disk of all data
dd if=3D/dev/zero of=3D/dev/da0 bs=3D1m count=3D2

# Create a master boot record on the disk
gpart create -s MBR da0

# add a 64MB slice (partition) of a type
gpart add -s 64m -t \!6 da0      #fat16
#gpart add -s 64m -t \!12 da0   #fat32

# set the first slice (partitiion) active on dev da0
gpart set -a active -i 1 da0

# place the bootcode in the MBR
gpart bootcode -b /boot/mbr da0

# make file system nd install bootstrap code
newfs_msdos -B /home/vlad/mkDos/bootsect -o 63 /dev/da0s1
#newfs_msdos -F 32 -c 1 -S 512 -C 34089472  -B /home/vlad/mkDos/bootsect -o=
 63 /dev/da0s1

mount_msdosfs /dev/da0s1 /mnt
cd /mnt && touch IO.SYS MSDOS.SYS COMMAND.COM
cp /home/vlad/mkDos/dosFiles/* /mnt

umount /mnt


--=20
I dream of a better tomorrow, where chickens can cross the road and not be =
questioned about their motives.?
? Ralph Waldo Emerson



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20200821154924.7435a86b33f246f715fb33e5>