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 |
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.
|
 |
06-05-2012, 06:02 PM
|
#1
|
LQ Newbie
Registered: Jun 2012
Posts: 6
Rep: 
|
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 06:05 PM.
|
|
|
06-05-2012, 06:05 PM
|
#2
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,429
|
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.
|
|
|
06-05-2012, 06:24 PM
|
#3
|
LQ Newbie
Registered: Jun 2012
Posts: 6
Original Poster
Rep: 
|
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.
|
|
|
06-05-2012, 06:54 PM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,429
|
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 06:55 PM.
|
|
|
06-05-2012, 06:59 PM
|
#5
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
It sounds a bit strange, like maybe grub is on a different disk than the operating system.
|
|
|
06-05-2012, 09:31 PM
|
#6
|
LQ Newbie
Registered: Jun 2012
Posts: 6
Original Poster
Rep: 
|
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
|
|
|
06-06-2012, 01:49 PM
|
#7
|
LQ Newbie
Registered: Jun 2012
Posts: 6
Original Poster
Rep: 
|
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
|
|
|
06-06-2012, 06:06 PM
|
#8
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,429
|
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)
|
|
|
06-06-2012, 06:26 PM
|
#9
|
LQ Newbie
Registered: Jun 2012
Posts: 6
Original Poster
Rep: 
|
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
|
|
|
06-06-2012, 06:33 PM
|
#10
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,429
|
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
instead of selecting an option via the Fn keys.
https://www.centos.org/docs/5/html/I...escuemode.html : read & enjoy 
|
|
|
06-10-2012, 03:54 PM
|
#11
|
LQ Newbie
Registered: Jun 2012
Posts: 6
Original Poster
Rep: 
|
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
|
|
|
06-10-2012, 04:57 PM
|
#12
|
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
|
Hi Roger,
take a look at this post where I put a quick configuration of samba share.
good luck
|
|
|
06-11-2012, 08:20 PM
|
#13
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,429
|
See my links in post #4; although they say RHEL, they apply also to Centos, as its a free version of RHEL.
|
|
|
06-13-2012, 12:59 AM
|
#14
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
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.
|
|
|
All times are GMT -5. The time now is 11:18 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
|
|