LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-21-2005, 09:02 AM   #1
manoj142
Member
 
Registered: Oct 2005
Posts: 31

Rep: Reputation: 15
Add a second hard disk


Hi,

We just bought a new INTEL XEON DualProcessor server with 160GB HDD.

I will install Windows 2003 Server on 80GB & RHEL 4.0 on the remaining

Windows will have 3 partitons c: 30GB, D:30GB & E: 20GB

Now we have purchased another disk of 160GB

How will I spilt the disk in Windows[80GB] & RHEL[80GB]. For windows is OK but how can I add the 2nd disk with 80GB to RHEL

What steps I have to follow

Thanks in advance

Regards,

Manoj Patil.
 
Old 10-21-2005, 05:47 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
First you'll need to make the partitions and create the filesystem for those partitions. You can do that with qtparted (for example)

Then you need to mount the new partition(s) in your linux OS.

To do so as toor isue the following commands:

#mkdir /mnt/newpartition (to make a mountpoint in /mnt with the name of your choice)

#mount -t ext3 /dev/hdb2 /mnt/newpartition (provided the new HDD is connected as slave to the 1st ide cable (hdb) and the linux partition is the second (2) primary partition on the disk and the fle system type (-t) is ext3)

If that worked you're ready to add a line to fstab (/etc/fstab) so that the partition will be automatically mounted the next time you reboot.

/dev/hdb2 /mnt/newpartition ext3 defaults,users,umask=000 0 0 (that should do it.)
 
Old 10-24-2005, 10:47 AM   #3
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
I might add:

The very first thing you may want to do after physically installing the drive is do a cfdisk to find out what device the drive is assigned, and what file system is recognized (if any). If you are using IDE, the second drive will probably be /dev/hdb.

You can check that with fdisk, if you don't have cfdisk.
 
Old 10-25-2005, 01:48 PM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
# fdisk -l (or /sbin/fdisk -l)
will give you full info about alla available drives and their partitions / free space
 
  


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
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 01:51 AM
Add new hard disk to the system. benoy4007 Red Hat 1 08-15-2004 09:39 AM
Add Hard disk for swap space with problems in boot sector rkes7 Linux - Hardware 1 01-25-2004 03:41 AM
how to add cd-rom, dvd-rom, floppy, hard disk icons on gnome desktop? spyghost Linux - Software 6 09-21-2003 06:44 PM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03: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
Open Source Consulting | Domain Registration