LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-20-2001, 04:46 PM   #1
ggramajo
LQ Newbie
 
Registered: Oct 2001
Location: Montevideo
Distribution: RedHat 7.1
Posts: 11

Rep: Reputation: 0
New Hardrive


Anyone can give me details of what to do when im trying to add a new harddrive to a RedHat Linux 6.1 Box.

Thanks in advance,

Gabriel.
 
Old 10-20-2001, 07:14 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
install the drive, and get to a prompt as root, then run diskdruid, cfdisk, or fdisk, in order of niceness...

use the program to create the partitions you require, and then format them with mke2fs.

after that add each relevant mountpoint to /etc/fstab, best to test it out first tho, if your planning on moving /usr or /home etc... to a new partition.
 
Old 10-20-2001, 10:07 PM   #3
ggramajo
LQ Newbie
 
Registered: Oct 2001
Location: Montevideo
Distribution: RedHat 7.1
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks

Thanks for your reply. When you tell me run mk2efs which exactly is the line of command i must run. Because i do it but i receiving an error where rebooting the system related to the new line in the fstab file.

Thanks again,

Gabriel.
 
Old 10-21-2001, 04:49 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
you should just be able to use:

mke2fs /dev/hdb5 for example. if you're not sure what the name of the partition is, cfdisk will show you.

once formatted, try mounting it manually

mount -t ext2 /dev/hdb /mnt/disk

once you can do that, then you can alter teh etc/fstab
 
Old 10-21-2001, 08:31 AM   #5
ggramajo
LQ Newbie
 
Registered: Oct 2001
Location: Montevideo
Distribution: RedHat 7.1
Posts: 11

Original Poster
Rep: Reputation: 0
Thumbs up Thanks a lot

Ill appreciate all your help Chris.

Thanks again,

Gabriel.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Second Hardrive Die Woud Linux - Hardware 16 05-04-2005 09:58 AM
New Hardrive jerimya Linux - Newbie 9 07-23-2004 06:21 PM
adding a new hardrive kinkybullet Linux - Newbie 2 02-09-2004 05:45 PM
hardrive citrus Linux - Hardware 3 01-18-2004 09:35 AM
How much Hardrive would I need? snatale1 Mandriva 2 12-10-2003 06:31 PM


All times are GMT -5. The time now is 10:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration