Author Topic: FYI -- Edit /etc/fstab in case of disc accessing problems  (Read 830 times)

skyhawk

  • Guest
FYI -- Edit /etc/fstab in case of disc accessing problems
« on: July 26, 2010, 08:16:57 AM »
I was having some problems with my new install accessing CD data discs, so I edited /etc/fstab, just as I did for similar problems when I was running Mandriva Free 2007.0 several years ago. I suggest this in case others are having accessing problems. My problems are now solved.

Original /etc/fstab/ >>

Code: [Select]
[rg@localhost etc]$ cat fstab
# Entry for /dev/sda1 :
UUID=22889cd7-d67d-4466-b1d1-b9a8875f339c / ext4 defaults 1 1
none /dev/pts devpts defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
# Entry for /dev/sda6 :
UUID=88081151-11cb-46bd-b2d3-d96833653c6d /home ext4 defaults 1 2
none /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
# Entry for /dev/sda5 :
UUID=1e60af4d-cf7b-4553-a065-b99912d43d2d swap swap defaults 0 0
[rg@localhost etc]$

Modified /etc/fstab/ >>

Code: [Select]
[rg@localhost etc]$ cat fstab
# Entry for /dev/sda1 :
UUID=22889cd7-d67d-4466-b1d1-b9a8875f339c / ext4 defaults 1 1
none /dev/pts devpts defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
# Entry for /dev/sda6 :
UUID=88081151-11cb-46bd-b2d3-d96833653c6d /home ext4 defaults 1 2
/dev/sr0 /media/cdrom auto rw,noauto,users,sync,exec 0 0
none /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
# Entry for /dev/sda5 :
UUID=1e60af4d-cf7b-4553-a065-b99912d43d2d swap swap defaults 0 0
[rg@localhost etc]$

Offline hounddog

  • Hero Member
  • *****
  • Posts: 1414
  • Go ... and catch a falling star ...
Re: FYI -- Edit /etc/fstab in case of disc accessing problems
« Reply #1 on: July 26, 2010, 10:06:26 AM »
Thanks for that.  I've never had a problem accessing CDs but it may come in handy.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: FYI -- Edit /etc/fstab in case of disc accessing problems
« Reply #2 on: July 26, 2010, 10:36:37 AM »
Or you could install halevt-additions for your LXDE desktop.
Package description:
Quote
To make LXDE behave like KDE or Gnome (auto events with plugged-in devices like digicams, dvb-t-adapters,
usb-devices or inserted CD/DVD with Audio, Video, datas) you can use this package


skyhawk

  • Guest
Re: FYI -- Edit /etc/fstab in case of disc accessing problems
« Reply #3 on: July 26, 2010, 04:15:06 PM »
Thanks for that.  I've never had a problem accessing CDs but it may come in handy.

Just want to add ... if anyone does decide to edit their /etc/fstab file, modify it for your system. My added line for /dev/sr0 might not work for you. I also had a problem, running Mandriva Free 2007.0, with accessing my floppy drive, which was also solved by adding a line to /etc/fstab. If anyone still uses diskettes, doing that could solve some problems. Auto-generated fstab files have come a long way since 2007, as far as dependability is concerned, but "one-size fits all" does not necessarily apply in all cases. Fortunately, with Linux, you are in control.