LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Alright, I have correct output for ' cdrecord -scanbus ', but can't mount drive (https://www.linuxquestions.org/questions/linux-general-1/alright-i-have-correct-output-for-cdrecord-scanbus-but-cant-mount-drive-58843/)

lostboy 05-08-2003 11:01 PM

Alright, I have correct output for ' cdrecord -scanbus ', but can't mount drive
 
Here is the output of ' cdrecord -scanbus ' :

root@JAC:~# cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
.........0,0,0.......0) 'SONY ' 'CD-RW CRX100E ' '1.0m' Removable CD-ROM
.........0,1,0......1) *
.........0,2,0......2) *
.........0,3,0......3) *
.........0,4,0......4) *
.........0,5,0......5) *
.........0,6,0......6) *
.........0,7,0......7) *
root@JAC:~#

Here is fstab :

/dev/hdc1.........swap............swap...........defaults....................0 0
/dev/hdc2........./.....................ext2............defaults....................1 1
/dev/hda5........./D..................vfat.......defaults,umask=0000..0 0
/dev/hda6........./E..................vfat..............defaults....................0 0
/dev/cdrw........./mnt/CD-RW...iso9660.....noauto,owner,ro...0 0
/dev/fd0.........../mnt/A............auto...........noauto,owner...........0 0
devpts............../dev/pts.........devpts........gid=5,mode=620.....0 0
proc................../proc...............proc..........defaults.......................0 0


And here is the relevant lilo entry :


image =/boot/vmlinuz
label = Linux
read-only
root = /dev/hdc2
append="hdd=ide-scsi"


SCSI emulation is enabled directly in my kernel, and so is SCSI support, so I have nothing going on with modules.

What do I need to do to make the drivr mount ?

JC

PTBmilo 05-08-2003 11:03 PM

mount /dev/scd0 /mnt/cdrom :)

( /dev/hdd turns into scd0 with scsi-emulation)

fancypiper 05-08-2003 11:10 PM

ln -sf /dev/scd0 /dev/cdrw
mount /dev/cdrw /mnt/CD-RW

SCSI emulation, remember?

# CD burning info
Adding an IDE CD-Writer to Linux
CD Writing HOWTO
# Burn an ISO to disk
cdrecord -v speed=5 dev=0,0,0 /path/to/foo.iso
# Burn from disk to disk
cdrecord -v dev=0,0,0 speed=5 -isosize /dev/cdrom
# Generate an ISO from a directory.
mkisofs -Jr -o foo.iso /path/to/directory
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=5 dev=0,0,0 /path/to/*.wav
# Erase a CDRW
cdrecord -v dev=0,0,0 speed=5 blank=fast

lostboy 05-08-2003 11:16 PM

Thanks for the replys. I forgot to mention that I did create a symlink in ' /dev ' called ' cdrw ' and it points to ' scd0 ' .

JC

fancypiper 05-08-2003 11:28 PM

Are you mounting as root and do you have aCD with the iso9660 filesystem (data disk) in the drive? Audio CDs don't mount.

lostboy 05-08-2003 11:40 PM

Yes it's iso9660 . It's the Slackware 9.0 CD. It mounts fine when I treat the drive like a CD-ROM.

JC

lostboy 05-09-2003 12:01 AM

Hold everything, sorry . My fault. I missed two items in the kernel config - enable scsi cdrom support, and disable the mulitple lun setting. I'm cooking up a new kernel, and will see what happens.

Thanks,

JC

lostboy 05-09-2003 12:45 AM

Ok, I have found my blunder. It was those two settings in the kernel config. With my new kernel, there's no problem seeing the drive as a CD-RW and it mounts now.

Thanks

JC

PTBmilo 05-09-2003 02:10 AM

party on lostboy

lostboy 05-09-2003 11:26 AM

"party on lostboy"

You bet PTBmilo ! I feel like partying now. I'm starting to get the hang of Slackware.

JC


All times are GMT -5. The time now is 04:42 AM.