[syslinux] memdisk: image has a fractional end sector -> hangs

Giulio Orsero giulioo at gmail.com
Thu Feb 17 08:10:08 PST 2005


syslinux-3.0.7

Cannot boot memdisk+harddisk image.

1) mkdiskimage -d image.dsk 10 64 32     (I get a 10485888 bytes file)
2) start dosemu+freedos with image.dsk loaded as d: and do
sys d:
then copy some files to d:
3) reboot dosemu using image.dsk as c: to verify it's bootable, and it is
C:\>ver
FreeCom version 0.82 pl 3 XMS_Swap [Mar 06 2004 10:49:37]
C:\>

4) isolinux.cfg:

label 999
        kernel memdisk
        append initrd=image.dsk harddisk c=10 h=64 s=32

5) Booting the iso gives the following error (note that this is copied from
vmware, but booting a real PC produces the very same error, even if I cannot
guarantee for all the numbers to be the same)

Ramdisk at 0x005df000, length 0x00a00080
command line: initrd=image.dsk harddisk c=10 h=64 s=32 BOOT_IMAGE=memdisk
MEMDISK: image has a fractional end sector
Disk is hard disk, 10240 K, C/H/S = 10/63/32
Total size needed = 1897 bytes, allocating 2K
Old dos memory at 0x9f800 (map says 0x9f800), loading at 0x9f000
1588: 0x137c 15E801: 0x137c 0x0000
INT 13 08: Success, count = 2, BPT = 0000:0000
old: int13 = eb8b3dc9   int15 =  f0005d34
new: int13 = 9f000008   int15 =  9f000286
Loading boot sector... booting...
<hangs here>

Is this supposed to work or I made some mistakes?

Thanks

-- 
giulioo at pobox.com




More information about the Syslinux mailing list