Mounting a Hard Drive
I wish to mount my Windows hard drive. I am using FC2.
Now, I have a folder created, I have fstab recognizing that there is a vfat windows drive as hda1, but I need to be root to actually mount it. Unfortunatly, I cannot figure out how to mount it. Is there a way to sign in as root, so I dont have to deal with permissions? The location is: /mnt/hda1 The drive is:... hda1 Please, someone tell me how to mount my hard drive. |
To sign in as root, type
su it will ask for your password. su stands for "substitute user". HTH, Samsara |
All right, but how do I actually mound my drive?
|
do you want read-write access to this partition? If you only want Read-Only then put this into fstab for the partition you're after:
Code:
/dev/hda1 /mnt/hdd1 vfat ro,user,noauto,umask=002 1 0 Code:
/dev/hda1 /mnt/hdd1 vfat rw,user,noauto,umask=000 1 0 Edit: do this all as root too, then simply type mount and it should mount all filesystems that it reads from the fstab file... |
if fstab is OK
then mount /mnt/hda1 or mount /dev/hda1 . Both do the same. Also if you erase the noauto option of the device in fstab, then the drive will be mounted automatic at startup |
Great! Thats a leap forward. I think I had the wrong thing in mf fstab.... but now a new problem arizes:
Error! "mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems." Any... ideas as what to do? |
are you sure it is fat32? If you are working with XP it could be NTFS
|
What type of partition file system is it ntfs or vfat
If ntfs and using orginal fc2 kernel you need to recompile kernel to add ntfs support. |
it very well could be ntfs, but if I need to recompile the cernel, I have no clue what I am doing.
And. I checked, NTFS is not supported by my Kernel. Can someone tell me how to recompile my Kernel? Is it very difficult? |
DO NOT RECOMPILE THE KERNEL!!!
download the suitable rpm from: http://linux-ntfs.sourceforge.net/rpm/fedora2.html and follow the instructions. It works for the precompiled version of FC2 |
All times are GMT -5. The time now is 10:27 AM. |