|
|||||
LIST HD 0
|
list partitions on HD0 (includes partition IDs)
|
OPEN FS 4: 0 1
|
open partition with ID=1 on HD0 and assign it to drive 4:
|
DIR 4:
|
list files on drive 4:
|
STATS 4:
|
display statistics for file system mounted at 4:
|
DEL FILE 4:filename /y
|
delete filename on drive 4: and do not confirm the deletion
|
CLOSE FS 4:
|
close drive 4:
|
OPEN FS 2: floppy.img
|
open (or mount) the floppy image as drive 2:
|
COPY FILE 2:
|
copy filename from drive 2: to current directory
|
CLOSE FS 2:
|
close drive 2: (close the image file)
|
OPEN FS 3: terabyte.iso
|
open (or mount) the ISO file as drive 3:
|
COPY FILE 3:filename filename1
|
copy filename on drive 3: to filename1 in current directory
|
CLOSE FS 3:
|
close drive 3: (close the ISO file)
|
OPEN FS 5: disk1.vhd 1
|
open (or mount) partition with ID=1 as drive 5:
|
OPEN FS 5: disk1.vhd 0x1
|
same as above, but using 0x1 format to specify the ID
|
CLOSE FS 5:
|
close drive 5: (close the virtual hard disk file)
|
UMOUNT 5:
|
same as above, but using the UMOUNT syntax
|
COPY PARTITION 0 0xd3 part.img
|
copy partition with ID=d3 on HD0 to the file part.img
|
COPY PARTITION 0 0xd3 part.img /b
|
same as above but setup for use with bootfile (adds 1 sector)
|
MOUNT 2: part.img
|
mount part.img and assign to drive 2:
|
UMOUNT 2:
|
unmount part.img
|
ADD VIRTDRV fat.img
|
create 32 MB FAT file system in file fat.img
|
ADD VIRTDRV fat.img 32 TEST
|
same as above but specify "TEST" as the volume name
|
ADD VIRTDRV fat.img 32 TEST /b
|
same as above but setup for use with bootfile (adds 1 sector)
|
OPEN FS 3: fat.img
|
open (mount) fat.img and assign to drive 3:
|
ADD VHD my.vhd 32
|
create 32 MB VHD dynamic virtual drive.
|
ADD VHD my.vhd 32 /f
|
create 32 MB VHD fixed virtual drive.
|
SET VHDSIZE my.vhd 64
|
extend the VHD drive to be 64 MB in size.
|
ADD VMDK my.vmdk 32
|
create 32 MB VMDK MonolithicSparse virtual IDE drive.
|
ADD VMDK my.vmdk 32 /s
|
create 32 MB VMDK MonolithicSparse virtual SCSI drive
|
SET VMDKSIZE my.vmdk 64
|
extend the VMDK drive to be 64 MB in size.
|
LIST HD 1
|
list partitions on HD1 (includes partition IDs)
|
LIST HD 1 /f
|
same as above, but include free space in the listing
|
LIST HD disk1.vhd
|
list partitions in hard drive image file disk1.vhd
|
SET PART ACTIVE 1 2
|
set partition with ID=2 active on HD1
|
SET PART ACTIVE disk1.vhd 4
|
set partition with ID=4 active in hard drive image file disk1.vhd
|
LIST HD disk1.vhd
|
list partitions in hard drive image file disk1.vhd
|
SET MBR CODE 1
|
install standard MBR code on physical hard drive HD1
|
SET MBR CODE disk1.vhd
|
install standard MBR to hard drive image file disk1.vhd
|
SET MBR SIG 1 0x1A3C77D1F
|
set the MBR sig to 0xA3C77D1F on physical hard drive 1
|
SET MBR SIG 0 0x0
|
set the MBR sig to 0 (clear the sig) on physical hard drive 0
|
SET MBR SIG disk1.vhd 0x0
|
set the MBR sig to 0 (clear the sig) in file disk1.vhd
|
SET PART GEO 0 1 /h=254 /s=63
|
for partid=1 on HD0, set last head to 254, sectors/track to 63
|