LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hd mount issues (https://www.linuxquestions.org/questions/linux-newbie-8/hd-mount-issues-123673/)

{sn!per} 12-07-2003 06:34 PM

hd mount issues
 
my fstab
Code:

/dev/hdb1        /                        reisrfs            defaults                1  1
/dev/cdrom        /mnt/cdrom      iso9600          noauto,owner,ro    0  0
/dev/fd0            /mnt/floppy      auto                noauto,owner        0  0
/dev/hda3          /home/win-x    vfat                auto,owner            0  0
/dev/hda4          /home/win-z    vfat                auto,owner            0  0

This is the error I get
Code:

Called: mount -tvfat/dev/hda3/home/win-x -a auto,owner
mount: wrong fs type,bad option, bad superblock on /dev/hda3, or too many mounted file systems
(could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?)

1)this is an ata ide drive
2)mount path is correct (/home/win-x) (/home/win-z)
3)file system is fat32 (vfat)

hda1 is windows partion
hda2 is a ntfs partion
hda3 is fat32
hda4 is fat32

can anyone help ?

Nis 12-07-2003 06:45 PM

Try just 'mount /home/win-x'

J.W. 12-07-2003 09:20 PM

Well what command are you entering to mount win-x and win-z ? At least from the error message, it looks like you are basically just missing some spaces. As you probably know, the basic syntax for the mount command is: mount [options] [device] [directory] (Run the man command for mount to get the full details.)

In your example, if I wanted to mount hda to the /home/win-x mountpoint, I would enter:

mount -t vfat /dev/hda3 /home/win-x

Hopefully that should do it -- J.W.

{sn!per} 12-08-2003 06:37 PM

syntax is most likely my issue seeing my Friend came down to install it and had to go back home (2hrs away) so I had to try to remember what I could cram in my head in 2 days.

I REALLY DO THANK YOU ALL FOR YOU HELP

michaelk 12-08-2003 08:20 PM

Are you sure hda3 is the correct partition? What distro version your your running.

Logged in as root, in a console window
fdisk -l /dev/hda (a small L)

{sn!per} 12-08-2003 08:45 PM

I am running slack 9.1 and I used my hdb1 for my Linux portion. hda is my windows portions, as follows hda1 is the one that xp is on. hda2 is my general web dev. portion. hda3 and hda4 are my general use dumps or at least that is the way the portions are ordered in the drive.

and I also do log in as root as well

:Pengy: :newbie:

J.W. 12-09-2003 03:33 AM

You generally need to be root in order to mount or unmount devices. The command I listed in my previous post should permit you to mount hda3 and make it accessible to your Linux system. Note that you would be able to copy files from a Windows directory to a Linux directory, but you should not copy files from a Linux directory to Windows. Along these lines, only files that are in formats recognizable by Linux will be able to be opened (ie, Linux will happily read html, jpg, txt, etc files, but copying exe files over is pretty pointless (unless you are running wine or the like)) -- J.W.

{sn!per} 12-09-2003 01:15 PM

I only have a root account on the box. and sorry j.w. tried the line like four times no luck and i did use correct syntax. I get this error when i try to mount it in kde that says something about a bad or wrong superblock. because i know it is the right file type

whansard 12-09-2003 01:20 PM

linux is good at detecting the types of filesystems on it's own, and rarely
needs the the filesystem type included with the mount command.
it's just more proper to use it.
fdisk -l
will list all the partitions
mount /dev/hda3 /home/win-x
should work unless the drive is ntfs, and the
directory /home/win-x must exist.


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