You are not logged in.

#1 2005-01-10 21:14:29

bauerber
Member
Registered: 2004-12-20
Posts: 40

Cannot use CD after fresh install

Hi group,

I'm new to archlinux and just have to say, that it seems I have just found what I am looking for. After testing arch on a separate partition and working out most of the settings I was really impressed at the speed and ease of install!
So I transferred my system to arch yesterday from SuSE 9.0.
It is looking quite good so far, pacman is a really smooth installation too (esp. using hwd), so there are no probs with missing software  big_smile
KDE, nvidia-card and sound are working, and even my printer-scanner (which gave me quite a few probs under SuSE) is up an smoothly running.
The only thing I really miss is being able to use my CD-burner and DVD-drive. I just cannot seem to figure out how to set up those correctly. And automount under KDE seems miles away.

my fstab looks like this:
<fstab>
none                   /proc         proc      defaults            0      0
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
sysfs                  /sys          sysfs     defaults            0      0
usbdevfs               /proc/bus/usb     usbdevfs  defaults        0      0

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/floppy/0          /mnt/fl   vfat      user,noauto,unhide      0      0

/dev/discs/disc0/part8 swap          swap      defaults            0      0
/dev/discs/disc0/part3 /             reiserfs  defaults            0      0
/dev/discs/disc0/part5 /home         reiserfs  defaults            0      0
/dev/discs/disc0/part2 /old_arch     reiserfs  defaults            0      0
/dev/discs/disc0/part6 /tmp          reiserfs  defaults            0      0
/dev/discs/disc0/part7 /multimedia   reiserfs  defaults            0      0
/dev/discs/disc1/part1 /ablage       reiserfs  defaults            0      0
/dev/discs/disc1/part5 /mp3          reiserfs  defaults            0      0
</fstab>
This is what arch gave me when I started. I feel that I am not too far away from a solution, but somehow...

Could anyone give me some pointers how a correct configuration should look? The devices are /dev/hda and /dev/hdc, but I noticed that the notation is somewhat different with arch, so I am pretty lost at the moment.

Greez

Bernhard

Offline

#2 2005-01-10 22:15:09

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Cannot use CD after fresh install

do you use devfs or udev?

is your system up-to-date?

if so did you add your user to the optical and audio groups?

if you are using udev did you add the necessary entries to your permissions file in order to identify your optical drives under udev?

There is a new release in the archive, available on the website, that discusses the addition of the optical and audio groups and more. I suggest your track that article down and start from there.

IF you have done what is suggested then please tell us what you have tried and how or under what circumstances led up to not being able to use your drives.


AKA uknowme

I am not your friend

Offline

#3 2005-01-11 09:53:40

bauerber
Member
Registered: 2004-12-20
Posts: 40

Re: Cannot use CD after fresh install

do you use devfs or udev?

devfs, as far as I know.

is your system up-to-date?

Yes. I did a pacman -Su after installation (the day before yesterday).

if so did you add your user to the optical and audio groups?

Yes. Otherwise sound would probably not be working

I'll look for the suggested article. It is a teeny bit difficult to find an article, if you do not know what topic to look for, btw. So optical / audio is a helpul pointer, thanks.

Bernhard

Offline

#4 2005-01-11 10:09:41

bauerber
Member
Registered: 2004-12-20
Posts: 40

Re: Cannot use CD after fresh install

Oh, found the article you were referring to (I guess you meant 'New groups in default install: audio and optical').
Doesn't help though, as there is no udev.permissions file on my system.
Maybe it would be a good idea to switch to udev, though, is there any article on how that is done?

Greez

Bernhard

Offline

#5 2005-01-11 10:37:50

tranquility
Member
From: Portugal
Registered: 2004-08-06
Posts: 136

Re: Cannot use CD after fresh install

bauerber wrote:

Oh, found the article you were referring to (I guess you meant 'New groups in default install: audio and optical').
Doesn't help though, as there is no udev.permissions file on my system.
Maybe it would be a good idea to switch to udev, though, is there any article on how that is done?

Greez

Bernhard

http://wiki2.archlinux.org/index.php/UdevHowTo

Offline

#6 2005-01-12 11:38:16

bauerber
Member
Registered: 2004-12-20
Posts: 40

Re: Cannot use CD after fresh install

ok, installed udev.
but I still cannot access my drives.
here's what I did so far:

- installed udev with pacman
- edited menu.lst and installed grub into MBR (with param devfs=nomount)
- edited fstab (comment on sysfs changed esbdevfs to usbfs)
- rebooted system (no errors)
- created 00-my-udev.permissions and 00-my-udev.rules in appropriate directories

the new files do not contain awfully much, as my users belong to audio and optical groups and therefore already have access to sound and optical drives. but as recommended i still added hda/hdc (my two optical drives) to *.permissions

<00-my-udev.rules as recommended in wiki>
cdrecorder/dvd links
KERNEL="hda"    SYMLINK="cdrecorder cdrom"
KERNEL="hdc"    SYMLINK="dvd"
</00-my-udev.rules>

<00-my-udev.permissions>
# /etc/udev/00-my-udev.permissions:  permission/ownership map for udev
#cd devices
hda:root:users:0660
hdc:root:users:0660

#pilot/palm devices
pilot:root:users:0660

#scanner devices
scanner:root:scanner:0600
usb/scanner*:root:scanner:0600
</00-my-udev.permissions>

do I need to change my fstab and use the devicenames hda/hdc there as well? or should i use the symlinks in fstab?
in kde i get different types of error messages. it says either that the mount point is not there (shouldn't that be created automatically?) or if the mount-point was created beforehand, that the fs-type is wron or too many filesystems are mounted.
it seems to me, that i am not too far from getting a cd mounted at last, but there must be some tiny thing that i just don't see/know.
thanks for getting me this far!

greez

bernhard

Offline

#7 2005-01-12 12:08:22

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,756

Re: Cannot use CD after fresh install

you need to edit fstab

/dev/hdc     /mnt/<your mount point> 

check it as root mount cd ...

mount /mnt/<your mount point>

note you cannot mount a audio cd....

HTH


Mr Green

Offline

#8 2005-01-14 10:52:56

bauerber
Member
Registered: 2004-12-20
Posts: 40

Re: Cannot use CD after fresh install

That did it!
Many thanks, now that this is solved I think I'll have a look at the autofs-HowTo  wink

Greez 
Bernhard

Offline

Board footer

Powered by FluxBB