
November 27th, 2010, 07:28 AM
|
|
Contributing User
|
|
Join Date: Mar 2009
Posts: 86

Time spent in forums: 17 h 8 m 28 sec
Reputation Power: 5
|
|
|
Writing bootloader
Hi, i hope i am posting in the correct forum.
I am working on a personal project and, have written a small hello world bootloader in ASM. however I have two small questions,
1.
When i use dd (ubuntu) to write my bootloader to the first sector of my usbdrive, the drive becomes unreadable (i need to format it before i can use it again). what am i doing wrong that it destroys the partition table,
the command I use for this is: sudo dd if='/home/account/boot.bin' of='/dev/sdb1' (location of my usb-mounting point).
2.
Is there a way to create an ISO image where I put the boot.bin in the bootsection??
Hope to hear from anyone soon,
Fruitbisqit
|