This is like this. I use bcdw to boot the zjz.img image. Among them, the zjz.img has been written with the boot code by bootlace --floppy --chs zjz.img, and grldr (version 0.4.3 is added. It is found that version 0.4.4 cannot display Chinese) and other related files in menu.lst. In zjz.img, there is a zjzdos.img with a capacity of 56.8 MB. The map --mem /zjzdos.img (fd0) in menu.lst successfully starts it. I want to compress to reduce the volume. The zjzdos.img in zjz.img is compressed to zjzdos.zip, and the volume changes from 56.8 MB to 34.9 MB. Put it in zjz.img. In menu.lst, use
kernel /memdisk.gz c=63 h=64 s=32 floppy
initrd /zjzdos.zip
Boot zjz.img with bcdw. After Grub4DOS in zjz.img starts zjzdos.zip, it prompts:

And the zjzdos.img in the inner zjzdos.zip can be bootstrapped by Grub4DOS alone. The chs parameter calculation is also correct. c is the rounded value. I have changed c to 64 and 63, and neither end works. Please help from Grub4DOS experts on how to make it start successfully.
[ Last edited by xiaoyunwang on 2008-10-22 at 16:41 ]
kernel /memdisk.gz c=63 h=64 s=32 floppy
initrd /zjzdos.zip
Boot zjz.img with bcdw. After Grub4DOS in zjz.img starts zjzdos.zip, it prompts:

And the zjzdos.img in the inner zjzdos.zip can be bootstrapped by Grub4DOS alone. The chs parameter calculation is also correct. c is the rounded value. I have changed c to 64 and 63, and neither end works. Please help from Grub4DOS experts on how to make it start successfully.
[ Last edited by xiaoyunwang on 2008-10-22 at 16:41 ]

