Testing on usb with real hardware

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
feare56
Member
Member
Posts: 97
Joined: Sun Dec 23, 2012 5:48 pm

Testing on usb with real hardware

Post by feare56 »

I am trying to boot my img image, that works in virtual machines, on a usb and gives me an error saying can not boot floppy Press a key to reboot. Is it because i am trying to boot a floppy image on a usb? What is the problem? I followed the brokenthorn series for the bootloader
jammmie999
Posts: 13
Joined: Sun Feb 06, 2011 4:54 am

Re: Testing on usb with real hardware

Post by jammmie999 »

How are you trying to write the floppy image to the USB? A Floppy image wont write to USB very well.

I recommend taking a look at the grub tool for writing to USB (think its called grub-mkrescue or simular), or looking at YUMI bootloader.
feare56
Member
Member
Posts: 97
Joined: Sun Dec 23, 2012 5:48 pm

Re: Testing on usb with real hardware

Post by feare56 »

I have been using

Code: Select all

dd if=***.img of=/dev/sdb*
It looked like it had no problems copying it over
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Testing on usb with real hardware

Post by Combuster »

A MBR is not a VBR. You're not writing the entire stick.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
feare56
Member
Member
Posts: 97
Joined: Sun Dec 23, 2012 5:48 pm

Re: Testing on usb with real hardware

Post by feare56 »

Then what command should i use
osdog
Posts: 19
Joined: Wed May 01, 2013 2:59 am

Re: Testing on usb with real hardware

Post by osdog »

feare56 wrote:Then what command should i use
http://lmgtfy.com/?q=dd+write+mbr&l=1
Post Reply