LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-14-2005, 01:57 PM   #1
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 239

Rep: Reputation: 36
Burning an .iso at the command line


I'm trying to burn an .iso from the command line. I've mounted the burner successfully with this:
$mount -t iso9660 /dev/hdd /cdrom

HDD is the device file name that the burner is attached to. Then, I use this set of commands to burn:
cdrecord -v speed=2 dev=-2,-2,-2 <.iso_filename>

It fails to write and says it cannot open the scsi driver. The values I've used for SCSI, Target and Lun are apparently incorrect. I've also used 1,1,0 because that's what I found when I ran "cdrecord -scanbus".

What am I doing wrong?
 
Old 10-14-2005, 02:01 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
don't mount your cdrom.

run cdrecord directly.
 
Old 10-14-2005, 02:02 PM   #3
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 239

Original Poster
Rep: Reputation: 36
asdfasdf

I get the same message.
 
Old 10-14-2005, 02:07 PM   #4
MasterOfTheWind
Member
 
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Rep: Reputation: 30
Are you sure you have the permissions to access the cd burner then? If not, you should run the command as root.
 
Old 10-14-2005, 02:12 PM   #5
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 239

Original Poster
Rep: Reputation: 36
asdfasdf

Yes, I've been using Root to avoid any problems like that.
 
Old 10-14-2005, 02:31 PM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Quote:
cdrecord -v speed=2 dev=-2,-2,-2 <.iso_filename>
The device is written incorrectly.
You said cdrecord -scanbus shows 1,1,0
On older systems, kernel < 2.4 it would be dev=1,1,0
and on newer systems, like my FC4 it is dev=ATA:1,1,0
 
Old 10-14-2005, 02:53 PM   #7
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 239

Original Poster
Rep: Reputation: 36
asdfasf

YAAAY! It worked!

Thanks so much for your help!

It did specify ATA, but it was above where it gave the SCSI, Target and Lun. I see where it says "devname: 'ATA' ".

Thanks again!
 
Old 11-01-2005, 09:04 AM   #8
revof11
Member
 
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108

Rep: Reputation: 15
I had a similar problem and this worked as well.
I'm runnig FC4 (2.6.13-1.1526_FC4) on an HP L2000 AMD Turion 64.

cdrecord -scanbus returned a value of 1,1,0
When I ran cdrecord, i used dev=ATA:1,1,0 and everything worked fine.
 
Old 11-01-2005, 10:37 AM   #9
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 239

Original Poster
Rep: Reputation: 36
I'll have to test out what Homey said about the version. I should have mentioned I was using Core4.

I can't do it right now because I decided to start from scratch and do a bare-bones installation and build it up - so I don't even have CDRECORD yet!
 
  


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
Command Line ISO Maker Out2lunch Linux - Software 1 11-03-2005 08:41 AM
CD burning from command line newbie007007 Linux - General 4 12-19-2004 12:20 AM
Burning CDs on the command line Quattro Linux - Hardware 3 03-30-2004 03:09 AM
Burning CDs via the command line in Redhat 9 Donboy Linux - Newbie 2 08-17-2003 10:21 PM
Need help burning/erasing DVDs from command line enygma Linux - Software 2 03-17-2003 12:24 PM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration