Save boot-loader to virtual disk -


hope doesn't sound crazy or something

i trying create mini o.s. (who didn't?, visiting mecca muslim - programmer must @ least once in life)

so, created simple boot-loader, works fine when executed virtual boot-able iso, in virtual machine (oracle vm virtual box). displays message now. @ point, supposed give control code, start being o.s. executed virtual optical disk. burn on cd , run on i386.

no, make something, want run "o.s". hard disk, wonder if there's way "burn" boot-able information (boot-loader , other files loaded) directly on virtual disk (like .vmi, .vhd, .hdd)

when install conventional o.s., windows or linux, iso image, on virtual machine, boot-loader starts new code section, installs o.s. on virtual disk. how should it, too: create installer o.s., write booting section on virtual disk. means everytime make change o.s. must re-install it. don't that. able write booting code directly inside virtual disk file, start machine in virtual box, , see running. opened .vmi file hex editor cannot figure out should place code considered boot-able.

now, tell me whether don't know talking or there solution this. everybody!

i found out how it. create vmdk disk, open in in hex editor , paste bootable information starting 0


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -