I wish I had wish

Vlad D. Markov dvoich at aim.com
Fri Aug 21 19:49:30 UTC 2020

On Fri, 21 Aug 2020 18:35:09 +0200
Christoph Kukulies <kuku at kukulies.org> wrote:

> By which port or package do I get ?wish? (the tcl shell) into FreeBSD (12.1)?
> ?
> Christoph
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 tweaking for your case.


# empty the disk of all data
dd if=/dev/zero of=/dev/da0 bs=1m count=2

# 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
cp /home/vlad/mkDos/dosFiles/* /mnt

umount /mnt

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

More information about the freebsd-questions mailing list