mount: /dev/fd0 is not a valid block device
Hi all,
I am using RH6.1 when i try to mount floppy i get the above mentioned error message. /etc/fstab seems to be ok /dev/fd0 /mnt/floppy ext2 user,noauto 0 0 I searched google and couldnt fix that with what i learnt there. what is the reason for getting that. i see many people having the same prob with cdrom Also i have another problem when i try to mount cdrom i get no medium found. even there i made sure there is /mnt/cdrom exists and /etc/fstab is ok. Also when i try to see what is going on in /var/log/messages it says permission denied. I dont see any specific messages in there( after logging as root)about mounting cdrom or floppy. whether i am fine or have some trouble. can sb. help me out pl. ns |
what kind of floppy? dos or linux?
"mount -t msdos /dev/fd0 /mnt/floppy" "mount -t vfat /dev/fd0 /mnt/floppy" "mount -t iso9660 /dev/cdrom /mnt/cdrom" Try those as root |
I don't know if Red Hat's kernel supports auto detection of file system but you could try to edit your fstab for floppy, replace ext2 with auto.
If the kernel supports it then the system will try to figure out if the disk is formated for dos or for linux. |
Reg. Hanzerik
I tried what hanzerik said,
for mount -t vfat /dev/fd0 /mnt/floppy mount: wrong fs type, bad option, bad superblock on /dev/fd0, or too many mounted file systems for mount -t iso9660 /dev/cdrom /mnt/cdrom mount: block device /dev/cdrom is write-protected, mounting read-only mount: No medium found |
you can't mount a drive if you don't have a disk in it.
|
Check to make sure that you've built the floppy drive into your kernel and not that you've loaded it as a module... I did the same thing... You'll have to recompile the kernel but that's not a hard process...
Oh and my /etc/fstab file line looks like this. /dev/fd0 /mnt/floppy msdos noauto,user 0 0 |
All times are GMT -5. The time now is 11:16 AM. |