Jump to content

cd roms wont recognize after k3b setup


dhague30
 Share

Recommended Posts

hello,

i run mandrake 9.1, and i used to burn cds using k3b. recently i tried to copy a cd from my CDROM drive to my CDRW drive. it told me that i couldnt do it until i ran k3b setup. so, i went through k3b setup with (what i thought was) no problems. after that i cant get access to either my cdrom or cdrw drives. it says they are locked when i look at them in /mnt/ .... what went wrong?

Link to comment
Share on other sites

One can only guess at what happens sometimes. I did have this happen once, and ran setup again. But I also always make my own adjustments when I run setup. I made a back up of my working fstab (fstab.back in my /home directory) and now I just copy it out whenever I break my system. If you post your /etc/fstab, it would help.

Link to comment
Share on other sites

sure, here it is

 

/dev/hda1 / ext3 defaults 1 1

none /dev/pts devpts mode=0620 0 0

/dev/hda6 /home ext3 defaults 1 2

none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0

none /proc proc defaults 0 0

/dev/hda5 swap swap defaults 0 0

/dev/ide/host0/bus1/target0/lun0/cd /mnt/cdrom/ auto ro,noauto,user,exec 0 0

/dev/scsi/host0/bus0/target0/lun0/cd /mnt/cdrecorder auto ro,noauto,user,exec 0 0

 

hope that helps

Link to comment
Share on other sites

this was also in there when i was looking for my /etc/fstab

 

it was entitled /etc/fstab.k3bsetup

 

 

/dev/hda1 / ext3 defaults 1 1

none /dev/pts devpts mode=0620 0 0

/dev/hda6 /home ext3 defaults 1 2

none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0

none /proc proc defaults 0 0

/dev/hda5 swap swap defaults 0 0

/dev/ide/host0/bus1/target0/lun0/cd /mnt/cdrom auto ro,noauto,user,exec 0 0

/dev/scsi/host0/bus0/target0/lun0/cd /mnt/cdrecorder auto ro,noauto,user,exec 0 0

Link to comment
Share on other sites

im not sure if i do or not, but i found that file, so im guessing yes

 

boot=/dev/hda

map=/boot/map

default="linux"

keytable=/boot/us.klt

prompt

nowarn

timeout=100

message=/boot/message

menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz

label="linux"

root=/dev/hda1

initrd=/boot/initrd.img

append="devfs=mount hdd=ide-scsi acpi=off quiet"

vga=788

read-only

image=/boot/vmlinuz

label="linux-nonfb"

root=/dev/hda1

initrd=/boot/initrd.img

append="devfs=mount hdd=ide-scsi acpi=off"

read-only

image=/boot/vmlinuz

label="failsafe"

root=/dev/hda1

initrd=/boot/initrd.img

append="devfs=nomount hdd=ide-scsi acpi=off failsafe"

read-only

other=/dev/fd0

label="floppy"

unsafe

Link to comment
Share on other sites

HI dhague30 and Ixthusdan

 

Ok .. you have to add hdc=ide-scsi somewhere in your lilo.conf. So open it and look for

image=/boot/vmlinuz 

label="linux" 

root=/dev/hda1 

initrd=/boot/initrd.img 

append="devfs=mount hdd=ide-scsi acpi=off quiet" 

vga=788 

read-only 

modify the append line as follow

append="devfs=mount hdd=ide-scsi hdc=ide-scsi acpi=off quiet"

Save your mod and type lilo in a console as root. Now open /etc/fstab. Look for the following lines and put a # in from of them

#none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0 

#none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0 

 

 

#/dev/ide/host0/bus1/target0/lun0/cd /mnt/cdrom/ auto ro,noauto,user,exec 0 0 

#/dev/scsi/host0/bus0/target0/lun0/cd /mnt/cdrecorder auto ro,noauto,user,exec 0 0 

 

Now reboot (this is necessary :-( ) your computer and rerun the k3b setup utility. The software should see both your cdrom and cdrw now.

 

Good luck

 

MOttS

Link to comment
Share on other sites

ok, i tried to add that little bit to lilo.conf, but i got this message

 

"the file can not be saved. check to see if you have write permissions"

 

how do i save it?

 

[edit] ok nevermind that... i figured it out

i used chmod 777 "/etc/lilo.conf" to gain write access

Link to comment
Share on other sites

Ah yes, a little note. In a console, you need to "su" to root, and then do what MottS said.

su

password*****

 

Don't forget to run lilo or the changes won't take

Link to comment
Share on other sites

ok, i tried to add that little bit to lilo.conf, but i got this message

 

"the file can not be saved.  check to see if you have write permissions"

 

how do i save it?

 

Oh .. ok I see. You have to be ROOT (the user that have all rights on your machine) to save system config files. So in a console, before to open fstab or lilo.conf, type su and enter your password. You'll be able to save the file no prob.

 

MOTtS

Link to comment
Share on other sites

Ah yes, a little note. In a console, you need to "su" to root, and then do what MottS said.

<!--QuoteEBegin--><!--QuoteEBegin-->su<!--QuoteEBegin--><!--QuoteEBegin-->password*****<!--QuoteEBegin--><!--QuoteEBegin-->

 

Don't forget to run lilo or the changes won't take

 

You are fast man :!::!::!::!::!:

 

:lol: :lol: :lol:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...