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-03-2008, 07:06 PM   #1 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Automount partition at bootup using UUID in Ubuntu 7.10


Here is a tutorial to mount your drive partitions using UUID (even if u change the label and swap ur hard drives this thing will not change). The UUID of a particular partition changes only after format/deletion of that drive.

Step by step approach:
Step 1 (Create a directory in media folder to mount the desired partition)
use this command
Code:
sudo mkdir /media/dld



Here dld is the directory on which I want to mount sda6 partition





Step 2 (Find out UUID of the desired partition sda6)
use this command to find out UUID
Code:
blkid
or sudo vol_id /dev/sdxx or ls -l /dev/disk/by-uuid




Step 3 (Open fstab file inside /etc directory)
use this command to open fstab file
Code:
sudo gedit /etc/fstab





Step 3 (Edit you fstab file to include the partition sda6 to mount on dld)
include this line (assuming the partition is NTFS)
Code:
# dld
UUID=C21477C91477BECB /media/dld     ntfs   defaults,force,umask=007,gid=46 0       1


Do the same for other partitions
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono

Last edited by Faun; 11-03-2008 at 07:25 PM.
Faun is online now  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-03-2008, 07:10 PM   #2 (permalink)
No longer here..
 
Join Date: Jun 2006
Posts: 198
Default Re: Automount partition at bootup using UUID in Ubuntu 7.10

Thanks man ... I was looking for just a tut like this.Just starting out with ubuntu ...
indian_samosa is offline  
Old 11-03-2008, 07:10 PM   #3 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Re: Automount partition at bootup using UUID in Ubuntu 7.10

^^anytime
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is online now  
Old 11-03-2008, 07:12 PM   #4 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Automount partition at bootup using UUID in Ubuntu 7.10

in ubuntu "vol_id" also reveals UUID
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 11-03-2008, 07:15 PM   #5 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Re: Automount partition at bootup using UUID in Ubuntu 7.10

yup and one more command i dont remember too reveals UUID

post updated
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is online now  
Old 12-03-2008, 12:16 AM   #6 (permalink)
* Teh Flirt King *
 
Quiz_Master's Avatar
 
Join Date: Dec 2005
Location: Originally From : Ratlam M.P., Currently in: Hyderabad
Posts: 972
Default Re: Automount partition at bootup using UUID in Ubuntu 7.10

Gr8 one.. Didn't knew this..
(still a lin n00b I am hehe )

Thanks.. (I grabbed this tut from your blog though)
__________________
World is just a Quizzical Reality : Quiz_Master//Ashwin :D

Blog: http://ashwinsaxena.com/blog - Tech, Life and Other Things.
Quiz_Master is offline  
Old 12-03-2008, 03:11 AM   #7 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Re: Automount partition at bootup using UUID in Ubuntu 7.10

^^actually formatting in blog is a lil difficult so i first post here then just copy/paste there
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is online now  
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Long bootup time in Ubuntu 7.10 (MTA Error) cool_techie_tvm Open Source 2 06-03-2008 02:30 PM
Find and add UUID in fstab phreak0ut Open Source 22 07-11-2007 12:41 PM
ubuntu partition expansion legolas Open Source 7 11-06-2007 07:27 AM
Windows partition in Ubuntu zegulas Open Source 5 15-10-2006 09:58 AM
ubuntu and kubuntu on same partition?? mannu_techy Open Source 2 26-08-2006 12:55 PM

 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




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


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

Search Engine Optimization by vBSEO 3.3.2