Linux-Noob Forums

Full Version: Mounted Hard Drives?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I have SUSE 10.1 and after i intalled it i plugged in a new sata hard drive

 

now when i go to system:/media i can see the new drive, only it does not have a green arrow next to it like the others do

 

when i mouse over it it says it's an unmounted hard drive

 

yet when i try to mount it i get the error Permissing Denied

 

how can i mount the new hard drive so i can see it in SUSE?

 

thanks


Hi,

 

What you will need to do is become root and change into the media directory. To do this follow these steps:

 



Code:
su -




 

Once you have issued that enter your root password then type:

 



Code:
cd /media




 

The what you want to do is mount the drive:

 



Code:
mount drivename




 

then you can change into your drvie:

 



Code:
cd drivename




 

To make it so the users can access the mount point you will need to edit your /etc/fstab file and set a umask along with

auto mount. Would it be possible for you to paste your /etc/fstab file


i don't know what i should use as the device name? how do i find that out?

 

here's my fstab

 



Code:
/dev/sda6            /                    reiserfs   acl,user_xattr        1 1
/dev/sda7            /home                reiserfs   acl,user_xattr        1 2
/dev/sda1            /windows/C           ntfs       ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5            swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/fd0             /media/floppy        auto       noauto,user,sync      0 0




 

thanks




Code:
/dev/sda6            /                    reiserfs   acl,user_xattr        1 1
/dev/sda7            /home                reiserfs   acl,user_xattr        1 2
/dev/sda1            /windows/C           ntfs       auto,ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5            swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/fd0             /media/floppy        auto       noauto,user,sync      0 0




 

sda1 is your windows parition. Notice on the /windows/C line I added auto this will auto mount this partition for you when you

reboot and will always be mounted at boot. anyways as root if you have'nt rebooted you can type:

 



Code:
mount -a




 

Which means mount all and the you should be able to navigate to /windows/C where all you windows files will be.