right i have two files
pkernel.bin kernel
pboot.bin bootloader
how do i use partcopy to put the bootloder on a floppy disk
partcopy help
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:partcopy help
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 ...
For your kernel, that'll depend on where the bootloader expects it, of course, and how long it is ...
Re:partcopy help
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
copy pboot.bin+bkernel.bin osimage.img
partcopy osimage.img 0 IMAGE_SIZE_IN_HEX -f0
HTH
/ Christoffer
partcopy osimage.img 0 IMAGE_SIZE_IN_HEX -f0
HTH
/ Christoffer