Linux-Noob Forums
Mounted Hard Drives? - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+---- Forum: Filesystem Management (https://www.linux-noob.com/forums/forum-26.html)
+---- Thread: Mounted Hard Drives? (/thread-1951.html)



Mounted Hard Drives? - eggnog - 2006-05-28


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




Mounted Hard Drives? - xDamox - 2006-05-29


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




Mounted Hard Drives? - eggnog - 2006-05-30


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




Mounted Hard Drives? - xDamox - 2006-05-30




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.