[MINIX LOGO]

Fun with virtual disks, Bochs, and Minix

modified: 03 Mar 2004


Virtual disks can be used in many ways. Here are some ideas from Kees Bot about ways to use virtual disks to facilitate reading in the various .TAZ files used to install Minix:

    *	Copy a .TAZ file and pad it out to a megabyte multiple.  Add the
	result as a second disk to the Minix simulation.  Use like this:

		cd /usr
		setup /usr </dev/c0d1

	Shutdown, add the next .TAZ, boot, install, repeat.  This option
	is not much fun, because mkfile can be used to pad out (or shrink)
	an existing file:

		copy USR.TAZ disk2.mnx
		mkfile 10m disk2.mnx

    *	Take the .TAZ files and create a disk file containing each of
	the TAZ files in a partition.  Pad each file to a sector
	multiple, pad the whole disk to a megabyte multiple.  Add the
	result as a second disk to the Minix simulation.  Use like this:

		setup /usr </dev/c0d1p0
		setup /usr </dev/c0d1p1
		setup /usr </dev/c0d1p2
		...

    *	Take the .TAZ files and create a file system, like mkfs does, on
	a disk file that is a whole number of megabytes.  (This is quite
	a bit more work than the previous two ideas.)  Use like this:

		mount /dev/c0d1 /mnt
		setup /usr </mnt/USR.TAZ
-- 
Kees J. Bot, Systems Programmer, Sciences dept., Vrije Universiteit Amsterdam

[HOME] [HINTS/FAQ] [MINIX DOWNLOADS] [CONTRIB SOFTWARE]
[NET SOFTWARE] [MINIX-VMD] [TEXTBOOK] [LINKS]

All material on this site not otherwise attributed is copyright ©1994-2004 Albert S. Woodhull
Click here for information on copying and other use.
Mail comments on this page to: Al Woodhull <awoodhull@hampshire.edu>
Viewable With Any Browser    [Valid HTML 4.0!]