LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2010, 07:32 PM   #1
asumofparts
LQ Newbie
 
Registered: Sep 2010
Location: Phoenix Arizona
Posts: 11

Rep: Reputation: 0
Mounting drive at startup


I had windows vista on one partition, xp on another documents on another and programs on another.

When I installed ubuntu on a new partition it very kindly let me see all the other partitions and mount them as necessary. I would like all my ubuntu files, documents music downloads to go right on to the documents partition so when I back up that drive to an external I have it backs up the documents drive it has all the files I have created in vista or ubuntu. Eventually I want to leave windows completely but I would still want to store all the ubuntu files on the documents drive.

Now .. I can go to "places" and mount the documents drive but what I would like to do is when I fire up ubuntu that the documents drive mounts automatically.
Alex
 
Old 10-08-2010, 07:53 PM   #2
animeman
Member
 
Registered: Dec 2009
Location: Bad Axe mi
Distribution: gentoo, Android, bohidI
Posts: 85

Rep: Reputation: 17
they way i would do it is put in a custom command for mounting that drive like so more or less
mnt /dev/sda1 /mnt/documents (i know thats your main hdd but you get the idea)
in theory that should work im not compleatly sure though worth a try
 
Old 10-09-2010, 02:49 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by animeman View Post
they way i would do it is put in a custom command for mounting that drive like so more or less
mnt /dev/sda1 /mnt/documents (i know thats your main hdd but you get the idea)
in theory that should work im not compleatly sure though worth a try
There is no need to do it this way. Adding an entry to /etc/fstab should suffice. asumofparts, you'll want to look at the man pages for fstab and mount in order to do this.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a Second Hard Drive at Startup Cheemag Linux - Newbie 2 11-23-2009 04:30 AM
fedora 7: autofs is not mounting USB flash drive or DVD ROM drive Hewson Linux - General 3 05-12-2008 08:58 AM
help mounting at startup mallyooh Linux - Newbie 2 09-25-2004 03:56 PM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
mounting at startup Druaga Linux - Hardware 5 08-22-2002 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration