0

I want to boot the iso generated here from usb. I tried

sudo dd if=myos.iso of=/dev/sdb count=1 

Doesn't work. What should I do? (This image boots in virtualbox)

Michael Petch
  • 46,082
  • 8
  • 107
  • 198
  • Why `count=1` ? By default the size of a block is 512,specifying a count of 1 will only copy the first 512 bytes of `myos.iso` to the USB drive. What happens if you just use `sudo dd if=myos.iso of=/dev/sdb` . This command should copy the entire contest of `myos.iso` to the device. – Michael Petch Mar 11 '19 at 17:41
  • I'd also recommend using the `conv=fdatasync` option when writing to a USB device. So I'd use `sudo dd if=myos.iso of=/dev/sdb conv=fdatasync` – Michael Petch Mar 11 '19 at 17:49
  • @Michael Petch doesn't work. I also tried other utilities to no use. – Kshitij Gautam Mar 14 '19 at 08:10
  • How about including a proper BPB in the boot sector? – Alexey Frunze Mar 21 '19 at 10:00

0 Answers0