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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-21-2005, 09:02 AM
|
#1
|
Member
Registered: Oct 2005
Posts: 31
Rep:
|
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.
|
|
|
10-21-2005, 05:47 PM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
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.)
|
|
|
10-24-2005, 10:47 AM
|
#3
|
Member
Registered: Apr 2004
Posts: 734
Rep:
|
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.
|
|
|
10-25-2005, 01:48 PM
|
#4
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
# fdisk -l (or /sbin/fdisk -l)
will give you full info about alla available drives and their partitions / free space
|
|
|
All times are GMT -5. The time now is 03:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|