This is the old SliTaz forum - Please use the main forum.slitaz.org

Unable to unmount CD driver on Tux
  • molmol July 2010
    And then impossible to eject a cd/DvD

    Is it normal ? On root it's ok

    Otherwise, is there anyway to autologin on root with grub ?

    I ve just bought right now a laptop for my mother who is c-o-m-p-l-e-t-e-l-y computer illeterate. So i've think Slitaz will be the most best OS to do basic things as surfing on Internet and watching DVD's.

    But if she can't eject a DVD ...
  • seawolfseawolf July 2010
    Hi @mol --

    Can you check the Tux user is part of the 'cdrom' group in /etc/group? Does adding the 'root' group to Tux have any effect?
    I'm afraid I can't help you much further as I don't have a CD drive on my netbook! Hopefully others can.

    You can auto-login, quite simply: use the Control Box, in the 'Login Manager' tab, type root as the default username and select AutoLogin to yes. Click the arrows next to the boxes to apply the changes.
    This is handled by the Slim login manager, not GRUB, though you can pass a 'autologin' option from GRUB to override Slim.

    Of course, as root, one can very easily break the system with incorrect commands. Perhaps install and configure sudo to 'sudo eject'.
  • molmol July 2010
    Hi Seawolf


    Thx for answering .

    It etc/group , I have this line

    cdrom:x:1:tux

    how can I add "root" without syntax error ?
  • seawolfseawolf July 2010
    On the line:
    root:x:0:
    or similar, add:
    tux
    to add Tux to the root *group*, rather than adding the root user to the cdrom group.
    If there are other users, the usernames are separated by commas, without spaces.
  • molmol July 2010
    Hi again,

    So on the first line, i have now

    root:x:0:tux

    but still have this box message when i try to unmont

    Erreur org.freedesktop.Hal.Device.Volume.UnknownFailure

    and then unmounting doesn't work
  • molmol July 2010
    On root session, as before same message

    Erreur org.freedesktop.Hal.Device.Volume.UnknownFailure

    but i can unmount then eject cd
  • mojomojo July 2010
    hal/udev need fixing in slitaz-3
    Add user tux to every group including root.
    Run pcmanfm ,data dvd in drive,click DVD drive listed on left to mount,right click DVD drive to eject. Errororg.freedesktop.Hal.Device.Volume.UnknownFailure
    Run PCmanfm as root try to eject,DVD unmountsErrororg.freedesktop.Hal.Device.Volume.UnknownFailure No eject.
    User tux can eject from terminal after umounted by root.
    CookingNov.2009 eject system works for tux.
    Problem is how the dvd is mounted.
    Slitaz-3.0 broken: /dev/cdrom on /media/cdrom type iso9660(ro,relatime)
    Always mounts to permenent folder /media/cdrom which is owned by root:root
    755 permissions unmounted, 555 mounted
    Cooking Nov. 2009 works: /dev/sr0 on /media/disk-label type iso9660 (ro,nosuid,nodev,relatime,uid=1000,utf8)
    Always uses real device name,creates the mount folder with disk-label name,deletes it when unmounted.Has suid uid=1000 mount permissions to allow tux to umount/eject.





  • molmol July 2010
    ? heuu ..

    By the way, how can I autologin on root if there is a password ?
  • mojomojo July 2010
    Woohoo, found the fix,time to get out the champaign and celebrate.
    Found it here: http://www.freebsd.org/gnome/docs/halfaq.html
    NOTE: Volumes that you wish to manage using hal should NOT be listed in /etc/fstab. This is especially true for CD devices and floppy disk devices.

    root@slitaz:nano /etc/fstab

    Remove this:
    /dev/cdrom      /media/cdrom iso9660 user,ro,noauto       0       0

  • molmol July 2010
    Man ! It works !

    THX

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social