Rudy Posted January 22, 2003 Share Posted January 22, 2003 i can't mount my fat32 drive :( when i type : mount /dev/hda1 /mnt/C i get : only root can mount and if i go and log in as root i can do it but it wont be mounted for my other login Link to comment Share on other sites More sharing options...
zivan56 Posted January 22, 2003 Share Posted January 22, 2003 Edit /etc/fstab and add a line like: /dev/hda1 /mnt/C auto user 0 0 Link to comment Share on other sites More sharing options...
Rudy Posted January 22, 2003 Author Share Posted January 22, 2003 is there any ways to run soemthing as root?? i remember in mandrake i could but i cant find it in redhat Link to comment Share on other sites More sharing options...
kjordan2001 Posted January 22, 2003 Share Posted January 22, 2003 is there any ways to run soemthing as root?? i remember in mandrake i could but i cant find it in redhat To run something? Run what? Link to comment Share on other sites More sharing options...
Rudy Posted January 22, 2003 Author Share Posted January 22, 2003 i mean run a command or a program Link to comment Share on other sites More sharing options...
BxBoy Posted January 22, 2003 Share Posted January 22, 2003 man sudo Link to comment Share on other sites More sharing options...
uniacid Posted January 22, 2003 Share Posted January 22, 2003 in RH goto start menu, "Run command" Link to comment Share on other sites More sharing options...
Prasanth Posted January 22, 2003 Share Posted January 22, 2003 is there any ways to run soemthing as root?? i remember in mandrake i could but i cant find it in redhat Type su and type your root pass and run the command, If this is what you want. http://www.tldp.org is a good site for simple questions related for mounting file systems etc. Link to comment Share on other sites More sharing options...
Rudy Posted January 22, 2003 Author Share Posted January 22, 2003 Edit /etc/fstaband add a line like: /dev/hda1 /mnt/C auto user 0 0 i tried that but all the files are not working and if i double click in a directory it disapear Link to comment Share on other sites More sharing options...
Rudy Posted January 22, 2003 Author Share Posted January 22, 2003 now it tells me that the access is denied :( Link to comment Share on other sites More sharing options...
Prasanth Posted January 22, 2003 Share Posted January 22, 2003 Try this: /dev/hda1 /mnt/win vfat defaults 0 0 Link to comment Share on other sites More sharing options...
uniacid Posted January 22, 2003 Share Posted January 22, 2003 u gotta set the permissions mount /dev/hda1 /mnt/windows -t vfat -r -o umask=0222 Link to comment Share on other sites More sharing options...
Rudy Posted January 22, 2003 Author Share Posted January 22, 2003 Try this:/dev/hda1 /mnt/win vfat defaults 0 0 this doesnt work :( Link to comment Share on other sites More sharing options...
werwolf Posted January 22, 2003 Share Posted January 22, 2003 there are two different things being thrown around here, if you want to a) mount the drive on start up then: add this line to fstab /dev/hda1 /mnt/[whatever you want to call this subfolder] vfat defaults 0 0 if this isnt working is check to see if this is actually where your fat32 partition lies to do this, go to terminal and type fdisk -l if you just want to mount the drive/partition as a one time deal in a login other than root, then, in terminal type: su [your root password] and then type mount /dev/hda1 /mnt/[whatever you want to call this subfolder] -vfat umask=0000 some may complain about the umask setting and its glaring lack of security, but as youre already logged on this should be fine, since when you log out, the it will be unmounted and not remounted at startup and, if youre having problems with perrmissions, that umask setting should clear it up to then reliquish your root privlidges: exit and then feel free to close the terminal hope this is of help Link to comment Share on other sites More sharing options...
dmd3x Posted January 22, 2003 Share Posted January 22, 2003 there are two different things being thrown around here, if you want to a) mount the drive on start up then:add this line to fstab /dev/hda1 /mnt/[whatever you want to call this subfolder] vfat defaults 0 0 if this isnt working is check to see if this is actually where your fat32 partition lies to do this, go to terminal and type fdisk -l if you just want to mount the drive/partition as a one time deal in a login other than root, then, in terminal type: su [your root password] and then type mount /dev/hda1 /mnt/[whatever you want to call this subfolder] -vfat umask=0000 some may complain about the umask setting and its glaring lack of security, but as youre already logged on this should be fine, since when you log out, the it will be unmounted and not remounted at startup and, if youre having problems with perrmissions, that umask setting should clear it up to then reliquish your root privlidges: exit and then feel free to close the terminal hope this is of help Very nicely put. ;) Link to comment Share on other sites More sharing options...
werwolf Posted January 23, 2003 Share Posted January 23, 2003 why thank you Link to comment Share on other sites More sharing options...
Recommended Posts