View Full Version : default cdrom problem in mepis 6.0
coyotito
04-04-2007, 06:36 PM
I have two cdroms, hdc (burner, master on IDE2) and hdd (cd, dvdplayer, slave on IDE2).
I want hdd as default cdrom because I dont want to install packages etc from the burner (I install packages from cd as I dont have broadband now).
But after each reboot the cdrom symlink is reset to hdc, so I have to correct this every time I add packages from cd.
I find this tedious, does anyone know how to fix it permanently?
I suppose it is best to have the burner as master - or doesn't it matter?
bhobjj
04-05-2007, 07:52 AM
But after each reboot the cdrom symlink is reset to hdc, so I have to correct this every time I add packages from cd.
Note that the symlinks are being automatically created by the /etc/udev/rules.d/z25_persistent-cd.rules
file that was generated from the
/etc/udev/cd-aliases-generator.rules
See if this works:
Try editing /etc/udev/links.conf
Add this line:
L cdrom /dev/hdd
Each time udev starts, the cdrom link should automatically be created in /dev
coyotito
04-06-2007, 08:33 AM
yes, that worked. I had to create a new file /etc/udev/links .conf
Thanks!
Note that the symlinks are being automatically created by the /etc/udev/rules.d/z25_persistent-cd.rules
file that was generated from the
/etc/udev/cd-aliases-generator.rules
See if this works:
Try editing /etc/udev/links.conf
Add this line:
L cdrom /dev/hdd
Each time udev starts, the cdrom link should automatically be created in /dev
coyotito
04-08-2007, 08:23 PM
hmm, it didn't work after all.
I have none of the config files you mention, i have an udev.conf file in etc/udev but it does not take this parameter, I get an error message on bootup, cannot parse file, error in line x
maybe the solution is running libranet 3 on this machine too..
Note that the symlinks are being automatically created by the /etc/udev/rules.d/z25_persistent-cd.rules
file that was generated from the
/etc/udev/cd-aliases-generator.rules
See if this works:
Try editing /etc/udev/links.conf
Add this line:
L cdrom /dev/hdd
Each time udev starts, the cdrom link should automatically be created in /dev
bluesdog
04-09-2007, 05:38 PM
Try editing /etc/udev/rules.d/z25_persistent-cd.rules
# You can modify it, as long as you keep each rule on a single line
# and set the $GENERATED variable.I think you'd have to change the $GENERATED variable from '1' (true) to '0' (false), in whatever rule(s) you modify..
Make a backup copy of the original file first, of course ;)
bhobjj
04-09-2007, 07:07 PM
hmm, it didn't work after all.
I have none of the config files you mention, i have an udev.conf file in etc/udev but it does not take this parameter, I get an error message on bootup, cannot parse file, error in line x
maybe the solution is running libranet 3 on this machine too..
I looked at an Ubuntu system, and it didn't have the files either.
I think that you can probably edit your /etc/fstab file and add this line:
/dev/hdd /cdrom udf,iso9660 user,noauto 0 0
Don't worry if there is already an entry for /dev/hdd. You can have more than one mount point for a device.
coyotito
04-10-2007, 08:33 AM
edit: thanks, it worked it seems
thanks, I'll try that.
I'm running Mepis but not KDE on this machine (gdm autologin, Windowmaker)
Mepis is meant to use the kde automount system I guess but i don't like that.
Mepis is good if you want a fast install and most things working immediately. Without kde the machine boots fast and is very snappy. but it is a little rough sometimes
I looked at an Ubuntu system, and it didn't have the files either.
I think that you can probably edit your /etc/fstab file and add this line:
/dev/hdd /cdrom udf,iso9660 user,noauto 0 0
Don't worry if there is already an entry for /dev/hdd. You can have more than one mount point for a device.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.