LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting Hdrive problem (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-hdrive-problem-426481/)

v1nc3nt 03-20-2006 01:20 AM

Mounting Hdrive problem
 
When i try to maunt my hardrive i get the following:

[root@fresh4 root]# mount /dev/cdrom /cdrom/
/dev/cdrom: Input/output error
mount: block device /dev/cdrom is write-protected, mounting read-only
/dev/cdrom: Input/output error
mount: you must specify the filesystem type

I never had this problem before, Please help

andygo 03-20-2006 01:38 AM

!!!mount: you must specify the filesystem type!!!
man mount
-t vfstype
The argument following the -t is used to indicate the file system type.
The file system types which are currently supported include: adfs, affs,
autofs, coda, coherent, cramfs, devpts, efs, ext, ext2, ext3, hfs, hpfs,
iso9660, jfs, minix, msdos, ncpfs, nfs, ntfs, proc, qnx4, ramfs, reis-
erfs, romfs, smbfs, sysv, tmpfs, udf, ufs, umsdos, usbfs, vfat, xenix,
xfs, xiafs. Note that coherent, sysv and xenix are equivalent and that
xenix and coherent will be removed at some point in the future -- use
sysv instead. Since kernel version 2.1.21 the types ext and xiafs do not
exist anymore. Earlier, usbfs was known as usbdevfs.
try to run something like that
mount -t iso9660 /dev/cdrom /cdrom/

I hope /dev/cdrom is a simlink to your cd_drive unit
(ls -la /dev/cdrom
/dev/cdrom -> hdc)
and mountpoint /cdrom exists

if all works fine - use "Search" tool to find out how to make "mount /cdrom" command work (hint : you need to edit /etc/fstab)

nitinatindore 03-20-2006 03:35 AM

Most modern mount command are intelligent enough to determine filesystem itself, so it hardly matters unless you are using some really weird filesystem
Quote:

dev/cdrom: Input/output error
The above line suggests that either CD is corrupted, so you may check by trying some other CD, and if several different CDs give same error, the probably time to get in a new drive.

Other thing is that:
Quote:

When i try to maunt my hardrive i get the following:

[root@fresh4 root]# mount /dev/cdrom /cdrom/
/dev/cdrom: Input/output error
do you want to mount a harddrive or a CDROM?

jomen 03-20-2006 03:49 AM

...or are you by any chance trying to mount an audio-cd? --> Not possible and also not needed to play it.


All times are GMT -5. The time now is 04:39 PM.