Note: You are viewing an old version of this page. View the current version.

Differences between version 4 and previous revision of 2.88Boot.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 4 Last edited on Tuesday, 13 July 2010 9:52:29 by CyberLeo Revert
Older page: version 3 Last edited on Sunday, 19 April 2009 10:13:29 by CyberLeo Revert
@@ -34,6 +34,31 @@
 </verbatim> 
  
 [Upload:CyberLeo/2.88Boot-4.png] 
 [Upload:CyberLeo/2.88Boot-5.png] 
+  
+All done!  
+  
+----  
+  
+Another possibility is to use FreeDOS and sys-freedos to make a bootable floppy.  
+  
+Make sure you have mtools, mkdosfs, command.com and kernel.sys from freedos, and sys-freedos.  
+  
+[FreeDOS distribution|http://www.freedos.org/freedos/files/] - You will need command.com and kernel.sys from fdbasecd.iso:/freedos/setup/odin/<br>  
+[sys-freedos|http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/sys/sys-freedos-linux/] - You will need [sys-freedos.pl|KnowledgeBase/Scripts/sys-freedos.pl] from the tarball  
+  
+<code brush="bash">  
+# Make a file  
+truncate -s $(( 2880 * 1024 )) floppy.img  
+  
+# Add FAT12 filesystem  
+mkdosfs -vvF12 -n DOSBOOTFLOPPY floppy.img  
+  
+# Copy freedos  
+mcopy -i floppy.img kernel.sys command.com ::  
+  
+# Install boot pointers  
+sys-freedos.pl --disk=floppy.img  
+</code>  
  
 All done! 

version 4

mkdir ~/boot
cd ~/boot

Grab a copy of win98seboot.img

Create a blank 2.88MB floppy image and format as FAT12

dd if=/dev/zero of=floppy.img bs=1024 count=2880
mkdosfs -vvv floppy.img

Launch dosbox

dosbox

Within dosbox, mount the directory containing the images, and issue a boot command.

mount c ~/boot
c:
boot win98s~1.img floppy.img

After win98seboot boots, you will be dropped to a prompt. Copy the system over to the B: disk

sys b:

All done!


Another possibility is to use FreeDOS and sys-freedos to make a bootable floppy.

Make sure you have mtools, mkdosfs, command.com and kernel.sys from freedos, and sys-freedos.

FreeDOS distribution - You will need command.com and kernel.sys from fdbasecd.iso:/freedos/setup/odin/
sys-freedos - You will need sys-freedos.pl from the tarball

# Make a file
truncate -s $(( 2880 * 1024 )) floppy.img

# Add FAT12 filesystem
mkdosfs -vvF12 -n DOSBOOTFLOPPY floppy.img

# Copy freedos
mcopy -i floppy.img kernel.sys command.com ::

# Install boot pointers
sys-freedos.pl --disk=floppy.img

All done!