LinuxQuestions.org
Register a domain and help support LQ
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-03-2014, 06:49 AM   #1
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Rep: Reputation: Disabled
Disk image to DVD


I have a problem burning a DVD-RW from a disk image using Linux Mint17.
I used the following terminal command:
dd if=<filename>.img of=/dev/sr1
where sr1 is a LG GH22NS50 to burn the image to a blank DVD-RW.
It said it had copied the right no of bytes but the DVD was still blank.
However I could format and copy files to it without problem.
What am I doing wrong?
 
Old 09-03-2014, 08:05 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,087
Blog Entries: 10

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Not sure you can use dd as burning software. Use Brasero to burn an image file to a DVD. That should be part of your gnome desktop.
 
1 members found this post helpful.
Old 09-03-2014, 08:40 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Are you sure the device is sr1?
If it's the only device it would be sr0
 
Old 09-03-2014, 10:55 AM   #4
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
Are you sure the device is sr1?
If it's the only device it would be sr0
sr1 is correct as there is a ROM drive at sr0.
 
Old 09-03-2014, 11:28 AM   #5
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
"k3b" is a GUI program for that. If you want CLI command, "wodim -v speed=2 dev=/dev/sr1 isoimage.iso" where "isoimage.iso" is an ISO image file. And don't forget to install "wodim" first.
 
Old 09-03-2014, 04:57 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Also some iso's are not exactly bit by bit images. Video disc's won't copy because of copy protection with dd.
 
Old 09-03-2014, 06:21 PM   #7
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
Not sure you can use dd as burning software. Use Brasero to burn an image file to a DVD. That should be part of your gnome desktop.
I found Brasero and tried it but it said the image format could not be identified please set it manually. So I tried selecting ISO9660 image type and it went through the motions and said it had burnt the disk.
But it was still blank.
The disc image was supplied by HDDGURU (wipemydrives1.1.img) as I wished to completely clear a hard drive.
 
Old 09-03-2014, 09:42 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
cdrecord (now renamed cdrtools) is the command line tool for burning optical media. I used cdrecord once, just to prove to myself that I could.

I normally use K3B. I consider it the best Linux program for burning optical media; I have had it work several times where Brasero failed.
 
Old 09-03-2014, 10:55 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
You have dd to wipe your drive and many more linux tools.

The page suggest this. "Requirements: An empty 1 GB (or bigger) thumb drive; will work on almost any PC "

Since it is an "image" and not an iso, it won't work on a dvd without a lot of work.

Last edited by jefro; 09-03-2014 at 10:58 PM.
 
Old 09-04-2014, 07:49 AM   #10
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
You have dd to wipe your drive and many more linux tools.

The page suggest this. "Requirements: An empty 1 GB (or bigger) thumb drive; will work on almost any PC "

Since it is an "image" and not an iso, it won't work on a dvd without a lot of work.
I had used sumo dd if=/dev/zero of=/dev/<target device> to wipe a 300Gb HD but didn't get full capacity (only 285Gb) and there appeared to be an MBR according to Accessories/Disks.
 
Old 09-04-2014, 04:32 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
What was your target name? An sda1 is not sda.

Sumo? That's the big Japanese command? I know, couldn't help it sorry.

You meant sudo.

Last edited by jefro; 09-04-2014 at 04:33 PM.
 
Old 09-04-2014, 06:06 PM   #12
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
What was your target name? An sda1 is not sda.

Sumo? That's the big Japanese command? I know, couldn't help it sorry.

You meant sudo.
Yes, that was a typo and I know sda1 is a partition on sda.
I did use sudo dd if=/dev/zero of=/dev/sdb since the drive in question was the 2nd hard drive.
 
Old 09-04-2014, 07:44 PM   #13
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
I expect 285GB is what you get when you buy a 300GB disk, but where
one measurement is 300 x 10^9 bytes and the other is 285 x 2^30 bytes.
 
Old 09-04-2014, 09:26 PM   #14
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
I've never known access to /dev/sdb (or other full physical disk name) can be anything but the entire disk. It may be a numerical issue with bits and bytes?
 
  


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] How to make Linux image from hard disk to DVD. So I can install it on another server vijay85_ace Linux - Software 5 02-25-2011 06:18 AM
Install Linux from ISO image on hard disk without using a DVD ROM or CD Drive tkmsr SUSE / openSUSE 1 07-20-2009 06:42 AM
Install Linux from ISO image on hard disk without using a DVD ROM or CD Drive tkmsr General 1 07-20-2009 03:48 AM
how to F 10 from DVD iso image on hard disk without a CD W or Floppy to boot mystic_durle12 Linux - Newbie 5 02-16-2009 05:55 AM


All times are GMT -5. The time now is 07:01 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration