LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   MEPIS (https://www.linuxquestions.org/questions/mepis-64/)
-   -   Problems with my fstab (https://www.linuxquestions.org/questions/mepis-64/problems-with-my-fstab-564214/)

StrangePL 06-24-2007 04:58 PM

Problems with my fstab
 
Hope someone can help me I seem to be getting bogged down on problems.

First of all I have an old ibm thinkpad 800mhz processor running 128mb ram. I put the light version of Simplymepis 6.5 on a clean install and I think I may have a bios version issue however the system is running very well but I try to run a cd and I get:

Called: mount /dev/hdc
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


I get a floppy drive that mounts instead on the desktop and then when i access it i get:

Could not mount device.
The reported error was:
mount: /dev/fd0 is not a valid block device


I ran dmesg | tail to see what was going on and i get:

[ 1984.797121] ide: failed opcode was: unknown
[ 1984.797128] end_request: I/O error, dev hdc, sector 1024
[ 1984.797849] UDF-fs: No partition found (1)
[ 1984.814696] hdc: command error: status=0x51 { DriveReady SeekComplete Error }
[ 1984.814714] hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
[ 1984.814724] ide: failed opcode was: unknown
[ 1984.814732] end_request: I/O error, dev hdc, sector 64
[ 1984.815457] isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16
[ 2197.033017] end_request: I/O error, dev fd0, sector 0
[ 2197.057004] end_request: I/O error, dev fd0, sector 0


Finally I looked at my /etc/fstab file and I get:

# Pluggable devices are handled by uDev, they are not in fstab
/dev/hda1 / ext3 defaults,noatime 1 1
/dev/hda2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hda3 /home ext3 defaults,noatime 1 2
# Dynamic entries below
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdc /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0



Can anyone throw some light on my woes please?

dive 06-24-2007 05:03 PM

Are you running HAL + dbus to make icons etc automatically mount and appear on desktop? IIRC you shouldn't put those types of entries in fstab if you are.

Keithj 06-24-2007 05:57 PM

Been there! Mepis seems to use subtly different formats in fstab (or interprets differently, or some such). It's also not capable of handling SCSI devices (or mine isn't, anyway). I've got an IDE DVDROM drive connected, and it works fine.

For comparison, here's my Mepis fstab (without the raft of alternative SCSI stuff that doesn't work anyway):

Quote:

# Pluggable devices are handled by uDev, they are not in fstab
/dev/hdb2 / ext3 defaults,noatime 1 1
/dev/hdb5 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hda5 /mnt/hda5 ext3 auto,exec 0 0
/dev/hdb1 /mnt/hdb1 ext3 auto,exec 0 0
/dev/hdb3 /mnt/hdb3 ext3 auto,exec 0 0
/dev/hdc1 /mnt/hdc1 ext3 auto,exec 0 0
/dev/hdc2 /mnt/hdc2 ext3 auto,exec 0 0
/dev/hdc6 /mnt/hdc6 ext3 auto,exec 0 0

# Dynamic entries below, identified by 'users' option
/dev/cdrom /media/cdrom iso9660,udf noauto,users,exec,ro 0 0
/dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0
You probably don't have all the partitions I do, so ignore the superfluous stuff. But the CDROM works, as does the floppy.

The difference seems to be that I have one entry for the CDROM, you have two: /dev/cdrom and /dev/hdc. Every other distro on my machine calls that CDROM hdd; Mepis doesn't.


All times are GMT -5. The time now is 06:42 AM.