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
  •  


Lenovo - Yoga 7i 2-in-1 16

Lenovo - Yoga 7i 2-in-1 16" 2K Touchscreen Laptop - Intel Core Ultra 5 Proces...

$749.99



Lenovo ThinkPad T14 G2 14-Inch AMD Ryzen R5 5650U 16GB, 512GB SSD Win 11 Pro picture

Lenovo ThinkPad T14 G2 14-Inch AMD Ryzen R5 5650U 16GB, 512GB SSD Win 11 Pro

$398.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 Yoga 11e Gen 5 2-in-1 Touchscreen 11

Lenovo Yoga 11e Gen 5 2-in-1 Touchscreen 11" HD Laptop 4GB 128GB SSD Windows 11

$99.99



Lenovo ThinkPad T14 Gen 1 14

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

$219.99



Lenovo - IdeaPad Slim 3i 15.6

Lenovo - IdeaPad Slim 3i 15.6" Full HD Laptop - Intel Processor N355 2025- 8G...

$349.99



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

$235.00



Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core i5-1135G7@2.40GHz Laptop picture

Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop

$259.25



Lenovo Thinkbook 15 G2, i5 1135G7, 256GB, 8GB, 20VE003GUS no OS, Iris Xe, 15.6

Lenovo Thinkbook 15 G2, i5 1135G7, 256GB, 8GB, 20VE003GUS no OS, Iris Xe, 15.6"

$200.00