LinuxQuestions.org
Visit Jeremy's Blog.
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
  Search this Thread
Old 09-07-2017, 01:15 AM   #1
black-clover
Member
 
Registered: Jun 2017
Distribution: Debian Testing, Vector Linux , NuTyX, SliTaz, Alpine Linux.
Posts: 131

Rep: Reputation: Disabled
Create USB image with DD


I have been trying to create an image using the command:

sudo dd bs=4M if=(name).iso of=/dev/sdb

All the tutorial I have read stress the fact tat the USB device should NOT be mounted.
But if I try the command with the USB device unmounted, I get:

dd: failed to open ‘/dev/sdb’: No medium found

So what is the proper procedure?
 
Old 09-07-2017, 01:27 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,821

Rep: Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084
What method do you use to unmount the device?
 
Old 09-07-2017, 01:56 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,767

Rep: Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571
Issue the umount from the terminal, not the GUI disk manager. On Fedora (gnome), the device node gets destroyed by the GUI - go figure.
 
Old 09-07-2017, 03:11 AM   #4
black-clover
Member
 
Registered: Jun 2017
Distribution: Debian Testing, Vector Linux , NuTyX, SliTaz, Alpine Linux.
Posts: 131

Original Poster
Rep: Reputation: Disabled
Unmounting the USB from the terminal did the trick.
Thanks alot for the prompt reply.
 
Old 09-07-2017, 02:45 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,959

Rep: Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402
Thanks for the update.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Create Bootable USB image mathrisk Linux - Software 8 08-02-2012 02:41 AM
using an USB instead of a DVD to create an ISO image joewill Linux - Newbie 15 05-31-2011 11:39 AM
[SOLVED] How to create an ISO image from a bootable USB pendrive jortalli Linux - Software 2 09-02-2009 06:46 AM
Create a USB Boot Disk from the Custom Kernel and System Image oxblood Slackware 1 08-30-2009 01:38 PM
Create Smaller USB Flash Drive Image? Githlar Linux - Software 3 09-25-2007 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration