Re: A question about burning USB stick



On Saturday 08 January 2011 09:40:36 am Colin Law wrote:
(...)
sudo dd if=myfile.bin of=/dev/sdb bs=10M
but it does not seem right to burn it while it is mounted.  However if
I eject it then it is no longer /dev/sdb and the dd command fails.
(...)
I have an image of the complete stick in myfile.bin that I wish to
dump onto the stick using dd.

I think your problem is with "eject", because it "shuts off" the stick (I had
this problem with a card reader in my laptop).

What I think you shoud do is:

- plug in the stick
- check how it is mounted (I guess it should automount as /dev/sdb1 from what
you wrote)
- umount /dev/sdb1 (at the command line!)

Now you stick should still be there (you can test by mounting /dev/sdb1 on
some mountpoint).Now dd should work on /dev/sdb.

Note that you probably nead either sudo or su for most of these commands to
work. I just tried this procedure on my computer and it works.

Regards,

Thierry


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: How to see where is my DVD mounted?
    ... >> Thanks, Rick. ... And the command to burn the iso image could be? ... Also note that if you have two drives, ...
    (Fedora)
  • Re: cdrecord problems
    ... Used xcdroast to burn the movies. ... > Best regards Vegard. ... I think you could try to burn on the command line, ...
    (Debian-User)
  • Re: A question about burning USB stick
    ... Colin Law wrote: ... One burns a DVD or a CD but not a flash drive. ... you don't really "burn" a CD / DVD either or do you set it on ... I think from the context you quoted (the dd command) it is clear what ...
    (Ubuntu)
  • Re: cdrecord versus mkisofs ?
    ... cdrecord -pad dev=x,y,z this.wav that.wav other.wav ... Next up, how do I create an iso of the AudioCD I want to burn later, ... Not quite the same thing as being able to issue one command and get ...
    (alt.os.linux)
  • Re: Porblems creating RW discs in K3B
    ... You have to be more specific of the error messages you get. ... In any case k3b uses cdrecord so ... drive in the previous scanbus command, and of course ... is any small file you have to burn. ...
    (Fedora)