RETRO.COM.ES

Web sobre informática retro y vintage

Herramientas de usuario

Herramientas del sitio


minix2:mk_floppy

mk_floppy

Un script para generar las imágenes de disquetes con la distribución 2.0.4 para Intel

mk_floppy
#!/bin/bash
 
rm -rf floppy
mkdir floppy
 
# Binary i86
mkdir floppy/i86
cat Intel-2.0.4/i86/ROOT.MNX Intel-2.0.4/i86/USR.MNX >floppy/i86/boot.img
dd if=Intel-2.0.4/i86/USR.TAZ of=floppy/i86/usr1.img bs=1440k count=1 skip=0
dd if=Intel-2.0.4/i86/USR.TAZ of=floppy/i86/usr2.img bs=1440k count=1 skip=1
dd if=Intel-2.0.4/i86/USR.TAZ of=floppy/i86/usr3.img bs=1440k count=1 skip=2
dd if=Intel-2.0.4/i86/NET.TAZ of=floppy/i86/net.img bs=1440k 
 
# Binary i386
mkdir floppy/i386
cat Intel-2.0.4/i386/ROOT.MNX Intel-2.0.4/i386/USR.MNX >floppy/i386/boot.img
dd if=Intel-2.0.4/i386/USR.TAZ of=floppy/i386/usr1.img bs=1440k count=1 skip=0
dd if=Intel-2.0.4/i386/USR.TAZ of=floppy/i386/usr2.img bs=1440k count=1 skip=1
dd if=Intel-2.0.4/i386/USR.TAZ of=floppy/i386/usr3.img bs=1440k count=1 skip=2
dd if=Intel-2.0.4/i386/NET.TAZ of=floppy/i386/net.img bs=1440k 
 
# Source code
mkdir floppy/src
dd if=Intel-2.0.4/src/SYS.TAZ of=floppy/src/sys1.img bs=1440k count=1 skip=0
dd if=Intel-2.0.4/src/SYS.TAZ of=floppy/src/sys2.img bs=1440k count=1 skip=1
dd if=Intel-2.0.4/src/CMD.TAZ of=floppy/src/cmd1.img bs=1440k count=1 skip=0
dd if=Intel-2.0.4/src/CMD.TAZ of=floppy/src/cmd2.img bs=1440k count=1 skip=1
dd if=Intel-2.0.4/src/CMD.TAZ of=floppy/src/cmd3.img bs=1440k count=1 skip=2
dd if=Intel-2.0.4/src/FIX.TAZ of=floppy/src/fix.img bs=1440k
 
©2017-2024, jCæsar Contacto

Herramientas de la página