LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 10-19-2008, 12:58 PM   #1
Erik_the_Red
Member
 
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113

Rep: Reputation: 15
Dumping *.img to USB flash drive with /bin/dd


I'm currently using Ubuntu, but I'd like to give Arch Linux a try.

Their Wiki gives the following command for dumping an *.img file to a USB stick:

Code:
dd if=archlinux-2008.06-[core_or_ftp]-i686.img of=/dev/sdx
They warn that this will "...destroy all data on your USB stick."

Does that mean that if I do this, I can't use the USB stick for anything else?
 
Old 10-19-2008, 01:02 PM   #2
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Quote:
Originally Posted by Erik_the_Red View Post
Does that mean that if I do this, I can't use the USB stick for anything else?
It just means any data currently on the stick will be lost.
 
Old 10-19-2008, 01:08 PM   #3
Erik_the_Red
Member
 
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113

Original Poster
Rep: Reputation: 15
Great. I was afraid the command would brick the USB stick. Thanks!
 
Old 10-19-2008, 01:35 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Hi,
Quote:
Originally Posted by Erik_the_Red View Post
I'm currently using Ubuntu, but I'd like to give Arch Linux a try.

Their Wiki gives the following command for dumping an *.img file to a USB stick:

Code:
dd if=archlinux-2008.06-[core_or_ftp]-i686.img of=/dev/sdx
They warn that this will "...destroy all data on your USB stick."

Does that mean that if I do this, I can't use the USB stick for anything else?
You could create partitions on the USB. Then write to the partition of choice. Make sure to have enough space for the partition to cover the size of the image. For the other partition(s) be sure to format with the filesystem of choice.
 
Old 10-19-2008, 02:56 PM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
By this "if=archlinux-2008.06-[core_or_ftp]-i686.img" they may mean if=archlinux-2008.06-core-i686.img or if=archlinux2008.06-ftp-i686.img depending on which image you want on the usb pendrive. You probably already know this from the file that you have.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
USB Pen Drive / Flash Drive Unmounted but the power is there teluguswan Linux - Hardware 11 10-04-2008 03:36 PM
fedora 7: autofs is not mounting USB flash drive or DVD ROM drive Hewson Linux - General 3 05-12-2008 08:58 AM
cannot delete drive from root desktop - cannot mount usb flash drive - openSuSE 10.2 bluecog6 Linux - General 6 01-29-2007 03:18 PM
Can Linux extract a Bin containging img and bin mpthor Linux - Software 0 12-08-2005 08:38 AM


All times are GMT -5. The time now is 08:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration