LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cd writer problems (https://www.linuxquestions.org/questions/slackware-14/cd-writer-problems-195908/)

roAder 06-21-2004 04:54 AM

cd writer problems
 
I have edited /etc/fstab by typing: mount /dev/hdd /mnt/cdrw
Now when i check inside the /mnt/ catalog I see "cdrw" so that works but then I try
to mount by typing: mount /dev/hdd it says:

mount: wrong fs type, bad option, bad superblock on /dev/hdd,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)


I dont know so much about hardware but I think my cd writer is a normal IDE drive.
When I type dmesg | grep ATA it says:

WDC WD200EB-00CSF0, ATA DISK drive
hdc: SONY CD-ROM CDU5221, ATAPI CD/DVD-ROM drive
hdd: CD-RW CRX100E, ATAPI CD/DVD-ROM drive
hdc: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
hdd: ATAPI 24X CD-ROM CD-R/RW drive, 1024kB Cache, DMA
scsi0 : SCSI host adapter emulation for IDE ATAPI devices

really need help on this one, btw it was deefaz that helped me this far so thnx anyways.

kaplah 06-21-2004 06:37 AM

First things first- let's see if your CDRW is recognized:

As root, type cdrecord --scanbus

If your Rom is found, it will show the make and model. If it's not there, you need to change your Lilo settings to declare it's presence.n Can I assume that you added this drive after you installed Slackware? Perhaps you didn't add the /dev/hd??=ide-scsi when you installed Slack?

whansard 06-21-2004 06:41 AM

post your /etc/fstab
there the problem lies.

roAder 06-21-2004 12:18 PM

me again..
 
Ok heres what it says when i type cdrecord --scanbus :

Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

And heres what it says in the /ect/fstab file:

/dev/hda1 / ext2 defaults 1 1
/dev/hda2 /swap ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 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
/dev/hdd /mnt/cdrw udf,iso9660 noauto,user,ro 0 0


plz give me some advices

keefaz 06-21-2004 01:15 PM

try add to your Lilo conf :
hdd=ide-cd
and run /sbin/lilo then reboot

roAder 06-22-2004 05:38 AM

how?
 
How do I add that to the LILO config?

Nigel_Tufnel 06-22-2004 06:52 AM

Re: how?
 
Quote:

Originally posted by roAder
How do I add that to the LILO config?
You need to edit the file using your favorite editor:

nano /etc/lilo.conf

make changes and save the file

Rerun lilo by typing:

/sbin/lilo

The next you reboot you should be ok.

roAder 06-22-2004 12:18 PM

doesnt work
 
After I've added the text in /etc/lilo.conf and typed /sbin/lilo all I get is a error message that say:
Unrecognized token "hdd" at or above line 42 in file '/etc/lilo.conf

dunno what that means but I guess that lilo doesnt find "hdd"
:S

Netizen 06-22-2004 12:38 PM

Can you post your lilo.conf file?

roAder 06-23-2004 06:00 AM

my lilo.conf
 
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends

hdd=ide-cd

slackist 06-23-2004 06:38 AM

try making the line :

append='hdd=ide-scsi'

and put it after the timeout=1200 line.
rerun lilo and reboot.

Then do dmesg | grep A and look for a line like:

Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0

if you have that then edit fstab to change the line:
/dev/hdd /mnt/cdrw udf,iso9660 noauto,user,ro 0 0

to read:
/dev/sr0 /mnt/cdrw iso9660 noauto,users,ro 0 0

(I am not sure if the "udf" should be there or not)


After that try cdrecord -scanbus and see if the result is OK
HTH,

mark

ps the above is what worked for me, YMMV :)

whansard 06-23-2004 06:52 AM

be sure to remove that hdd line you put at the bottom

roAder 06-24-2004 06:38 AM

.
 
bash-2.05b# /sbin/lilo
Syntax error at or above line 9 in file '/etc/lilo.conf'

this is what the terminal says when i type /sbin/lilo after I removed the hdd thing at the bottom and after I added the other append thing under the timeout.

btw the line I added is on line nr 9

whansard 06-24-2004 06:57 AM

append='hdd=ide-scsi'

that should be

append="hdd=ide-scsi"

with the double quotes.

slackist 06-24-2004 07:13 AM

whansard is right,

very sorry about that roAder


mark


All times are GMT -5. The time now is 02:58 AM.