Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Trouble with fstab after hdinstall

  1. #1
    Member registered user
    Join Date
    Dec 2002
    Location
    The Hague, The Netherlands
    Posts
    93

    Trouble with fstab after hdinstall

    After hdinstall my floppy and dvd and cdburner devices no longer work. I am going to post some info here. I will also try to find my own solution using http://www.knoppix.net/forum/viewtopic.php?t=6945

    root@reno:/# dmesg | grep scsi
    Kernel command line: auto BOOT_IMAGE=Linux ro root=305 hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce
    ide_setup: hda=scsi
    ide_setup: hdb=scsi
    ide_setup: hdc=scsi
    ide_setup: hdd=scsi
    ide_setup: hde=scsi
    ide_setup: hdf=scsi
    ide_setup: hdg=scsi
    ide_setup: hdh=scsi
    ide-cd: passing drive hdc to ide-scsi emulation.
    ide-cd: passing drive hdd to ide-scsi emulation.
    scsi0 : SCSI host adapter emulation for IDE ATAPI devices
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
    sr0: scsi3-mmc drive: 14x/40x cd/rw xa/form2 cdda tray
    sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray


    root@reno:/# dmesg | grep ls-l /dev/cdrom
    grep: /dev/cdrom: No medium found

    root@reno:/# dmesg | grep fdisk -l
    root@reno:/#

    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda5 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda6 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
    # partitions found by Knoppix
    #/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    #/dev/hda5 /mnt/hda5 ext3 noauto,users,exec 0 0
    # Added by KNOPPIX
    /dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0


    This is all greek to me!

  2. #2
    Member registered user
    Join Date
    Dec 2002
    Location
    The Hague, The Netherlands
    Posts
    93

    The Story continues.

    root@reno:/# cp /etc/fstab /etc/fstab.original
    You have new mail in /var/mail/root
    root@reno:/# mkdir /dvd
    root@reno:/# ls -l /dev/dvd
    lrwxrwxrwx 1 root root 10 Jan 4 19:28 /dev/dvd -> /dev/cdrom
    root@reno:/#
    root@reno:/# dmesg | grep scsi
    Kernel command line: auto BOOT_IMAGE=Linux ro root=305 hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce
    ide_setup: hda=scsi
    ide_setup: hdb=scsi
    ide_setup: hdc=scsi
    ide_setup: hdd=scsi
    ide_setup: hde=scsi
    ide_setup: hdf=scsi
    ide_setup: hdg=scsi
    ide_setup: hdh=scsi
    ide-cd: passing drive hdc to ide-scsi emulation.
    ide-cd: passing drive hdd to ide-scsi emulation.
    scsi0 : SCSI host adapter emulation for IDE ATAPI devices
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
    sr0: scsi3-mmc drive: 14x/40x cd/rw xa/form2 cdda tray
    sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    For the fstab:

    Code:
    # /etc/fstab: filesystem table. 
     # 
     # filesystem mountpoint type options dump pass 
     /dev/hda5 / ext3 defaults,errors=remount-ro 0 1 
     /dev/hda6 none swap sw 0 0 
     proc /proc proc defaults 0 0 
     /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 
    /dev/scd0 /dvd iso9660 defaults,ro,user,noexec,noauto 0 0 
     /dev/scd1 /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0 
     # partitions found by Knoppix 
     #/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0 
     #/dev/hda5 /mnt/hda5 ext3 noauto,users,exec 0 0 
     # Added by KNOPPIX 
     /dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
    Then rm /dev/dvd, rm /dev/cdrom to remove the bad symbolic links next ln -s /dev/scd0 /dev/dvd and ln -s /dev/scd1 /dev/cdrom the correct links to the devices. Haven't a clue about the floppy unless you are talking the shortcut on the desktop if this is the case then the device is wrong in the device tab it is using /mnt/floppy and it should be just /floppy you should delete the old icon and create a new one by right clicking on the desktop.

    [edit]
    You may want this in the /etc/fstab as well for usb devices.
    Code:
    none            /proc/bus/usb   usbdevfs   defaults             0       0
    [/edit]

  4. #4
    Member registered user
    Join Date
    Dec 2002
    Location
    The Hague, The Netherlands
    Posts
    93
    Below is my /etc/fstab. I seem to have done something wrong!:



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

    none /proc/bus/usb usbdevfs defaults 0 0


    When I try to mount devices I get:

    pjharper@reno:~$ mount /dev/cdrom
    [mntent]: warning: no final newline at the end of /etc/fstab
    mount: can't find /dev/cdrom in /etc/fstab or /etc/mtab
    pjharper@reno:~$ mount /dvd
    [mntent]: warning: no final newline at the end of /etc/fstab
    mount: wrong fs type, bad option, bad superblock on /dev/scd0,
    or too many mounted file systems
    pjharper@reno:~$ mount /floppy
    [mntent]: warning: no final newline at the end of /etc/fstab
    mount: /dev/fd0 is not a valid block device
    pjharper@reno:~$

    Finally (Separate Issue) when I right click in KDE I lose my mouse.

    Thanks Stephen for your reply. You are really patient with Newbies!

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by FelixDzerzhinsky
    Below is my /etc/fstab. I seem to have done something wrong!:



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

    none /proc/bus/usb usbdevfs defaults 0 0


    When I try to mount devices I get:

    pjharper@reno:~$ mount /dev/cdrom
    [mntent]: warning: no final newline at the end of /etc/fstab
    mount: can't find /dev/cdrom in /etc/fstab or /etc/mtab
    pjharper@reno:~$ mount /dvd
    [mntent]: warning: no final newline at the end of /etc/fstab
    mount: wrong fs type, bad option, bad superblock on /dev/scd0,
    or too many mounted file systems
    pjharper@reno:~$ mount /floppy
    [mntent]: warning: no final newline at the end of /etc/fstab
    mount: /dev/fd0 is not a valid block device
    pjharper@reno:~$

    Finally (Separate Issue) when I right click in KDE I lose my mouse.

    Thanks Stephen for your reply. You are really patient with Newbies!
    You should be root when trying to mount the devices and you should use something like this mount /dev/cdrom /cdrom when you mount you issue the command (mount) to mount the device (/dev/cdrom) at a mount point (/cdrom) and should usually be the mount point you specified in the /etc/fstab for the device, then you use the mount point if you want to see the contents (ls -l /cdrom). You should not be getting the "no final newline" warning how did you edit the /etc/fstab file? And did you create the proper links for the devices? That mouse thing looks real strange what kind is it and can you post the Section(s) "InputDevices" for the mouse in the /etc/X11/XF86Config-4?

  6. #6
    Member registered user
    Join Date
    Dec 2002
    Location
    The Hague, The Netherlands
    Posts
    93

    Freind gave me knoppix 3.3

    My freind gave me knoppix 3.3 which solved the mouse problem mentioned earlier. I used knoppix installer. This still made it so my floppy and cdroms do not work. this is the current fstab as done by knoppix during installl:

    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda5 / ext3 defaults,errors=remount-ro 0 1

    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,noauto 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/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000 0 0
    # Added by KNOPPIX
    /dev/hda6 none swap defaults 0 0

  7. #7
    Member registered user
    Join Date
    Dec 2002
    Location
    The Hague, The Netherlands
    Posts
    93
    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda5 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda6 none swap sw 0 0
    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    /dev/scd0 /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/scd1 /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    # partitions found by Knoppix
    #/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    #/dev/hda5 /mnt/hda5 ext3 noauto,users,exec 0 0
    # Added by KNOPPIX
    /dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by FelixDzerzhinsky
    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda5 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda6 none swap sw 0 0
    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    /dev/scd0 /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/scd1 /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    # partitions found by Knoppix
    #/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    #/dev/hda5 /mnt/hda5 ext3 noauto,users,exec 0 0
    # Added by KNOPPIX
    /dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    You may want to go back to the old fstab and use some of Kano's scripts I was looking at last night I used a few on my test machine they worked well, it has one there to fix the CD and floppy problem other ones you may want to run are in the remove the services, startup-services, wine and games in the fix you want the cdrom, fonts, include-glibc, include-linux, motd, time and usb. Download the scripts to their own directory then when you change to the directory and use chmod +x * and run them with ./name_of_scrip.sh. You should probably login to the console and run the scripts from there as root and then /etc/init.d/kdm restart to restart the xserver and get a new kde login.

  9. #9
    Member registered user
    Join Date
    Dec 2002
    Location
    The Hague, The Netherlands
    Posts
    93
    Hello again. Did a reinstall because I was screwing too many things up! Found out from some nice person on irc #knoppix about KDiskFree. I can mount my devices using KDiskFree.

    Tried burning a CD. Got this output.

    System
    -----------------------
    K3b Version: 0.9
    KDE Version: 3.1.4
    QT Version: 3.2.1

    cdrdao
    -----------------------
    ERROR: Expecting only one toc-file.
    Cdrdao version 1.1.7 - (C) Andreas Mueller <[email protected]>
    SCSI interface library - (C) Joerg Schilling
    Paranoia DAE library - (C) Monty
    Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
    Usage: /usr/bin/cdrdao read-cd [options] toc-file
    options:
    --device <x,y,z> - sets SCSI device of CD-ROM reader
    --driver <id> - force usage of specified driver for source device
    --datafile <filename> - name of data file placed in toc-file
    --session # - select session
    --fast-toc - do not extract pre-gaps and index marks
    --read-raw - read raw data sectors (including L-EC data)
    --read-subchan <mode> - defines sub-channel reading mode
    <mode> = rw | rw_raw
    --tao-source - indicate that source CD was written in TAO mode
    --tao-source-adjust # - # of link blocks for TAO source CDs (def. 2)
    --paranoia-mode # - DAE paranoia mode (0..3)
    --with-cddb - retrieve CDDB CD-TEXT data while copying
    --cddb-servers <list> - sets space separated list of CDDB servers
    --cddb-timeout # - timeout in seconds for CDDB server communication
    --cddb-directory <path> - path to local CDDB directory where fetched
    CDDB records will be stored
    --force - force execution of operation
    -v # - sets verbose level

    cdrdao comand:
    -----------------------
    /usr/bin/cdrdao read-cd --device 0,0,0 --driver generic-mmc --paranoia-mode 3 auto -n -v 2 --eject --remote 21 --datafile /tmp/kde-caro/k3b_0.img /tmp/kde-caro/k3b_0.toc

  10. #10
    Member registered user
    Join Date
    Dec 2002
    Location
    The Hague, The Netherlands
    Posts
    93
    scsibus0:
    0,0,0 0) 'HITACHI ' 'DVD-ROM GD-5000 ' '0213' Removable CD-ROM
    0,1,0 1) 'MITSUMI ' 'CR-48XATE ' '1.0E' Removable CD-ROM
    0,2,0 2) *
    0,3,0 3) *
    0,4,0 4) *
    0,5,0 5) *
    0,6,0 6) *
    0,7,0 7) *
    caro@reno:~$ dmesg | grep '^hd.:'
    hda: MAXTOR 6L040J2, ATA DISK drive
    hdc: HITACHI DVD-ROM GD-5000, ATAPI CD/DVD-ROM drive
    hdd: CR-48XATE, ATAPI CD/DVD-ROM drive
    hda: attached ide-disk driver.
    hda: host protected area => 1
    hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=4866/255/63
    hdc: attached ide-scsi driver.
    hdd: attached ide-scsi driver.
    caro@reno:~$

Page 1 of 2 12 LastLast

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. 3.4 HDInstall fstab/mtab overwritten during boot?
    By cmidkiff in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-13-2004, 03:15 PM
  4. 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
  5. fstab
    By rmayer1 in forum Hdd Install / Debian / Apt
    Replies: 15
    Last Post: 03-23-2003, 08:17 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
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed picture

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed

$41.19



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack) picture

VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)

$1599.95



Microsoft Windows Server 2025 Datacenter 64Bit 24 Core 50 cal Freeshipping picture

Microsoft Windows Server 2025 Datacenter 64Bit 24 Core 50 cal Freeshipping

$54.99