LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-21-2013, 03:18 PM   #1
skoda
Member
 
Registered: Jun 2013
Posts: 111

Rep: Reputation: Disabled
mount at boot


Hello,

i have to manually run this command in the terminal every time after my centos boot. where should i add this command in linux so it will run automatically at boot.

Quote:
mount -t ntfs-3g /dev/sda6 /windows/d
 
Old 06-21-2013, 03:24 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
autofs should be auto adding it to the gnome left window ,under places .Once you click on the link it will automount in /media/?????

or you can add it to /etc/fstab
BUT selinux will through a "terrible 2's " temper tantrum if you try to mount a partition directly to "/"

CentOS has a folder for mounting partitions "/mnt"

make a folder in /mnt called " windows" and mount it there
 
Old 06-21-2013, 03:41 PM   #3
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
autofs should be auto adding it to the gnome left window ,under places .Once you click on the link it will automount in /media/?????

or you can add it to /etc/fstab
BUT selinux will through a "terrible 2's " temper tantrum if you try to mount a partition directly to "/"

CentOS has a folder for mounting partitions "/mnt"

make a folder in /mnt called " windows" and mount it there
added to fstab and works charm!!! THank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] NFS mount points don't mount during boot Quakeboy02 Debian 11 06-16-2013 07:11 AM
Mount,Computer location error and will not mount any drives but boot! tysonmax20042003 Linux - General 1 09-08-2009 05:59 PM
NTFS mount at boot different from manual mount (international characters) niels.horn Slackware 4 09-18-2008 07:24 PM
FSTAB: My Win Share Wont Mount @ Boot, but will when I sudo mount -a...please help! TruANTOlogy Ubuntu 8 06-20-2006 08:00 AM
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot mjen Linux - Newbie 3 05-19-2004 07:45 AM


All times are GMT -5. The time now is 02:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration