Page 1 of 1
partcopy help
Posted: Sun May 15, 2005 2:21 am
by thomas
right i have two files
pkernel.bin kernel
pboot.bin bootloader
how do i use partcopy to put the bootloder on a floppy disk
Re:partcopy help
Posted: Sun May 15, 2005 3:46 am
by Pype.Clicker
http://www.osdev.org/osfaq2/index.php/BabyStep1 will tell you how to do for the bootloader.
For your kernel, that'll depend on where the bootloader expects it, of course, and how long it is ...
Re:partcopy help
Posted: Sun May 15, 2005 4:34 am
by Warrior
Of course if you format your floppy with a file system say fat12 and write the necessary functions to search for it you can copy it directly do the floppy.
Re:partcopy help
Posted: Mon May 16, 2005 4:30 am
by bubach
copy pboot.bin+bkernel.bin osimage.img
partcopy osimage.img 0 IMAGE_SIZE_IN_HEX -f0
HTH
/ Christoffer