Results 1 to 6 of 6

Thread: 3.4 to hd no cdrom or fd in "user"

  1. #1
    Junior Member registered user
    Join Date
    Apr 2004
    Location
    Port Angeles, Washington
    Posts
    21

    3.4 to hd no cdrom or fd in "user"

    I have installed Knoppix 3.4 (2.6.6 kernal) to my HD. When I log on as "root" my cdrom and floppy work great. To get it to work I had to change my fstab to: /dev/sr0/cdrom iso9660 defaults,ro,user,noexec 0 0.
    When I log on as user "jesse" the cdrom and floppy no longer work. I get a error saying "/mnt/cdrom" & "mnt/floppy does not exist". When I look in the /mnt directory I see locks on the floppy and cdrom files. I have been trying to figure this out for day's. Any and all help would be much appreciated.
    TIA
    Jesse

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Try changing user to users, then type groups as user to see what groups you belong to.
    You should have at least users, cdrom and floppy. You can use Kuser to add yourself to groups or as root: adduser jesse groupname. Then logout & back in for the changes to take effect.

    BTW, it's better to use su from a console to become root for certain tasks than to log in as root.

  3. #3
    Junior Member registered user
    Join Date
    Apr 2004
    Location
    Port Angeles, Washington
    Posts
    21
    Hi Markus, I changed fstab to "users" but it did not work. both my floppy and cdrom will not work in "knoppix user". When in root everything works just fine. Using root, I have a great working desktop. For security reasons I would like to use "Knoppix user".
    My setup:
    P4 3.4ghz water cooled
    512mb ram
    3 each 40mb hard drives
    Canon i560 printer
    Epson 1650 scanner
    When I'm in "root" I use Xsane / Gimp 2.0 ..no problem...everything works
    great. My DSL line works in both modes. Evidently, Knoppix doesn't want the floppy or cdrom to work in user Knoppix 3.4.

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Hmm, cdrom and floppy are in / and not under mnt/ in debian. Try still checking the fstab and add uid and gid if needed, here's mine for cdrom and floppy:
    /dev/sr0 /cdrom iso9660 defaults,ro,users,noexec,noauto,uid=markus,gid=mar kus 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    If you're trying to access them from the desktop icons, they've at least in the past been faulty and you should delete the icons and make new ones. IIRC the desktop icons had them pointing to mnt and not / where they should be.

  5. #5
    Junior Member registered user
    Join Date
    Apr 2004
    Location
    Port Angeles, Washington
    Posts
    21
    Marcus: thanks for the info. I will try the uid, and let you know.
    Jesse

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    If it works with uid and gid set, it's just a permissions problem so you could try:
    Code:
    su
    cd /
    chgrp cdrom cdrom
    chgrp floppy floppy
    EDIT: You might do this as well after checking with dmesg|grep CD where your cdrom is attached to:
    Code:
    su
    cd /dev
    chgrp floppy fd0
    chgrp cdrom cdrom
    chgrp cdrom scd0 (check if it's right with dmesg|grep scd0
    chgrp cdrom sr0 (check with dmesg|grep sr0 , according to your first post it's sr0)

Similar Threads

  1. How to run a pgm *after* "knoppix" user is logged
    By markgilmore in forum General Support
    Replies: 1
    Last Post: 10-31-2003, 05:42 AM
  2. "Connection Reset by Peer" or "hang"
    By oreo in forum General Support
    Replies: 11
    Last Post: 07-23-2003, 06:33 PM
  3. Install linux from "LIVE" cdrom?
    By drglass67 in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 05-23-2003, 04:36 AM
  4. "Foreign" drive formats and "dd" command
    By geebee2000 in forum Hardware & Booting
    Replies: 9
    Last Post: 05-21-2003, 07:29 PM
  5. Locate Knoppix "group" in "K" menu
    By Juny in forum General Support
    Replies: 4
    Last Post: 03-14-2003, 09:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro picture

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro

$334.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11 picture

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11

$374.99



Lenovo Legion 5 Gaming 15.1

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070

$1469.00



LENOVO THINKPAD T14 GEN 2i  CORE I7-11165G7 2.8GHZ 16GB 256 SSD WCAM WI1 CORD picture

LENOVO THINKPAD T14 GEN 2i CORE I7-11165G7 2.8GHZ 16GB 256 SSD WCAM WI1 CORD

$250.00



Lenovo Thinkpad T14 Gen 2i 14

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black

$313.00



Lenovo ThinkPad T14 Gen 1 14

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD

$219.99



Lenovo Thinkpad T14 Gen 1 14.0

Lenovo Thinkpad T14 Gen 1 14.0" 16GB 512GB, BLACK

$285.99



Lenovo ThinkPad X280 Laptop 12.5” FHD Core i7 16GB RAM 256GB SSD Windows 11 WiFi picture

Lenovo ThinkPad X280 Laptop 12.5” FHD Core i7 16GB RAM 256GB SSD Windows 11 WiFi

$242.22