installing a new HDD

i have installed a new HDD on my linux redhat 9 machine.. but it has detected it as a new hardware on reboot. plus what do i need to do to make it available to the system

mount it rite.. well i need help.. Thanks in advance
and do i need to format it or something like for file system .. etc.. like we do in windows
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lomareeAuthor Commented:
or maybe if i do fdisk /dev/hdb and then partition it rite.. rite
To add a disk to an existing system you need to first use fdisk to set up one or more partitions. Then it's necessary to use mke2fs to make a file system on the new partition(s). Once those tasks have been completed you can modify /etc/fstab to mount the new file system at boot.
lomareeAuthor Commented:
yeah i got that one correct , i have also formatted the newly partitioned hdd using

mkfs -t ext2 -j /dev/hdb1

but now i can't seems to mount the file system . what do i do .
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

If you have a valid file system on the partition you need a mount point for it (e.q., 'mkdir /new-disk') and you should then be able to mount it with 'mount /dev/hdb1 /new-disk'. To have it mounted at boot an entry in /etc/fstab is needed, something like:

/dev/hdb1                /new-disk           ext3    defaults        1 2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mkdir /mnt/drive2
mount -t ext2 /dev/hdb1 /mnt/drive2

Should do the trick:)...obviously as root!
I believe I provided the answer to this question.
Karl Heinz KremerCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by jlevie
Please leave any comments here within the next four days.


EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.