SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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.
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.
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
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.
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)
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.