|
[讨论]Grub + Memdisk 到底支持最大多大的软盘映像?(请fujianabc及useronce指教)
[这个贴子最后由useronce在 2004/09/07 06:14pm 第 1 次编辑]
这是 memdisk 的说明文档: { How should the image be constructed? }
The image file should contain a disk image, either a floppy disk or hard disk image. The disk image can be compressed with gzip if you have MEMDISK 2.03 or later, otherwise it should not be compressed.
If the disk image is one of the following sizes, it's assumed to be a floppy image:
368,640 bytes 360K floppy (old 5.25")
737,280 bytes 720K floppy (old 3.5")
1,222,800 bytes 1200K floppy (standard 5.25")
1,474,560 bytes 1440K floppy (standard 3.5")
2,949,120 bytes 2880K floppy (enhanced 3.5")
For any other size, the image is assumed to be a hard disk image, and should typically have an MBR and a partition table. It may optionally have a DOSEMU geometry header; in which case the header is used to determine the C/H/S geometry of the disk. Otherwise, the geometry is determined by examining the partition table, so the entire image should be partitioned for proper operation (it may be divided between multiple partitions, however.)
It is also possible to specify the geometry manually, overriding the autodetect feature, by specifying the following command-line options:
c=number Specify the number of cylinders (max 1024*)
h=number Specify the number of heads (max 256*)
s=number Specify the number of sectors (max 63)
floppy The image is a floppy disk image
harddisk The image is a hard disk image
Src: http://syslinux.zytor.com/memdisk.php |
|