Results 1 to 9 of 9

Thread: help me fix my fstab

  1. #1
    Member registered user
    Join Date
    Apr 2004
    Posts
    83

    help me fix my fstab

    this is how it looks like by default


    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda1 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda2 none swap sw 0 0
    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    /dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
    # Added by KNOPPIX
    /dev/hdb5 /mnt/hdb5 ntfs noauto,users,exec,ro,umask=000 0 0
    # Added by KNOPPIX
    /dev/sda1 /mnt/sda1 vfat noauto,users,exec,umask=000 0 0



    i do not have a dvd though. i guess knoppix thought i did?!?!

    i want to add my cdrw. How do set it up?
    also, i can not write to my sda1 ( thumb drive)
    whenever i try to play a cd i get an error no entry bad block or device etc..


    thanks

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Location
    Kampen, The Netherlands
    Posts
    166
    What's the output when you type: "ls /mnt" ?

  3. #3
    Member registered user
    Join Date
    Apr 2004
    Posts
    83
    Quote Originally Posted by pulsar
    What's the output when you type: "ls /mnt" ?


    [knoppix]# ls /mnt
    auto bootfloppy hda1 hda2 hda5 hdb5 miniroot sda1 test test2
    [knoppix]#

  4. #4
    Senior Member registered user
    Join Date
    Feb 2004
    Location
    Kampen, The Netherlands
    Posts
    166
    It looks like your cdrom/cdwriter are not detected by knoppix. To be sure type "dmesg|grep CD". The output must show the names of your cdrom/cdwriter. If they are not detected it's no use to edit fstab.

  5. #5
    Member registered user
    Join Date
    Apr 2004
    Posts
    83
    Quote Originally Posted by pulsar
    It looks like your cdrom/cdwriter are not detected by knoppix. To be sure type "dmesg|grep CD". The output must show the names of your cdrom/cdwriter. If they are not detected it's no use to edit fstab.

    dmesg|grep CD
    hdc: CDU5211, ATAPI CD/DVD-ROM drive
    hdd: Memorex 52MAXX 2452AJ, ATAPI CD/DVD-ROM drive
    Vendor: SONY Model: CD-ROM CDU5211 Rev: YYS7
    Type: CD-ROM ANSI SCSI revision: 02
    Type: CD-ROM ANSI SCSI revision: 02
    Uniform CD-ROM driver Revision: 3.12
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0

  6. #6
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    make a dir in /mnt called cdrom
    do mount -t iso9660 /dev/sr0 /mnt/cdrom

    sr0 being the cd-rw

    should work.
    if it works change the link called cdrom in /dev (/dev/cdrom) so it ponts to sr0 instead of wherever it points now.
    if it doesn't let us hear

  7. #7
    Senior Member registered user
    Join Date
    Feb 2004
    Location
    Kampen, The Netherlands
    Posts
    166
    Hm, Knoppix did detect the 2 drives but if it did so, it had to edit this in fstab. But it did not, why??
    Are the 2 drives also listed in System > Info Center > Storage Devices?
    If they are not listed, I don't think manually adding the drives will help! But you can always give it a try.
    If you want to do this manually, 2 files have to be made first in dir. mnt, named cdrom and cdrom1.
    As root type "mkdir /mnt/cdrom" and do the same for cdrom1. Add the next lines in fstab:
    /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0

    All the best

  8. #8
    Member registered user
    Join Date
    Apr 2004
    Posts
    83
    Quote Originally Posted by OErjan
    make a dir in /mnt called cdrom
    do mount -t iso9660 /dev/sr0 /mnt/cdrom

    sr0 being the cd-rw

    should work.
    if it works change the link called cdrom in /dev (/dev/cdrom) so it ponts to sr0 instead of wherever it points now.
    if it doesn't let us hear


    kdir /mnt/cdrom
    /home/knoppix# mount -t iso9660 /dev/sr0 /mnt/cdrom
    mount: /dev/sr0 is not a valid block device

  9. #9
    Member registered user
    Join Date
    Apr 2004
    Posts
    83
    Quote Originally Posted by pulsar
    Hm, Knoppix did detect the 2 drives but if it did so, it had to edit this in fstab. But it did not, why??
    Are the 2 drives also listed in System > Info Center > Storage Devices?
    If they are not listed, I don't think manually adding the drives will help! But you can always give it a try.
    If you want to do this manually, 2 files have to be made first in dir. mnt, named cdrom and cdrom1.
    As root type "mkdir /mnt/cdrom" and do the same for cdrom1. Add the next lines in fstab:
    /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0

    All the best
    i beleive the cd rom worked but for cdrom1 i get an error mount point does not exist ..

Similar Threads

  1. Problem when moving New Fstab to the Old Fstab to fix Suse
    By cheetahman in forum General Support
    Replies: 19
    Last Post: 03-21-2005, 11:58 AM
  2. /etc/fstab ???
    By ibrewale in forum General Support
    Replies: 1
    Last Post: 11-26-2004, 07:02 AM
  3. fstab
    By rrfish72 in forum General Support
    Replies: 4
    Last Post: 07-13-2004, 05:51 PM
  4. fstab
    By rrfish72 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-12-2004, 11:14 PM
  5. etc/fstab: what should be in it?
    By digiSal in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 12-19-2003, 04:41 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
  •  


Samsung SCXSTP000, SCX-STP000 (Swingline Staple Cartridge - 3 Refills) picture

Samsung SCXSTP000, SCX-STP000 (Swingline Staple Cartridge - 3 Refills)

$57.99



Samsung Galaxy S10 10.9

Samsung Galaxy S10 10.9" FE 128GB WiFi Tablet SM-X520NZACXAR S-Pen Keyboard 2025

$299.99



Samsung Galaxy Tab Active 3/  64 gig/WIFI picture

Samsung Galaxy Tab Active 3/ 64 gig/WIFI

$85.00



Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem picture

Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem

$152.99



Samsung 850 Pro Series 2TB 2.5inch SATA3 6Gbp Internal SSD MZ-7KE2T0 5 Available picture

Samsung 850 Pro Series 2TB 2.5inch SATA3 6Gbp Internal SSD MZ-7KE2T0 5 Available

$189.00



Samsung DVI to DVI Cable 6 ft Digital Video Interface Audio Video NEW picture

Samsung DVI to DVI Cable 6 ft Digital Video Interface Audio Video NEW

$30.89



Kids Case for Samsung Galaxy Tab A9+/A9 plus 11 Inch 2023 Case, with Strap, Shoc picture

Kids Case for Samsung Galaxy Tab A9+/A9 plus 11 Inch 2023 Case, with Strap, Shoc

$27.99



Samsung JC95-01514A Cover-Side Roller T2 Compatible picture

Samsung JC95-01514A Cover-Side Roller T2 Compatible

$39.00



Samsung Xpress C410W Color Wireless Laser Printer - Brand New - Never Out Of Box picture

Samsung Xpress C410W Color Wireless Laser Printer - Brand New - Never Out Of Box

$289.00



Samsung MZ1LB1T9HALS PM983 1.92TB M.2 22110 PCIe 3.0 NVMe SSD (430 EUR 0% VAT) picture

Samsung MZ1LB1T9HALS PM983 1.92TB M.2 22110 PCIe 3.0 NVMe SSD (430 EUR 0% VAT)

$601.98