LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   burn dvd (https://www.linuxquestions.org/questions/linux-newbie-8/burn-dvd-841789/)

Zero4 11-01-2010 07:12 PM

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

Amdx2_x64 11-01-2010 07:16 PM

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

Zero4 11-01-2010 08:48 PM

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.

hoodooman 11-01-2010 08:54 PM

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.

Zero4 11-01-2010 09:13 PM

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

Amdx2_x64 11-01-2010 09:28 PM

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/

tommyttt 11-02-2010 02:24 AM

Quote:

Originally Posted by Zero4 (Post 4146286)
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

divyashree 11-02-2010 05:32 AM

Quote:

Originally Posted by Zero4 (Post 4146286)
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.


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