LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount: /dev/fd0 is not a valid block device (https://www.linuxquestions.org/questions/linux-newbie-8/mount-dev-fd0-is-not-a-valid-block-device-12760/)

natsudarshan 01-26-2002 03:54 PM

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

hanzerik 01-26-2002 04:26 PM

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

ugge 01-27-2002 05:53 AM

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.

natsudarshan 01-28-2002 12:58 PM

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

islandkid 03-23-2002 06:47 PM

you can't mount a drive if you don't have a disk in it.

kan4132 09-23-2004 03:13 PM

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.