[syslinux] 2GB USBkey and mkdiskimage

H. Peter Anvin hpa at zytor.com
Fri May 5 07:12:02 PDT 2006


Ole Jacob Taraldset wrote:
> Hi,
> 
> I'm trying to make a USB-ZIP bootable filesystem on my USBkey, which is 2GB. 
> The problem is that "mkdiskimage -4 /dev/sda 0 64 32" fails due to the large 
> size. The number of sectors is 4005888/(64*32) = 1956, which is more than the 
> maximum 1024. 
> 
> Is there any way around this or is it just not possible to make this USBkey 
> look like a Zip drive?
> 

Sort-of-kind-of.  If you're sensitive to geometry, you care about C/H/S 
addresses, which does require that C <= 1023.  What you can do is you 
could create a drive with two partitions and boot from the firs one.

	-hpa




More information about the Syslinux mailing list