Quantcast

Maximum PC

It is currently Tue Sep 16, 2014 3:52 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: removeable disk help!
PostPosted: Tue Aug 25, 2009 12:49 pm 
Million Club - 2 Plus
Million Club - 2 Plus
User avatar

Joined: Sat Jun 07, 2008 9:29 am
Posts: 1105
I'm making my first Ubuntu 9.04 server, its got 9 HDDs in it right now. All of the drives are in NTFS, and every time i reboot, i have to manually go to places > removable media and click on them to mount them to //media. i know little about how Linux works (I'm a windows boy) so i need a way to mount all of these drives permanently.

Thanks! And sorry if I'm vague, I'm still new to the whole Linux thing..


Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 2:41 pm 
8086
8086

Joined: Thu Jul 30, 2009 7:49 am
Posts: 74
go to Adminitsration> Disks, write down the partition names (they should look like /dev/hdb* or /dev/sdb*), write them down. make a folder for each drive(/media is good spot). now open up the file etc\fstab and add a line like this at the bottom for each drive.
Code:
/dev/foo media/mountpoint ntfs users,rw,owner,umask=000 0 0

Where dev/foo is the name of the partition, mount/point is the mount point, and ntfs is the filesystem, so you dont need to change that.


Last edited by freak720 on Tue Aug 25, 2009 2:43 pm, edited 1 time in total.

Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 2:42 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
and these are external HDs that you have hooked up at once?

I suppose you could add something to fstab as freak suggested, but I'm not sure that's entirely the right approach here.

I guess I'm just confused how removable media is coming into play here or just puzzled as to what you're doing and what you're wanting to happen, outside of wanting them to automatically mount.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 3:40 pm 
Monkey Federation (Top 10)*
Monkey Federation (Top 10)*
User avatar

Joined: Sun May 22, 2005 8:28 am
Posts: 3673
Location: The Blue Nowhere
You could go the route Freak suggested or you could look at udev rules. I quickly looked this over and it should at least get you started:

http://ubuntu-tutorials.com/2006/12/06/how-to-always-mount-removable-drives-in-the-same-place-ubuntu-6061-610


Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 4:17 pm 
Million Club - 2 Plus
Million Club - 2 Plus
User avatar

Joined: Sat Jun 07, 2008 9:29 am
Posts: 1105
Thats why im confused, these are INTERNAL IDE HDDs. but linux is seeing them as removable disks.

I'm going to try that now, thanks for the input!

EDIT: for do i open etc\fstab?

And i dont have "Disks" under Administration, do i have to install Gparted? ill do it anyway...


Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 4:45 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
Denis63 wrote:
EDIT: for do i open etc\fstab?


go into a terminal and type sudo gedit /etc/fstab

You should be able to list all your partitions via

sudo fdisk -l

in a terminal also.

Alternatively running gnomesu through run application should open a terminal with the proper permissions also (admittedly, I've never tried that in Ubuntu though).

Doing on a google with mount ntfs fstab should give you plenty of results on what needs to go in there.

I guess if they're not mounted, I could see why they'd show up in removable disks.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 6:22 pm 
Million Club - 5 Plus*
Million Club - 5 Plus*
User avatar

Joined: Sun Sep 12, 2004 6:37 pm
Posts: 4745
Location: In the monkey's litterbox
freak720 wrote:
go to Adminitsration> Disks, write down the partition names (they should look like /dev/hdb* or /dev/sdb*), write them down. make a folder for each drive(/media is good spot). now open up the file etc\fstab and add a line like this at the bottom for each drive.
Code:
/dev/foo media/mountpoint ntfs users,rw,owner,umask=000 0 0

Where dev/foo is the name of the partition, mount/point is the mount point, and ntfs is the filesystem, so you dont need to change that.


You probably want to use ntfs-3g as the filesystem instead of ntfs. ntfs-3g is the ntfs driver that allows for read-write interactions.


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group