Re: [Freedos-kernel] possible to disable initdisk?

2011-08-21 Thread Eric Auer
Hoi Bernd, I'm in a situation where I got Syslinux bootloader on an USB flash drive. It loads the MEMDISK ramdisk module with a floppy image as contents which is then executed (as drive A:). I'd like to get into a situation where the USB flash disks doesn't get a driveletter assigned by

Re: [Freedos-kernel] possible to disable initdisk?

2011-08-21 Thread Bernd Blaauw
Op 22-8-2011 0:47, Eric Auer schreef: You can hook int 13 function 8 (get drive parameters) and make sure that for dl = 80 or higher, it always returns carry set and dl = 0 to pretend having no harddisks. Of course DOS does a lot of work for you to parse partitions, so it is a bit odd to

Re: [Freedos-kernel] possible to disable initdisk?

2011-08-21 Thread Bernd Blaauw
Op 22-8-2011 0:58, Bernd Blaauw schreef: Then, again, Syslinux/memdisk documentation lists a nopassany parameter to disable showing harddisk. Gotta test that next I guess :) This works like a charm, however FreeDOS kernel happily lists about 50 lines with 'illegal partition table, drive nn,