LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2012, 07:02 PM   #1
iamroger
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
disk config for raid 1 file server


Hello all,
i am new to Linux and am setting up a file server. I want my other windows machines to see and access the files.
Particulars: AMD Dual core on Gigabyte GA-880GA-UD3H board all < 1 yr old.
I have 4 gig of ram.
I want to use a 160gb ide hdd for OS and whatever else for the OS files.
Then I've got two 1 TB drives that I want to use as mirrored raid.
I am trying to set up Red hat 5 Enterprise OS on the 160GB drive and it installs ok, but like the first or second time it reboots it errors before it loads anything. I have reinstalled it about a dozen times but haven't figured out how to set up the partitions or whatever.
the two big drives were used in windows but the have been cleaned and are now showing up as unallocated disks. It seems like the boot loader is getting hosed somewhere.

Thanks, rog

Last edited by iamroger; 06-05-2012 at 07:05 PM.
 
Old 06-05-2012, 07:05 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
For a start, tell us what distro+version you are using.
If you can get to the cmd line
Code:
cat /etc/*release*

uname -a
& post the results.
 
Old 06-05-2012, 07:24 PM   #3
iamroger
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I know I forgot that. oops.
Can I get to the cmd line from the Grub screen?
Right now it's I think still on the text screen from the last reboot attempt.
It's on a box in my closet that I use KVM to control.
I know it's Redhat 5.xxx enterprise server. I'll check in a minute.
 
Old 06-05-2012, 07:54 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Actually I should have noticed you mentioned RHEL5, but the info I requested may still be relevant.
If the HW is that new, you may need to ensure you've got the latest sub-version (RHEL5.8).
Here are 2 good (official) RHEL5 guides;
Installation: http://www.linuxtopia.org/online_boo...ide/index.html
Admin: http://www.linuxtopia.org/online_boo...ion/index.html

The exact reboot errors you are getting would help a lot as well.

If you want to only put OS on the 160Gb IDE hdd, then you'll need to choose custom layout option during install; its a GUI install.
One option is to disconnect the 2 x 1TB drives for the install, then you can take the default layout and add the RAID after the install is stable.

Last edited by chrism01; 06-05-2012 at 07:55 PM.
 
Old 06-05-2012, 07:59 PM   #5
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,923

Rep: Reputation: 278Reputation: 278Reputation: 278
It sounds a bit strange, like maybe grub is on a different disk than the operating system.
 
Old 06-05-2012, 10:31 PM   #6
iamroger
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks guys, it is great to have help available so quickly!
I have been poking around on the net but haven't found what i need (Overwhelming data but hard to drill down to the right info!).

Awesome machine said: It sounds a bit strange, like maybe grub is on a different disk than the operating system.

Awesome,
It seems like that to me too.
I have many years in the windows world, but have only delved into Linux here and there. But a new job came up that runs Oracle on Redhat, so I'm looking to set up a similar scenario for testing/programming with at home.
I did use a tool for disk partitioning tool before I tried installing last time, it's Paragon disk tool, it did install some windows files for it to run on.
I think something is sneaking in to try to hijack the boot process. I will disconnect the 'raid' disks and try again.
How can I format the whole disk before I try again, i want to be sure nothing is hiding on the disk? Oh, Which f.s. would be good for the operating system files?
What would be a good starting point for partition sizes and which ones do I need to partition for?
Again, the OS disk is IDE and 160 GB.
Should I use the LM (volumes stuff) or whatever it's called? Or just fixed partitions to get going.

Great advice all,
Roger
 
Old 06-06-2012, 02:49 PM   #7
iamroger
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
It is running

I have finally gotten it loaded and am afraid to reboot!
I have directions for making a Boot Disk and am trying that now.
Another question: Do I need to load hardware drivers from my MB disk or will Linux find and install those?
Reason i ask is my network card is not recognized and I need that to find updates etc...
What other basic steps should I take now that it's running?
Rog
 
Old 06-06-2012, 07:06 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Like I said, we need detailed HW specs. Very new HW may have drivers avail, but that are not on the install media.
For a NIC, (to be honest) the quick/cheap way to fix is to buy a known supported NIC (usually only a few dollars) and use that to boot, which will then give you an internet cxn.
(I had similar issue dual booting RHEL+Solaris: MB NIC was not supported by Solaris)
It will then be much easier to add drivers for the other NIC (if you really want to use it... I didn't, I stuck with add-in NIC)

Another thing to consider is;
Quote:
But a new job came up that runs Oracle on Redhat,
Is your new system using same version (eg RHEL latest versions are 5.8 & 6.2)
 
Old 06-06-2012, 07:26 PM   #9
iamroger
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks Chris,
I think I have an old 3Com nic laying around, that's a good idea.
The RHEL version is not critical because I will not really need to use any live data from my work system, I just mainly want to run the Oracle on the same system for keeping connection strings etc consistent.
I guess the same is true for other MB onboard hardware too?
I think I can find a graphics card that I can use if I can't find the one for the MB VGA.
Is there enough room on a std floppy to create a Boot disk? I think that would be good to have.
How would I create the disk?

Back Later. Roger
 
Old 06-06-2012, 07:33 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Depends what you want the boot disk for (not to mention most systems don't have floppy drives).
If I need to fix a broken system, I just boot off the install DVD and type
Code:
linux rescue
instead of selecting an option via the Fn keys.
https://www.centos.org/docs/5/html/I...escuemode.html : read & enjoy
 
Old 06-10-2012, 04:54 PM   #11
iamroger
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
In case anybody is still on this thread I have made lots of changes from my first attempt to install Red Hat.
After many tries to load and configure the Redhat install, I finally decided the problem was the old hard disk I was installing on.
Yesterday I purchased and installed a new SATA 160Gb disk, I trashed the old one.
I have decided to use CentOs instead of the RHEL that I had been using.
Number one reason is that i don't have or know how to use the subscription numbers or am i willing to pay for getting one.
The basic install was so easy, I just used the defaults from the iso image disk.
I still have not figured out the networking shares with Samba though.
Any links for that would be appreciated.

Back later, Rog
 
Old 06-10-2012, 05:57 PM   #12
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi Roger,

take a look at this post where I put a quick configuration of samba share.

good luck
 
Old 06-11-2012, 09:20 PM   #13
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
See my links in post #4; although they say RHEL, they apply also to Centos, as its a free version of RHEL.
 
Old 06-13-2012, 01:59 AM   #14
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,923

Rep: Reputation: 278Reputation: 278Reputation: 278
If you're using SATA disks, the operating system disk should be on channel 0 on the MB. Yes, Centos will automatically load kernel modules (drivers) for the hardware.
 
  


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
Installing Debian 5.0.3 (Lenny) on a Dell Poweredge 4-disk HW-RAID server alke Debian 1 01-21-2011 11:16 AM
[SOLVED] Software RAID (mdadm) - RAID 0 returns incorrect status for disk failure/disk removed Marjonel Montejo Linux - General 4 10-04-2009 07:15 PM
Disk Error in Raid array file system inode tables. jpbland51 Linux - Newbie 6 05-21-2008 07:27 AM
Can Intel SCSI RAID controller See Existing Disk Array in another Server? Runge_Kutta Linux - Server 3 08-18-2007 05:04 PM
Kernel config file - recovery disk Xreagan Linux - Distributions 1 08-26-2002 01:05 PM


All times are GMT -5. The time now is 10:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration