Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-06-2009, 09:16 PM   #1 (permalink)
From Sri Lanka
 
thilina's Avatar
 
Join Date: Aug 2006
Location: Sri Lanka
Posts: 171
Default Mounting partitions in Ubuntu


Guyz,
Hw can I make ma partitions mount automatically when Ubuntu starts??I've Ubuntu 8.10 & it doesnt do so.
thilina is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-06-2009, 10:04 PM   #2 (permalink)
Human Spambot
 
Join Date: Jan 2007
Location: Lat 28.38°N , Longt 77.13°E
Posts: 2,431
Default Re: Mounting partitions in Ubuntu

You have to modify /etc/fstab file for that.
ThinkFree is offline  
Old 11-06-2009, 10:05 PM   #3 (permalink)
From Sri Lanka
 
thilina's Avatar
 
Join Date: Aug 2006
Location: Sri Lanka
Posts: 171
Default Re: Mounting partitions in Ubuntu

gud answer!!
I knw dat I need to modify dat.Bt Hw??
thilina is offline  
Old 11-06-2009, 10:06 PM   #4 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Mounting partitions in Ubuntu

What partitions? Windows ntfs? Download ntfs-config using Synaptic.

Click Applications->Accessories->Terminal

Type
sudo ntfs-config
and press ENTER.

Key in your password and press ENTER.

Mark the drives you want to mount. Click the mount point option in that and type c or d or any other name you want to recognise that partition by.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 11-06-2009, 10:10 PM   #5 (permalink)
From Sri Lanka
 
thilina's Avatar
 
Join Date: Aug 2006
Location: Sri Lanka
Posts: 171
Default Re: Mounting partitions in Ubuntu

Fat32 & NTFS

When i click on them in the Gnome menu they get mounted.Bt I need them to get mounted when ubuntu starts up
thilina is offline  
Old 11-06-2009, 10:16 PM   #6 (permalink)
Human Spambot
 
Join Date: Jan 2007
Location: Lat 28.38°N , Longt 77.13°E
Posts: 2,431
Default Re: Mounting partitions in Ubuntu

/dev/sda1 /media/windows/ ntfs defaults,auto,user,rw 0 0

Add this entry to /etc/fstab if you want to mount your first partition at /media/windows folder in linux. /media/windows directory is required to be created first. See man pages for more details.
ThinkFree is offline  
Old 11-06-2009, 10:20 PM   #7 (permalink)
From Sri Lanka
 
thilina's Avatar
 
Join Date: Aug 2006
Location: Sri Lanka
Posts: 171
Default Re: Mounting partitions in Ubuntu

Quote:
Originally Posted by ThinkFree View Post
/dev/sda1 /media/windows/ ntfs defaults,auto,user,rw 0 0

Add this entry to /etc/fstab if you want to mount your first partition at /media/windows folder in linux. /media/windows directory is required to be created first. See man pages for more details.

Thx frnds.Ill chk dz n tell u d results tomorrow. Tl den bye
thilina is offline  
Old 12-06-2009, 02:05 PM   #8 (permalink)
From Sri Lanka
 
thilina's Avatar
 
Join Date: Aug 2006
Location: Sri Lanka
Posts: 171
Default Re: Mounting partitions in Ubuntu

K guyz I tried it,bt small problm.

K guys this is ma original fstab file

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=9fddddd6-8a3f-4a3b-a2d5-51b7056fcdab / ext3 relatime,errors=remount-ro 0 1
# /dev/sda6
UUID=782d7344-82c1-4d65-93cd-a3f5332c43be none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0



Then after I edited it it looks like this.

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=9fddddd6-8a3f-4a3b-a2d5-51b7056fcdab / ext3 relatime,errors=remount-ro 0 1
# /dev/sda6
UUID=782d7344-82c1-4d65-93cd-a3f5332c43be none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0

/dev/sda1 /media/WINDOWS ntfs defaults,auto,user,rw 0 0

/dev/sda7 /media/DATA vfat defaults,auto,user,rw 0 0

/dev/sdb6 /media/EXTRA vfat defaults,auto,user,rw 0 0

/dev/sdb5 /media/SHARED vfat defaults,auto,user,rw 0 0[/FONT]


Nw all the partitions get mounted on the startup without any problms.Bt I (in ma account) cnt write to Vfat partitions in ma pc.Bt cn write to NTFS partitions via my account.Bt as Root I can write to all the partitions with no problems.What shud I do for this?
thilina is offline  
Old 12-06-2009, 03:59 PM   #9 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Mounting partitions in Ubuntu

to defaults,auto,user,rw add umask=0002
so that looks like
defaults,auto,user,rw,umask=0002
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 12-06-2009, 04:03 PM   #10 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Mounting partitions in Ubuntu

to defaults,auto,user,rw add umask=0002
so that looks like
defaults,auto,user,rw,umask=0002
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 04:36 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2