One major drawback of emulating a disk using a disk file is that the disk file must be contiguous. This requirement for continuity is quite strict; for example, the ext2/ext3 partitions in Linux cannot do this. Emulating by copying the disk image to the top of extended memory avoids this drawback.
Advantages of emulating with disk media: It can partially support operating systems like Win98 in protected mode, while the new memdrive does not. The old method of emulating with disk media can support image files of any size (up to 2000GB), while the new memdrive is limited by the amount of physical memory available in the system.
Advantages of memdrive: It can support non-contiguous image files and supports gzip-compressed images.
To utilize the new memdrive emulation function, the following restrictions need to be met.
1. The motherboard BIOS supports the int15/EAX=e820h function call. Motherboards that do not support this function cannot use memdrive. Some old laptops may be affected.
2. The system physical memory must exceed 64M. memdrive does not use memory within 64M to emulate the disk; it only uses memory above 64M. So, if there is only 64M of memory, memdrive cannot be used.
Emulating a disk with RAM memory: memdrive
download the binary build(2005-01-12, test only) here:
ftp://ftp.linuxeden.com/tinybit/grub.exe
ftp://ftp.linuxeden.com/tinybit/grldr
ftp://ftp.linuxeden.com/tinybit/grub4lin
or here:
http://grub.linuxeden.com/wakka.php?wakka=UploadFile/files.xml&action=download&file=grub_test.tar.gz
Example:
map --mem (...)/.../floppy.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot
memdrive is more powerful than memdisk in syslinux. memdisk in syslinux can only emulate one disk and must boot from that emulated disk. Our memdrive supports emulating multiple disks, and even can mix the old non-mem way of emulating with disk media, and the emulated disks do not necessarily have to be boot disks, which is very flexible.
Advantages of emulating with disk media: It can partially support operating systems like Win98 in protected mode, while the new memdrive does not. The old method of emulating with disk media can support image files of any size (up to 2000GB), while the new memdrive is limited by the amount of physical memory available in the system.
Advantages of memdrive: It can support non-contiguous image files and supports gzip-compressed images.
To utilize the new memdrive emulation function, the following restrictions need to be met.
1. The motherboard BIOS supports the int15/EAX=e820h function call. Motherboards that do not support this function cannot use memdrive. Some old laptops may be affected.
2. The system physical memory must exceed 64M. memdrive does not use memory within 64M to emulate the disk; it only uses memory above 64M. So, if there is only 64M of memory, memdrive cannot be used.
Emulating a disk with RAM memory: memdrive
download the binary build(2005-01-12, test only) here:
ftp://ftp.linuxeden.com/tinybit/grub.exe
ftp://ftp.linuxeden.com/tinybit/grldr
ftp://ftp.linuxeden.com/tinybit/grub4lin
or here:
http://grub.linuxeden.com/wakka.php?wakka=UploadFile/files.xml&action=download&file=grub_test.tar.gz
Example:
map --mem (...)/.../floppy.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot
memdrive is more powerful than memdisk in syslinux. memdisk in syslinux can only emulate one disk and must boot from that emulated disk. Our memdrive supports emulating multiple disks, and even can mix the old non-mem way of emulating with disk media, and the emulated disks do not necessarily have to be boot disks, which is very flexible.
因为我们亲手创建,这个世界更加美丽。



