LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-25-2009, 10:44 AM   #1
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
dd to burn .iso


Linux Mint 'Gloria'

I was attempting to burn an .iso using dd, I had used it before and remembered it being quite simple. However I tried it today with:

sudo dd if=/media/LACIE/OS/iso/linux/red_hat.fedora/Fedora-12-i686-Live.iso of=/dev/cdr1

I noticed it finished very quickly and now the cdr1 file inside /dev is six hundred megs or so. I don't think I can get the old file back so am wondering if I will need to reinstall, or if I should delete that file maybe it will rebuild on start up?

Should have I used another terminal command for burning .iso's to disk?

What might the correct command be?

Any help or knowledge is much appreciated. Thanks!
 
Old 12-25-2009, 11:23 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Why do you want to burn isos from the terminal? I would simply use k3b or Brasero.

I have never heard of burning CDs using DD, but I can't tell you that it is impossible.

I think the normal terminal command is something like "cdrecord" or "wodim". Check the man pages for details.

And---why would that dd command caused you to lose the original file? Also, the large file in /dev is what you would expected if you wrote to a device node which had nothing mounted.
 
Old 12-25-2009, 01:09 PM   #3
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Rep: Reputation: 34
Don't you have to care about the file system? I don't think it's that simple.
 
Old 12-25-2009, 01:12 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
I am certain that you dd'ed it to the wrong file.
the cdrom /dev varies from distro to distro, computer to computer.
 
Old 12-25-2009, 01:49 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
What's dd?

you can burn CDs from the command line with cdrecord.
 
Old 12-25-2009, 03:20 PM   #6
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Original Poster
Rep: Reputation: 35
I tried Brasero first, but it indicated there was an error, and that there might be corrupt files. (I should have md5sum'ed the CD, turns out it burnt fine, but I digress)

I think you're right smeezekitty, that I dd'ed to the wrong file, I am noticing there is a cdrom1 (as opposed to cdr1) file, or pointer, there. Using the dd with /dev/cdrom1 as the output in the command, I get a 'Read-only filesystem' response. Not quite what I had hoped, but makes more sense than what I was seeing previously. After I back everything up (just in case) I'll delete the cdr1 file and reboot.

After looking into the dd command, it may have been that I had used it before to write an iso from an existing CD, not the other way around, I don't see too much when in what I was trying to do when researching it. Cdrecord seems to work just fine, thanks by the way. (I'll repost if I find a way for dd to work)
 
Old 01-21-2014, 03:36 AM   #7
edcompsci
LQ Newbie
 
Registered: Jul 2012
Posts: 16

Rep: Reputation: Disabled
dd looks like it has stopped but is in fact still working

see this link


http://www.development-cycle.com/201...f-a-dd-action/


or this:
Code:
 $ dd if=/dev/zero of=/dev/null& pid=$!
[1] 6169
 $ kill -USR1 $pid; sleep 1; kill $pid
7314839+0 records in
7314839+0 records out
3745197568 bytes (3.7 GB) copied, 2.46092 s, 1.5 GB/s
[1]+  Terminated              dd if=/dev/zero of=/dev/null

Last edited by edcompsci; 01-21-2014 at 03:40 AM.
 
  


Reply



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
can't burn iso 3 and iso 4 for FC5 mnauta Fedora 1 04-02-2006 02:45 PM
Nero Burn Process Failed[Trying to burn ISo of PCliveilnux Os] Chaosbringer Linux - Software 3 02-02-2006 06:09 AM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 08:05 AM
I downloaded the gentoo iso in mandrake, what program do i burn the iso with backflippin General 4 04-05-2004 10:20 AM
Do I burn the ISO, or burn what's contained in it? Borg Swarm Linux - General 1 02-06-2004 05:30 PM

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

All times are GMT -5. The time now is 06:46 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