The error is here
If your USB device is sdg, then the command must be
cd Downloads sudo dd if=crunchbang-11-20130119-amd64.iso of=/dev/sdg bs=4M; sync
There is a great app for andriod called DriveDroid. You put and iso on your phones SD card and you can boot into it as if its a CD/DVD
"On The First Day, God Created Linux... And The Rest Was Easy"
this is great help! Thank you.
sudo ls -l /dev/disk/by-id/*usb*
1. I got a good image of Lite, tested it.
2. Then i cleaned my 32gig scandisk USB, removing the linux partition i had on it: "32 gig unallocated.." was what gparted told me.
3. Then i dd -ed it and got the promising output of: "458mg copied in 108 seconds at ..."
4. Reboot .... nothing: back in my old mint environment (which i love by the way)
5. use gparted to check out usb, to be informed that there is still 29gig unallocated
I am at my wits end (or should that be "wit's"; or is it, like, the end of my (pl) "wits" which would be an elliptic way of saying: "I am at the end of my wits", needing no possessive at all? so many questions ... so few answers)
Thanks for this mini how-to
I know that there is no fool-proof tutorial, but please add a note stating that the image should be save to of=/dev/sdb and NOT /dev/sdb1 (for example). I kept trying for a good while before realizing about this silly mistake
^ I have added this:
NOTE - Be sure to understand that there is never a trailing number on then end of your /dev/sdx USB device
to hopefully help out with the issue
Thanks for the suggestion
This worked perfectly for me on my USB 3.0 16GB drive! Thank you so much! If anyone is curious, I was not able to use UNetbootin or YUMI to get this USB drive to use any other distro. I was able to use YUMI with 7-Zip to get it to boot for a few distros in the past, but after trying to reformat it in both G-parted and windows 7 and trying to use both UNetbootin and YUMI to no avail, I was really getting tired, and starting to wonder if my USB drive was possibly broken.
As soon as I used this tutorial, it fixed my USB drive and it did it fast and from the terminal, both things I appreciate and admire. You sir are a unix ninja.
If anyone is curious,
here are my initial thought and feeling on CrunchBang:
After installing #! (took about 4 minutes and 35 seconds literally) all I can say is wow. I was blown away with the speed of the install and even the speed of the live session I tried beforehand. Also, the shortcut keys and system info visible right there on my desktop is very nice and adds to the speed of me using, and being able to open programs quickly.
CruchBang seems to strike the perfect balance of minimalism and choice of programs installed. I can't get over how great that little script is at the start! I also can't believe how fast and snappy my computer feels, and it's not even that old (Sandy Bridge i5 2500, 12GB RAM, Nvidia 448 core 1.2GB GDDR5 dedicated video memory 560Ti graphics card). After trying Ubuntu and Windows 7, I am truly blown away with the speed and efficiency of CrunchBang.
From what I gathered after reading a little about how it works, it seems to me CrunchBang will help me better understand and learn unix and how to properly use the power and efficiency of the shell, instead of dumbing everything down with a slow, often buggy GUI. This is great! I can't wait to learn from and get to know all you friendly fellow CrunchBang users out there, it seems like such a friendly and awesome community. I am sure this will be my main OS for a very long time if not forever.
Last edited by SoapyCoyote (2013-05-14 09:12:41)
how can i undo this action, for example i have made an USB install with the latest image. but i dont have permission to delete the files on the usb stick. is there a way to reclaim the space on the memory stick?
update: gparted did the trick
Last edited by seraphtrend (2013-05-22 21:21:07)
This has been a great topic with a lot of good info. I have a memory problem (me not the computer) and have to refer to a wiki each time I make a bootable USB. I really like the dd method and will try the dcfldd version to see if it helps. I understand that not all .iso files can be booted using the dd method. Is that true?
^ From my understanding, some work great using the dd method, while others work great using Unetbootin. There are apparently a few that work fine with either one, and there seem to be a few USB flash drives that, due to their different hardware controller, will cause dd to fail but allow Unetbootin to succeed, even if most people's experience is the other way around with other flash drives.
Thank you for this exellent tutorial!
I'm back to CrunchBang!
@VastOne oh mighty Linux sorcerer! I've so far used the DD command to create live USB's to great success but without the...
... part and I kinda wonder what it is or rather what it does and what it refers to? I mean since creating Live-USB works great without it I never really bothered with it (because heavens know I'm such a busy that writing 11 letter extra would be impossible ) but perhaps I'm missing out on something.
"bs=4M" tells dd to read/write in 4 megabyte chunks for better performance; the default is 512 bytes, which will be much slower
The "sync" is to make sure that all the writes are flushed out before the command returns
(edit) never mind, VO beat me to it :-)
ohyran, I'll just add that a good way to answer questions like this is to read the "man page" for the tool you are wondering about. Type this in a terminal to see the man page for dd:
Most other command-line tools have man pages, and they usually contain a lot of useful information.
Last edited by pidsley (2013-07-19 21:39:15)
Last edited by kozimodo (2013-10-25 12:45:57)
I wish I saw this thread before trying to make bootable usb,, Veeeeeery good tutorial and intuitive.
On a personal note, when the IT guys where Iwork saw me plug a bootable USB with #! and open terminal to use the dd command they were like .... woaaaah, far out... And then they were like: are you some kind of hacker? Sooo dd is a very 'impress your coworkers type' command
Last edited by VDP76 (2013-11-05 19:28:29)