LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-01-2010, 07:12 PM   #1
Zero4
Member
 
Registered: Jun 2007
Posts: 71

Rep: Reputation: 0
burn dvd


Hi
Is it possoble to burn to dvd using the dd command.

Would: "dd if= /dev/cdrom fi= /filename" this work.

I am try to retrieve some file from a hdd that can only boot to runlevel 1
the files are on /hda2 /mnt/usr

Thank you
 
Old 11-01-2010, 07:16 PM   #2
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
Curious. Is there any reason you can't hook up that hard drive to another computer and access/copy the files that way?

Also I am not sure what Distribution you are using but here is a couple of links that may help.

From the command line (All Linux) -
http://www.andrews-corner.org/burning.html

Ubuntu or Debian Command Line -
http://www.debuntu.org/2006/06/03/61...e-command-line
 
Old 11-01-2010, 08:48 PM   #3
Zero4
Member
 
Registered: Jun 2007
Posts: 71

Original Poster
Rep: Reputation: 0
Hi
Thanks Arndx2,I am using Suse 10.2. I have put the hdd into an enclosure and connected it to the computer via usb, but that did'nt work, I think because both hdd's have partitions hda1 & hda2, probably conflicting.
 
Old 11-01-2010, 08:54 PM   #4
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
If its dvd movie iso's try this growisofs -dvd-compat -Z /dev/dvd=movie_name.iso of course you must cd to the correct directory first and change movie_name to the actual dvd iso name.
 
Old 11-01-2010, 09:13 PM   #5
Zero4
Member
 
Registered: Jun 2007
Posts: 71

Original Poster
Rep: Reputation: 0
Thanks hoodooman
Its not a movie, its a directory of files, i think about 1.5 gig,its hda2 mounted /usr. I want to make a copy of the whole dir. Unless you can give me some help on recover the system. I ran the recovery from the suse dvd, that fixed some thing but made the situation worse, now i can only get to runlevel 1. i am sure that the fstab file is corupt or missing. I don't know what else to do.
Thanks
 
Old 11-01-2010, 09:28 PM   #6
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
To make things a little easier try running a live CD/DVD on the computer you have the hard drive on. This will get you into a live system and then you should be able to access the hard drive partition the files are on and copy/burn them to DVD.

I believe Puppy Linux will pick up the the hard drive pretty easily and I also believe it has a cd/dvd burner program on it. There are other live cd/dvd's you could try as well.

http://www.puppylinux.com/download/index.html

Edit: A couple of others that should work as well.

http://www.ubuntu.com/desktop/get-ubuntu/download
http://www.knoppix.com/

Last edited by Amdx2_x64; 11-01-2010 at 09:33 PM.
 
Old 11-02-2010, 02:24 AM   #7
tommyttt
Member
 
Registered: Oct 2009
Location: Federal Way, WA
Distribution: openSUSE 11.4 x86_64, openSuSE 12.1, Fedora 15
Posts: 207

Rep: Reputation: 34
Quote:
Originally Posted by Zero4 View Post
Hi
Is it possoble to burn to dvd using the dd command.

Would: "dd if= /dev/cdrom fi= /filename" this work.

I am try to retrieve some file from a hdd that can only boot to runlevel 1
the files are on /hda2 /mnt/usr

Thank you
The correct command syntax is: dd of=/dev/cdrom if=/filename.iso
Where of=output file/device and if=input file (see man dd).

You may need to change the cdrom to dvdrom or other identifier used in your system. The growiso command suggested by hoodooman might work better.

Tom

Last edited by tommyttt; 11-02-2010 at 02:26 AM.
 
Old 11-02-2010, 05:32 AM   #8
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by Zero4 View Post
Hi
Is it possoble to burn to dvd using the dd command.

Would: "dd if= /dev/cdrom fi= /filename" this work.

I am try to retrieve some file from a hdd that can only boot to runlevel 1
the files are on /hda2 /mnt/usr

Thank you
The correct syntax of dd is :

Quote:
dd if=<read from file> of=<write to file>
In your case
Quote:
dd if=/filename of=/dev/cdrom
Please check the correct syntax before use.
 
  


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
how do i burn a dvd on the el1300g-01w ive installed roxio easy cd & dvd burning fenyxone@yahoo.com General 3 08-11-2009 07:14 AM
CD-DVD drives won't burn Sony OEM DVD-R SX jdtiede Linux - Hardware 0 03-11-2009 02:03 PM
Can I burn Fedora-8-i386-dvd.iso to CD's? I do not have a DVD burner Learn41 Linux - Newbie 5 02-18-2008 06:46 PM
LXer: Howto: Linux write (burn) data to DVD or DVD/RW at shell prompt LXer Syndicated Linux News 0 07-11-2006 03:21 PM
Permission Denied to burn/erase DVD RW with DVD+RW tools themystic Linux - Hardware 2 08-30-2005 11:32 AM

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

All times are GMT -5. The time now is 07:57 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
Open Source Consulting | Domain Registration