-
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!
-
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
-
Senior Member
registered user
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]
-
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!
-
Senior Member
registered user

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?
-
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
-
# /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
-
Senior Member
registered user

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.
-
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
-
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:~$
Similar Threads
-
By cheetahman in forum General Support
Replies: 19
Last Post: 03-21-2005, 11:58 AM
-
By ibrewale in forum General Support
Replies: 1
Last Post: 11-26-2004, 07:02 AM
-
By cmidkiff in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 05-13-2004, 03:15 PM
-
By digiSal in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 12-19-2003, 04:41 PM
-
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
-
Forum Rules

Cisco Power Supply
$3650.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New
$101.99

NEW Cisco Meraki MS130-48P-HW 48-Port Gigabit PoE+ Cloud Manage Switch UNCLAIMED
$2999.99

Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch
$439.00

Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch W/ 2x PSU, 2x Power Cords
$240.00

Cisco C3850-NM-2-10G Catalyst 3850 2 x 10GE Network Module
$30.00

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Cisco XFP-10G-MM-SR 10G XFP Transceiver
$79.89