SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-11-25 17:24:03

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

How To prepare an ISO to USB - Linux & Windows Instructions

sudo ls -l /dev/disk/by-id/*usb*

Offline

Help fund CrunchBang, donate to the project!

#2 2012-11-27 20:15:58

r0n d0n
New Member
From: 'mericuh
Registered: 2012-11-19
Posts: 8

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Thank you for this how-to, you just made my life much easier. It seems way too simple though, and I'm waiting for the catch.  If I may, I have a couple q's about the dd method:

What format (if any) does the drive have to be?

Also, can there be multiple partitions assuming I properly configure grub entries? Is GPT out of the question?

I have a rather elaborate plan that I have been studying up on concerning a 64Mb flash drive, a custom made recovery toolkit iso, and several installed operating systems and maybe a couple persistent live iso's as well. I know dd won't be able to get me all the way there, but I'd like to be able to do this as efficiently as possible.


>lurk moar

Offline

#3 2012-11-27 20:40:05

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Hi r0n d0n

Thank you!

It does not matter what format the USB drive is in, it overwrites it as it formats it with the ISO.

I am not sure you can use multiple partitions or select a specific partition on a USB with dd...  I have never done it and a quick search does not show a procedure.

Offline

#4 2012-11-28 22:27:50

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Thanks, Vast One!   big_smile

Offline

#5 2012-11-28 23:16:38

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

^ My pleasure KrunchTime

Offline

#6 2012-11-28 23:27:17

Ozitraveller
#! Junkie
From: Less is More!
Registered: 2011-04-26
Posts: 289
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Some extra thoughts. smile

Run df -h to see what devices are currently mounted
usb should be umount'd first.
If your usb shows up more than once in the output of df due to having multiple partitions on the usb, you should unmount all of these partitions.
I've also used gparted to remove any existing partitions, prior to dd'ing the new iso.
block size set to 4M will work most of the time, if not, try 1M, although 1M will take considerably longer.
sync is used to flush the write cache.


dcfldd is an improved version of dd. Most of the syntax is identical, just a few functions have been added. It will give a progress report about how much has been written.

Offline

#7 2012-11-28 23:43:05

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

I have never had to unmount a usb first, as a matter of fact I just ran dd burning Fedora 18 to it while it was mounted.

Offline

#8 2012-11-29 01:06:21

whereisthetea
#! Member
From: Tarraconensis
Registered: 2012-04-11
Posts: 66

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Oh my. What are we going to discuss on the IRC channel now?  devil
Maybe this should be stickied or sth... I have installed #! a couple of times already but I am sure that next time I’ll be looking for this kind of information on the net. I don’t think I am the only one with a short—whaddyacallit—yes, memory…

Gratias multas VastOne!


Anymay away icklemay akesmay away ucklemay.

Offline

#9 2012-11-29 02:02:29

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

^ Thanks Whereisthetea!

It is stickied... Now we can bounce those asking in the IRC to this one...

Offline

#10 2012-11-29 03:35:41

hank122
New Member
Registered: 2012-11-29
Posts: 2

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Thanks for the info!
I wanted to mention that there is a Ubuntu/Debian tool called unetbootin that you can install that provides a small gui frontend to this process.

Hank.

Offline

#11 2012-11-29 04:08:39

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

^ Thanks Hank... several people here and on the IRC have reported total failure with unetbootin

Offline

#12 2012-11-29 05:13:26

lwfitz
#! Die Hard
From: Monrovia, CA
Registered: 2012-01-19
Posts: 886
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Offline

#13 2012-11-29 06:28:50

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

^ Wise mom, wise son... wink

Thanks lwfitz!

Offline

#14 2012-11-29 06:38:48

CaptainIndifferent
#! CrunchBanger
From: The Vale of Si
Registered: 2012-05-05
Posts: 202

Re: How To prepare an ISO to USB - Linux & Windows Instructions

YMMV but I think unetbootin gets a bad rap sometimes. I've used it half a dozen different times so far this month and have never had a problem with it.


Just because I don't care doesn't mean I don't understand.

Offline

#15 2012-11-29 18:23:36

hank122
New Member
Registered: 2012-11-29
Posts: 2

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Hmm, are the failures happening on crunchbang or just any linux OS?
I use it with an Ubuntu 12.10 laptop to prepare USB sticks for deployment on other laptops. It has worked so far with Crunchbang, Ubuntu and derivatives, Debian, Fedora, and other distros (not all though). I always try to format the USB stick on Windows, if needed, first.
My only issue is that some distros won't boot to the 'Live' mode but almost always will work in the 'install' mode.

Hank

Offline

#16 2012-11-29 18:30:26

lcafiero
The #! Guy
From: Felton, California, USA
Registered: 2011-07-21
Posts: 2,225
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Offline

#17 2012-11-29 20:30:57

MrPink
#! CrunchBanger
From: .dk
Registered: 2011-06-28
Posts: 213

Re: How To prepare an ISO to USB - Linux & Windows Instructions

I have had nothing but bad luck with Unetbootin....on Linux. The Windows version, however, has never failed me.
This is perhaps the second reason, why I maintain a Windows 7 along side Linux (the new Hitman game being the first)

Offline

#18 2012-11-30 09:41:41

r0n d0n
New Member
From: 'mericuh
Registered: 2012-11-19
Posts: 8

Re: How To prepare an ISO to USB - Linux & Windows Instructions


>lurk moar

Offline

#19 2012-12-27 10:31:16

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 638

Re: How To prepare an ISO to USB - Linux & Windows Instructions

can anyone tell me how much space a waldorf iso would take?  I dont want to use an 8 gb usb stick if I only need 2gb

Last edited by Resident Bot (2012-12-27 10:31:46)


Troll = not a fanatic
slave of #!  and arch

Offline

#20 2012-12-27 10:37:38

Kuno
#! Die Hard
From: Osnabrück - DE
Registered: 2009-01-09
Posts: 674

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Offline

#21 2012-12-27 17:02:16

lcafiero
The #! Guy
From: Felton, California, USA
Registered: 2011-07-21
Posts: 2,225
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Offline

#22 2012-12-28 15:53:11

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Offline

#23 2012-12-28 18:28:29

ew
#! Die Hard
Registered: 2012-09-27
Posts: 1,975

Re: How To prepare an ISO to USB - Linux & Windows Instructions


- apt-mark hold account

Offline

#24 2013-01-11 23:45:47

Erik
#! CrunchBanger
From: Fort Worth, TX
Registered: 2009-03-28
Posts: 193

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Thanks for the guide! Some small notes

1) used dcfldd instead of dd (worked fine, just wanted to try it, it's available in the repos)
2) I needed the stick to be mounted, contra to what Ozitraveller mentioned
3) I ran the dcfldd command as normal user, not as root. I try to avoid using sudo commands if possible.

Offline

Be excellent to each other!

#25 2013-01-12 13:37:50

rkwurth
#! Junkie
Registered: 2012-09-04
Posts: 365

Re: How To prepare an ISO to USB - Linux & Windows Instructions

Azure- probably? You can test it by preparing a installation cd/dvd or flash drive and running the live session.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo