LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-09-2005, 09:11 PM   #1
lennysokol
Member
 
Registered: Feb 2005
Posts: 65

Rep: Reputation: 16
Install Additional Hard Drive in Fedora


To all -

Can anybody tell me what preperations I may need on adding another hard drive to my server? Currently I am running a PowerEdge 1600SC with a primary SCSI Hard Drive for bootup of Fedora. I'd like to add another hard drive (internal) that I bought (IDE). Once restarting the server, (if BIOS recongizes, etc...) what steps do I take next? Do I need to edit some system files or does Fedora still keep my current bootup drive the same? Will all I have to do is just mount the extra drive and format? How will I know which drive is which?

Any help would be great! :-)

P.S. I do have an IDe and SCSI Card, so I believe I can use both.

Thanks! :-)
 
Old 03-10-2005, 09:01 AM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
You said you have a SCSI disk as your primary, so it's probably labeled /dev/sda

If you stick in an IDE, it will be labeled /dev/hd[some letter].

I'm going to guess that it's /dev/hda, but it's possible it coule be /dev/hdb, never tried this before.

Anyway, once you power off, install HD, power on, you'll type

fdisk /dev/hda

If that doesn't work, as in it doesn't see a drive there, type hdb instead.

You'll want to create a new partition on it, of whatever size. Maybe multiple partitions. You'll want to make the partition Linux ( all this is done in fdisk, I expect you to figure it out, since it's kind of obvious )

Once you're happy with the partition on the disk, you'll want to save it or write it.

Then you'll need to make a new FS on the disk. You'll use, mkfs, you'll use mkfs.ext3 on it. If you want to pre label it, you can, say you want to make an /other partition. You'd do something like this:

mkfs.ext3 -L /other /dev/hda1

Otherwise, man mkfs.ext3, man is your friend.

From there you'll edit your /etc/fstab, by adding the new disk in to it.

Then you'll do a mkdir /other ( after all there has to be some place for the mount to attach to )

Last but not least, you'll do a mount /other

That's it in a nutshell.
 
Old 03-10-2005, 09:54 AM   #3
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Before installing, you need to be wary of Grub as your bootloader. Linux assignes seperate types of device nodes for IDE and SCSI, /dev/sdx and /dev/hdx, but Grub assignes numbers based on the boot order (I belive) so the safest bet is to get the BIOS to recognize the new hard disk as a boot device AFTER the current one, otherwise you will end up staring at
Code:
Grub>
in frustration.
 
Old 03-10-2005, 02:33 PM   #4
lennysokol
Member
 
Registered: Feb 2005
Posts: 65

Original Poster
Rep: Reputation: 16
Thanks! :-) You seem to know how to do this...

Just one thing, though...

However, I am very new to the Linux command prompt. I do know that Fedora 3 has an easy GUI for the hard drives? Will all I have to do there is mount the drive, (that you listed as being an IDE) and Linux should recongize the drive? Are there any common "dummy" stuff that beginners do, that you could inform me so I don't trash the machine? If you could give me some intro. onto adding the drive via the built-in Fedora GUI, that'd be great.
 
Old 03-10-2005, 04:44 PM   #5
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
All he's doing is adding a disk, his grub.conf info won't change so long as the disk he's adding won't be the root disk, which he doesn't seem to be stating.

All you have to do is follow the steps I laid out. You could also go to google and type add disk fedora, and you'll probably find the same info.
 
  


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
install fedora 4 FROM hard drive blizunt7 Fedora 8 09-07-2005 01:02 PM
Fedora 1 will not install on USB hard drive sidehillbill Linux - Newbie 2 02-08-2005 04:48 PM
Install Fedora on external USB 2.0 hard drive neomatic Linux - Hardware 0 07-30-2004 04:54 PM
can't boot XP from second hard drive after Fedora install geek in the Lou Linux - Newbie 9 02-20-2004 07:01 AM
How to see additional hard drive under Mandrake ncabell Linux - Newbie 3 11-05-2003 11:13 AM

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

All times are GMT -5. The time now is 05:51 PM.

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