[syslinux] Large disk image boot. Any suggestions%2
robotti at godmail.com
robotti at godmail.com
Sat Aug 20 21:21:14 PDT 2005
>If it's not conventional floppy size, you need to explicitly specify
>"append floppy c=XX h=XX s=XX" where c/h/s are the appropriate
>cylinder/head/sector geometry.
>
> -hpa
So, it would be like this for a 16MB image.
label 8b
kernel memdisk floppy c=16 h=64 s=32
append initrd=bigboot/boot32mb.bin
You can use minfo to get c, h, and s.
You need to install the mtools package.
Put this in /etc/mtools.conf.
drive x: file="/test/dos.img"
dd if=/dev/zero of=/test/dos.img bs=1M count=16
mkdosfs /test/dos.img
ms-sys -f -6 /test/dos.img
minfo x:
device information:
===================
filename="/test/dos.img"
sectors per track: 32
heads: 64
cylinders: 16
mformat command line: mformat -t 16 -h 64 -s 32 x:
bootsector information
======================
banner:"MSWIN4.1"
sector size: 512 bytes
cluster size: 4 sectors
reserved (boot) sectors: 1
fats: 2
max available root directory slots: 512
small size: 32768 sectors
media descriptor byte: 0xf8
sectors per fat: 32
sectors per track: 32
heads: 64
hidden sectors: 0
big size: 0 sectors
physical drive id: 0x0
reserved=0x0
dos4=0x29
serial number: 430801B9
disk label=" "
disk type="FAT16 "
More information about the Syslinux
mailing list