LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-22-2007, 11:33 AM   #1
strycnine
Member
 
Registered: Jul 2006
Location: Romania
Distribution: Fedora 12
Posts: 160

Rep: Reputation: 31
write iso


I'm triying to burn an iso to a cd
I tried cdrecord -v -eject dev=/dev/hdc img.iso(as root)
but it gives me:
# cdrecord -v -eject dev=/dev/hdc windows_xp.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
cdrecord: Read-only file system. Cannot open '/dev/hdc'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

I tried cdrecord -scanbus(as root)
but :
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

what do I have to do??
I can write anything, or erase an CDRW
thx
 
Old 01-22-2007, 11:45 AM   #2
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
What kernel are you using?
I remember that 2.4.x kernels required SCSI emulation for your burning device, you needed to pass something like 'append=" hdc=ide-scsi"' in your lilo configuration or whatever bootloader you use.
I don't really know if that's exactly your case.

Edit: here I found a linux burning tutorial, I thought it may help you a little

Last edited by raska; 01-22-2007 at 11:47 AM.
 
Old 01-22-2007, 03:09 PM   #3
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
I seem to remember a script called rescan-scsi-bus, that I used. It gave me some numbers that allowed me to use cdrecord dev=0,0,0 etc...

Samac
 
Old 01-23-2007, 07:48 AM   #4
strycnine
Member
 
Registered: Jul 2006
Location: Romania
Distribution: Fedora 12
Posts: 160

Original Poster
Rep: Reputation: 31
I've put append="hdc=ide-scsi".... in lilo.conf...but it gives me the same thing
and the module ide-scsi is installed.
In suse worked.
I don't know what is happening in slackware.
 
Old 01-23-2007, 07:54 AM   #5
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
More info please

need : fstab, kernel version.

also, if you have kde and K3b installed, on kmenu -> settings -> k3bsetup and see what that tells you too and let us know about the individual permissions of files that are need to be chmodded.
 
Old 01-23-2007, 08:18 AM   #6
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Grab xcdroast and try it from there, if that doesn't work for you boot a live CD like Slax and use K3B. Make sure you have a big enough /tmp so you can save the image there.
 
Old 01-23-2007, 01:19 PM   #7
strycnine
Member
 
Registered: Jul 2006
Location: Romania
Distribution: Fedora 12
Posts: 160

Original Poster
Rep: Reputation: 31
Linux laboator 2.4.33.3 #1 Fri Sep 1 01:48:52 CDT 2006 i686 athlon-4 i386 GNU/Linux
this is my computer

/dev/hda8 swap swap defaults 0 0
/dev/hda6 / ext3 defaults 1 1
/dev/hda7 /e ext3 defaults 1 2
/dev/hda1 /c vfat defaults,rw,umask=0000 1 0
/dev/hda5 /d vfat defaults,rw,umask=0000 1 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

fstab
 
Old 01-23-2007, 01:58 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
fstab does not matter since cdrecord uses the actual device. Did you rerun lilo to save changes? If the ide-scsi module is loaded have you tried rerunning the command.
cdrecord -scanbus

The correct syntax for buring an ISO file is:
cdrecord -v speed=2 dev=0,0,0 img.iso (where 0,0,0 is the device returned by the cdrecord -scanbus command)
 
Old 01-24-2007, 04:47 AM   #9
strycnine
Member
 
Registered: Jul 2006
Location: Romania
Distribution: Fedora 12
Posts: 160

Original Poster
Rep: Reputation: 31
thx... that was it but now I have another problem
I can't mount any of cds.
I tried mount /dev/hdc /mnt/cdrom
$mount: you must specify the filesystem type
then
$ mount -t iso9660 /dev/hdc /mnt/cdrom
$mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
even eject doesen't work
$dmesg | tail

ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 0
FAT: unable to read boot sector
UMSDOS: msdos_read_super failed, mount aborted.
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 0
FAT: unable to read boot sector
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 64
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32

thx
 
Old 01-24-2007, 06:47 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Forgot to mention that since your now using the ide-scsi module your cdrom device ID is now /dev/scd0. You can create a link /dev/cdrom if desired.
 
Old 01-24-2007, 08:25 AM   #11
nutronix
Member
 
Registered: Jan 2003
Location: montreal
Distribution: Slackware and Debian
Posts: 139
Blog Entries: 1

Rep: Reputation: 20
You seem to be trying to mount your cd's as user.If you can mount them as "root" then you will have to edit your /etc/fstab entry as follows=
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0

"user" instead of owner .
I mount mine as = mount /mnt/cdrom

good luck
 
  


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
Mount ISO Read/Write Johnsernickle Linux - Software 7 12-03-2016 12:11 AM
Write BIN/CUE ISO IMAGES? ProtoformX Linux - Software 4 01-17-2011 11:48 PM
Program to write ISO to USB drive a thing Linux - Software 4 03-08-2010 05:30 PM
How do you write to a mounted iso file? jschiwal Mandriva 2 08-27-2003 02:33 PM
Hi, Can I write files to mounted iso images? zhaoyoubing Linux - General 2 08-14-2003 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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