Results 1 to 7 of 7

Thread: /etc/fstab, newbie, and getting ALL devices to show up

  1. #1
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    118

    /etc/fstab, newbie, and getting ALL devices to show up

    After finally gettin KNOPPIX installed to a spare HD, as follows:

    Old WD Caviar 4GB
    256MB Linux swap partition
    3.8GB Linux ext2 partition

    Setup is:
    Acer 32x CDRom
    Acer 6206 CD-RW
    10GB WD drive on /dev/hda which was wimp98SE w/4 partitions, vfat
    4GB WD drive on /dev/hdc

    I boot from floppy to the hdc drive for KNOPPIX/debian, it makes it easier for me to go back to wimpdoze on hda. I built a new box to current standards after this one decided it didn't want to access the internet via my LAN or dialup under wimpdoze (Works GREAT under Knoopix!). Eventually wimp xp pro will go onto hda as a way to support this for several reasons .. .

    But anyway.....

    Booting up into either root or another user doesn't give me all the partitions on hda or my CD-RW

    Ok, so somethings not set up right. Using the CD all these were found and cute little icons on the desktop etc...

    No problem, fstab is obvisouly the problem, right?

    Well before mucking things up, I'll ASK first, before I mess things up OR CORRUPT the hda.

    What should I change in fstab, below to get everything to be mounted EACH BOOT for ANY USER.

    The icons I think I figured out how to put them back on the desktop, but linux setup is still relativiely new.

    /etc/fstab as it stands:


    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hdc2 / ext2 defaults,errors=remount-ro 0 1
    /dev/hdc1 none swap sw 0 0
    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,auto 0 0
    # partitions found by Knoppix
    #/dev/hdc2 /mnt/hdc2 auto noauto,users,exec 0 0
    #/dev/hdc5 /mnt/hdc5 auto noauto,users,exec 0 0
    #/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    #/dev/hda5 /mnt/hda5 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    #/dev/hda6 /mnt/hda6 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    #/dev/hda7 /mnt/hda7 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0

    What I THINK it should be to solve this....


    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hdc2 / ext2 defaults,errors=remount-ro 0 1
    /dev/hdc1 none swap sw 0 0
    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,auto 0 0
    /dev/hda1 /mnt/hda1 vfat auto,users,exec 0 0
    /dev/hda5 /mnt/hda5 vfat auto,users,exec 0 0
    /dev/hda6 /mnt/hda6 vfat auto,users,exec 0 0
    /dev/hda7 /mnt/hda7 vfat auto,users,exec 0 0


    # partitions found by Knoppix
    #/dev/hdc2 /mnt/hdc2 auto noauto,users,exec 0 0
    #/dev/hdc5 /mnt/hdc5 auto noauto,users,exec 0 0
    #/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    #/dev/hda5 /mnt/hda5 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    #/dev/hda6 /mnt/hda6 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    #/dev/hda7 /mnt/hda7 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0

    Better way, corrections...???

    Thanks!

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Should work execpt for the cdrom1 line you will have to mkdir cdrom1 as root in the / directory. You did not mention which drive the burner is hdb or hdd (second or fourth) drive depending which it is you should have the line /dev/sr1 /cdrom ... to be able to use it as a burner if it is the second drive or modify the cdrom1 if fourth. Also you will have to edit /etc/lilo.conf file and in the append line change hdb=scsi to hdb=ide-scsi for second drive or make the change for hdd for the fourth drive. After you save the change run /sbin/lilo to commit the changes and re-boot.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    118
    Quote Originally Posted by Stephen
    Should work execpt for the cdrom1 line you will have to mkdir cdrom1 as root in the / directory. You did not mention which drive the burner is hdb or hdd (second or fourth) drive depending which it is you should have the line /dev/sr1 /cdrom ... to be able to use it as a burner if it is the second drive or modify the cdrom1 if fourth. Also you will have to edit /etc/lilo.conf file and in the append line change hdb=scsi to hdb=ide-scsi for second drive or make the change for hdd for the fourth drive. After you save the change run /sbin/lilo to commit the changes and re-boot.
    OK, thanks for the help.

    CD-RW is fourth drive, IDE 2 Slave 2.

    I changed the fstab entry to:
    /dev/sr1 /cdrom1 iso9660 defaults,ro,user,noexec,noatuo 0 0

    Changed the lilo.conf, and did /sbin/lilo.

    Ok, re-did the icons on the desktop to point to the correct device. All is OK, can mount & read the device under KDE/Konqueror.

    Should the ro be rw? Since this is a RW drive?

    Would this correct the problem k3b has with when I attempt to create a CD-R? Or does k3b not support Acer 6206 CD-RW? I checked the ml, sourceforge pages, and no listing of compatible and/or tested drives.

    Also how do you get the CD drives to accept audio discs??? When I stick an audio CD in they whine about not being a correct FS. As I remember it when you right click running under the CD it has the option "Play audio CD."

    Would auto v. iso9660 correct this?

    Thanks in advance to all for suggestions.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    You should leave it ro because it is a cdrom. I do not use k3b I use xcdroast to burn and any ide burner should work so it must be some kind of configuration problem. I had to edit the sudoers file (in console as root visudo is the command) and change the line #knoppix ALL=NOPASSWD: ALL to stephen HappyTux=NOPASSWD: /usr/bin/xcdroast change the line to situation this gave me root privilege for the xcdroast program allowing me to burn. Your right about the audio cd's I just checked I guess I am going to look into that myself.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    118
    Quote Originally Posted by Stephen
    You should leave it ro because it is a cdrom. I do not use k3b I use xcdroast to burn and any ide burner should work so it must be some kind of configuration problem. I had to edit the sudoers file (in console as root visudo is the command) and change the line #knoppix ALL=NOPASSWD: ALL to stephen HappyTux=NOPASSWD: /usr/bin/xcdroast change the line to situation this gave me root privilege for the xcdroast program allowing me to burn. Your right about the audio cd's I just checked I guess I am going to look into that myself.
    It could be config in k3b, I'll have to check the ml & sourceforge site some more on it.

    I may swap the Acer out to a spare Sony drive I have in the parts closet which is newer.

    I'll try xcdroast, but when I looked at the first time to try a test, it didn't leave me as "warm & fuzzy" as k3b did. xcdroast seemed to only want to make audio cd's when I started it.

    If you get any leads on the audio cd format keep me advised.

    Thanks for your assistance.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Found a partial solution to the audio cd playing it is as simple as opening up a root console window and typing in kscd and pressing play. It does not seem to want to access the cddb server for track info though. I tried changing permissions on every directory for the cdrom and added myself to the sudoers file and I can only get it to work as root, if I get it figured out I'll post more.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Success you have to open a root console and chmod +rwx scd0 in the /dev directory. scd0 is the device that /cdrom is linked to and the +rwx gives read,write and execute privileges to everyone.

Similar Threads

  1. Where do i put files so they show up at /
    By darthczyz in forum Customising & Remastering
    Replies: 2
    Last Post: 04-07-2004, 06:49 PM
  2. The Linux Show
    By Stephen in forum The Lounge
    Replies: 35
    Last Post: 04-07-2004, 01:00 AM
  3. GTKAM don't show my pics
    By ica in forum Hardware & Booting
    Replies: 1
    Last Post: 02-16-2004, 02:59 PM
  4. Show all installed packages
    By EMH_Mark3 in forum General Support
    Replies: 2
    Last Post: 07-11-2003, 07:03 AM
  5. Newbie here, Please show compassion!
    By TripWire in forum General Support
    Replies: 3
    Last Post: 06-20-2003, 12:36 PM

Posting Permissions

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


Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor picture

Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor

$46.00



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE picture

Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE

$49.99



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



E5-2697V4 INTEL XOEN SR2JV 18 CORE 2.30 GHz 45M 9.6 GT/s 145W PROCESSOR CPU picture

E5-2697V4 INTEL XOEN SR2JV 18 CORE 2.30 GHz 45M 9.6 GT/s 145W PROCESSOR CPU

$49.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$619.99



Intel Core i5-12400 Desktop Processor With HeatSink picture

Intel Core i5-12400 Desktop Processor With HeatSink

$140.00



Intel Core i5-8500T SR3XD 2.10GHz Processor | Grade A picture

Intel Core i5-8500T SR3XD 2.10GHz Processor | Grade A

$55.00