LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-15-2007, 12:59 AM   #1
linuxsikandar
LQ Newbie
 
Registered: Nov 2007
Posts: 19

Rep: Reputation: 0
how to add new sata hard disk


Dear All,

Can anyone please tell me the step by step procedure to add new 500 gb
sata hdd in linux box.

Thanks in advance
 
Old 11-15-2007, 01:26 AM   #2
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
Hi, The process is the same if you were to do it in a Windows machine. First you need to know what you are doing and have a basic understanding of electronics in order to keep your computer safe. Be aware that this can damage your other hard drive or other components of your computer system. Do it at your own risk.

You will need a phillips screw driver and, of course, some attention. Also, a SATA cable for the new drive. You need to check that your power supply can handle the extra load.

1) Unplug the power cord from the computer. Open the computer case. Touch the case to discharge any ESD from your body.
2) Locate an empty slot for the drive in the case, make sure it is within reach to the SATA connector on your motherboard.
3)check the jumpers on the drive. There should be a table on the drive saying the mode: slave, master, ... Set it accordingly.
4) Install the drive in the slot carefully.
5) Connect the cable from the drive to the mobo (you will be able to tell because the connector has a very particular shape)
6) connect the power cable to the drive (also has a very particular shape)
7) make sure that you didnt leave any metal in the case and close it.
8) plug the power cable and power on the system.
9) the drive should be presented in the BIOS. Press DEL to enter setup (or whatever other key your BIOS uses) and verify that the drive is enabled and that it is listed.
10) boot your linux
11) Post back if you get this far. We will need to partition and format the drive.

Good luck.
 
Old 11-15-2007, 02:26 AM   #3
Eniac
Member
 
Registered: May 2006
Posts: 35

Rep: Reputation: 15
Sata

After that u can use fdisk
to partitions your hard drive and mount it
 
Old 11-15-2007, 05:10 AM   #4
linuxsikandar
LQ Newbie
 
Registered: Nov 2007
Posts: 19

Original Poster
Rep: Reputation: 0
Thumbs down

Thanks leosgb for step by step procedure

Done the same !

can u plese tell me the procedrue for partitioning hard disk and how to mount it permanently ?
 
Old 11-15-2007, 05:36 AM   #5
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Quote:
can u plese tell me the procedrue for partitioning hard disk
Do a search on this site like "How to partition a harddrive" I'm sure this subject has been touched on 1000 times before.


Quote:
how to mount it permanently ?
As for adding a new harddrive to linux take a look Here.
 
Old 11-15-2007, 07:27 AM   #6
ziggy25
Member
 
Registered: Aug 2005
Distribution: Debian 5.2
Posts: 56

Rep: Reputation: 15
Quote:
Originally Posted by leosgb View Post
3)check the jumpers on the drive. There should be a table on the drive saying the mode: slave, master, ... Set it accordingly.
Good luck.
I thought SATA drives dont have jumpers.. do they still have to be set to master and slave?
 
Old 11-15-2007, 11:01 AM   #7
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
I dont even remember if they do. I just added there to be on the safe side since the PATA drives do have it. If it doesnt have jumpers, then ignore step #3.

As for the rest now, you got some good tips on how to go already.

You should read man page for fdisk or you can check, this is a great guide:
http://www.gentoo.org/doc/en/handboo...?part=1&chap=4

And then all you need to do is to create your fstab, so the drives will be mounted at boot time. You can also read the man page for fstab or again:
http://www.gentoo.org/doc/en/handboo...?part=1&chap=8

This is mine:
Code:
/dev/sda2               /boot           ext2            noauto,noatime  1 2
/dev/sda1               /               auto            noatime         0 1
/dev/sda4               none            swap            sw              0 0
/dev/sda3               /home           ext3            noatime         0 1
/dev/cdrom              /mnt/cdrom      auto            noauto,user     0 0
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
proc                    /proc           proc            nodev,nosuid,noexec     0 0
Good luck.
 
Old 11-15-2007, 11:33 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,520

Rep: Reputation: 70
Quote:
Originally Posted by ziggy25 View Post
I thought SATA drives dont have jumpers.. do they still have to be set to master and slave?
They don't have master/slave jumpers ALL SATA drives are masters on their own individual channel what some of them can have like mine if it is a SATA 300 drive is a jumper to set them to SATA 150 mode so they will work on older boards that will not do the auto-detection properly and fall back to SATA 150 so you need to force it to do so with the jumper.

Edit: I may as well suggest using cfdisk to the original poster for partitioning it is easier to use than plain old fdisk that thing gives me a headache trying to figure out the partition numbering whereas cfdisk does it semi-graphically.

Last edited by HappyTux; 11-15-2007 at 11:37 AM.
 
  


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
How could add new Hard Disk in Raid umar79 Linux - General 4 11-06-2007 01:47 AM
SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux) Peter_APIIT Fedora 6 07-07-2007 01:20 AM
Sata Hard Disk Slacktyro Slackware - Installation 3 09-09-2006 02:39 AM
Add a second hard disk manoj142 Linux - Hardware 3 10-25-2005 01:48 PM
Add new hard disk to the system. benoy4007 Red Hat 1 08-15-2004 09:39 AM


All times are GMT -5. The time now is 06:22 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