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 08-13-2005, 08:48 AM   #1
chandu
LQ Newbie
 
Registered: May 2004
Posts: 13

Rep: Reputation: 0
HDD mounting


HI all,
can any body help me in mounting a HHD. When ever the system reboots, I need to mount it back manually, although I have added the below line in /etc/fstab

none /opt2 ext3 defaults 0 0

chandu
 
Old 08-13-2005, 08:57 AM   #2
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
You need to include the device itself? Something like this:

/dev/hda5 /opt2 ext3 defaults 0 0

Depending on which partition/drive you want to mount.
 
Old 08-13-2005, 09:02 AM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Re: HDD mounting

Quote:
Originally posted by chandu
HI all,
can any body help me in mounting a HHD. When ever the system reboots, I need to mount it back manually, although I have added the below line in /etc/fstab

none /opt2 ext3 defaults 0 0

chandu
That's a funny line!

If you check man mount you'll see the way to mount anything is by giving the the location of what you want to mount (e.g. /dev/hdb), then where you want to mount it (e.g. /mnt/hd2). The line you posted lacks the first ingredient.
Supposing your new HDD is connected to IDE1 as slave you should change 'none' to '/dev/hdb' (without the '') and make sure /opt2 exists.
 
Old 08-13-2005, 09:03 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Re: Re: HDD mounting

Quote:
Originally posted by linmix
That's a funny line!

If you check man mount you'll see the way to mount anything is by giving the the location of what you want to mount (e.g. /dev/hdb), then where you want to mount it (e.g. /mnt/hd2). The line you posted lacks the first ingredient.
Supposing your new HDD is connected to IDE1 as slave you should change 'none' to '/dev/hdb' (without the '') and make sure /opt2 exists.
Surely he needs to mount a partition, ie. use /dev/hdbx as per pnellesen's post?
 
Old 08-13-2005, 09:04 AM   #5
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
include your device in fstab file in /etc directory. Just open it with editor and add necessary lines. What is your device? Specify please

Last edited by SlackerLX; 08-13-2005 at 09:06 AM.
 
Old 08-13-2005, 09:12 AM   #6
chandu
LQ Newbie
 
Registered: May 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks...
This is the first time I am adding HDD, and I was confused with the volumegroups
 
  


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
mounting a USB HDD novacek Linux - Hardware 1 10-08-2005 04:54 AM
Mounting HDD HELP!!! westverg Ubuntu 3 07-05-2005 07:12 PM
Mounting hdd linuxmandrake Linux - Newbie 2 11-19-2004 05:20 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 12:00 PM
Problem with mounting second hdd. Neo22589 Linux - Hardware 6 03-08-2003 03:12 PM


All times are GMT -5. The time now is 11:03 AM.

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