Fail when Boot from USB drive

If you are new to OS Development, plan on spending some time here first before going into the other forums.

Moderator:Moderators

Post Reply
SudaNix
Posts:1
Joined:Sat Jul 25, 2009 9:23 pm
Fail when Boot from USB drive

Post by SudaNix » Mon May 31, 2010 3:00 pm

Hello,

I made a Bootable CD image of the demo4 and successfully boot from it.
Also I made a Bootable USB and the first-stage is loaded well , but when it try to load the second-stage bootloader it stopped and gives this error message:
INT18: BOOT FAILURE

How i can solve this ?

Also what is the difference between USB-HDD and USB-FDD emulation ?
because i copy my OS image (.img) to USB with this command (in Windows XP):

Code: Select all

dd if=myos.img of=\\.\g:
and i think this cause the problem.

Thanks in advance.

Andyhhp
Moderator
Posts:387
Joined:Tue Oct 23, 2007 10:05 am
Location:127.0.0.1
Contact:

Re: Fail when Boot from USB drive

Post by Andyhhp » Mon May 31, 2010 9:12 pm

The code as is will not work for anything other than floppy disk booting.

Explaination and solution can be found http://www.brokenthorn.com/forums/viewt ... 2380#p2380

Hope it helps

~Andrew
Image

Post Reply