LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Hard drives fail to mount. (https://www.linuxquestions.org/questions/linux-hardware-18/hard-drives-fail-to-mount-377542/)

MurX 10-27-2005 04:53 PM

Hard drives fail to mount.
 
I modified the /etc/stab file so that I could see some of the other partitions on the other HDs in my Pc but when I click on the drive icons I get the error:

Could not mount device:

The reported error was: mount:mount point /mnt/sdc6 does not exist (where sdc6 is the HD partition that I am trying to read.

I get a similar error if I try and read a CD or a DVD. It says:

mount: I could not determine the filesystem type, and none was speciified.

rodm13 10-27-2005 05:15 PM

Could you please post the contents of /etc/fstab ?

MurX 10-29-2005 01:08 PM

OK here is my fstab file.

I use this one here just to detect the main drives.

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
/dev/sda5 swap swap defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sdd1 /media/usbdisk vfat pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy1 auto pamconsole,exec,noauto,managed 0 0
/dev/hdb /media/cdrecorder1 auto pamconsole,exec,noauto,managed 0 0
/dev/hda /media/cdrecorder2 auto pamconsole,exec,noauto,managed 0 0
/dev/sdb6 /mnt/sdb6 vfat users,umask=0000 0 0
/dev/sdb8 /mnt/sdb8 vfat users,umask=0000 0 0

When I am booting it says that it failed to mount sdb8???

I then tried this fstab file which I picked up from a bootable CD and I deleted some of the ntfs drives because they just contain windows xp and FC4 does not need to read or write to those.

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
/proc /proc proc defaults 0 0
/sys /sys sysfs noauto 0 0
/dev/pts /dev/pts devpts mode=0622 0 0
#/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
#/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
/dev/cdromhda /mnt/auto/cdromhda auto users,noauto,exec,ro 0 0
/dev/cdromhdb /mnt/auto/cdromhdb auto users,noauto,exec,ro 0 0

/dev/sda1 /mnt/sda1 vfat noauto,noatime,users,exec,umask=000,uid=studio,gid=studio 0 0

/dev/sdb1 /mnt/sdb1 ext3 noauto,noatime,users,exec 0 0

/dev/sdb3 /mnt/sdb3 auto noauto,noatime,users,exec 0 0

/dev/sdb5 none swap defaults 0 0

/dev/sdb6 /mnt/sdb6 ext3 noauto,noatime,users,exec 0 0

/dev/sdb7 /mnt/sdb7 auto noauto,noatime,users,exec 0 0

/dev/sdc6 /mnt/sdc6 vfat noauto,noatime,users,exec,umask=000,uid=studio,gid=studio 0 0

/dev/sdc8 /mnt/sdc8 vfat noauto,noatime,users,exec,umask=000,uid=studio,gid=studio 0 0

/dev/sdc9 /mnt/sdc9 vfat noauto,noatime,users,exec,umask=000,uid=studio,gid=studio 0 0

/dev/sdd1 /mnt/sdd1 vfat noauto,noatime,users,exec,umask=000,uid=studio,gid=studio 0 0
/dev/fd0 /media/floppy2 auto pamconsole,exec,noauto,managed 0 0
/dev/hdb /media/cdrecorder6 auto pamconsole,exec,noauto,managed 0 0
/dev/hda /media/cdrecorder7 auto pamconsole,exec,noauto,managed 0 0

Thanks for any help that you can provide.

rodm13 11-01-2005 01:48 AM

Do you have a directory named /mnt/sdc6 ? There are 2 major steps to mounting a device.

1) Putting an enrty in your fstab for it.
2) Making a physical directory where you want the filesystem to be "mounted", or put.

Go to /mnt and see if you have any directories there, specifically ones named the same as in your fstab for devices you want to mount.

Example:

I want to mount my windows XP hard drive. I need to first specify in the fstab to mount the drive, whatever it might be. (see diagram of an fstab entry below)


Code:

Name of device    Path to where the filesystem will go      Filesystem type      Other stuff that's not important now.
                  (should be an empty dir)                (whatever your drive is)         
/dev/sdc6            /mnt/sdc6                              vfat                        user,umask=0000 0 0

Second, I need to make the directory if it doesn't exist already.

Code:

ls -a /mnt/sdc6
This should show an empty directory. If it says it doesn't exist, try this as root
Code:

mkdir /mnt/sdc6
I hope this helps, but if not, I'm tired and rambling, so just holler.

MurX 11-01-2005 05:36 AM

Thanks rodm13, I'll try that later and see what happens. I'll let you know how I get on in the next couple of days or so.


All times are GMT -5. The time now is 10:14 PM.