partcopy help

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
thomas

partcopy help

Post 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
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:partcopy help

Post 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 ...
Warrior

Re:partcopy help

Post 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.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:partcopy help

Post by bubach »

copy pboot.bin+bkernel.bin osimage.img
partcopy osimage.img 0 IMAGE_SIZE_IN_HEX -f0

HTH

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Post Reply