LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-26-2002, 03:15 PM   #1
Kashra
LQ Newbie
 
Registered: Oct 2002
Posts: 11

Rep: Reputation: 0
Setting up a Dual Boot with hardware RAID (HPT372)


I know there is a similar thread going on now, but it seems my problem is a little more complicated at the moment.

I'm trying to set up a dual boot WinXP / Red Hat 8.0 system with a RAID 0 array containing 2 WD 80GB hard drives.

The general procedure I've come up with from different sources is "install XP first, then Red Hat." XP installs fine when I give the install program the driver disk (which only contains Windows drivers). Red Hat installs "fine" in that it looks like everything is okay until you get to the partitioning point. Then I notice that it sees my RAID array as being one drive of only 80GB. (When I originally partitioned for XP, I only left 10GB of space for Linux).

Anyway, I've been trying to get Red Hat's installation to "see" my RAID array using the procedure for HPT370 in the previous thread, but with that procedure the installation program doesn't "see" any drives at all.

Is this whole setup just too complicated for Linux?
 
Old 10-26-2002, 03:17 PM   #2
Kashra
LQ Newbie
 
Registered: Oct 2002
Posts: 11

Original Poster
Rep: Reputation: 0
I forgot to mention, Red Hat's normal installation procedure "sees" the array as having 80 GB of FREE SPACE to install on, when there's only 10 GB out of 160 GB of actual free space.
(And yes, I can install successfully onto that 80 GB, but it ends up screwing over the WinXP partitioning)
 
Old 10-28-2002, 07:01 AM   #3
sharkyr0lz
Member
 
Registered: Oct 2002
Location: spain :)
Distribution: Gentoo (Old redhat and debian user)
Posts: 112

Rep: Reputation: 15
Re: Setting up a Dual Boot with hardware RAID (HPT372)

Quote:
Originally posted by Kashra

I'm trying to set up a dual boot WinXP / Red Hat 8.0 system with a RAID 0 array containing 2 WD 80GB hard drives.

The general procedure I've come up with from different sources is "install XP first, then Red Hat." XP installs fine when I give the install program the driver disk (which only contains Windows drivers).
OK


Quote:
Originally posted by Kashra

Red Hat installs "fine" in that it looks like everything is okay until you get to the partitioning point. Then I notice that it sees my RAID array as being one drive of only 80GB. (When I originally partitioned for XP, I only left 10GB of space for Linux).

Anyway, I've been trying to get Red Hat's installation to "see" my RAID array using the procedure for HPT370 in the previous thread, but with that procedure the installation program doesn't "see" any drives at all.

Is this whole setup just too complicated for Linux?



Originally posted by Kashra
I forgot to mention, Red Hat's normal installation procedure "sees" the array as having 80 GB of FREE SPACE to install on, when there's only 10 GB out of 160 GB of actual free space.
(And yes, I can install successfully onto that 80 GB, but it ends up screwing over the WinXP partitioning)

Hummm it seems that you had a try installing redhat with the original CD and when it asked "You want to init the hard drive XXX?" you have pressed "YES"...

You must NEVER say "YES", ... when you say "YES" the installer drop ALL the data of this hard drive.

Now you have at least 1 HD of your array without any data. (So ... the other one is invalid)

I suggest you to drop the array, build a new array, reinstall windows xp and have an other try.
 
Old 10-28-2002, 06:32 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
IMO, it is easier to install two or more OS on seperate hard drives. If you still want to take the route and put Windows XP and Redhat on one hard drive. You will have problems. If your boot loader is not set up right, it will have problems booting to Linux. Windows XP may not boot up too. I suggest for an easier installation is to forget RAID and use one hard drive for Windows XP and the second hard drive for Redhat. RAID may look good on your feature list to your friends and relatives but it does slow down the computer if the controller doesn't have a processor to handle the data. The controller will use your processor for the data handling and it will slow down your computer.
 
Old 10-28-2002, 06:43 PM   #5
sharkyr0lz
Member
 
Registered: Oct 2002
Location: spain :)
Distribution: Gentoo (Old redhat and debian user)
Posts: 112

Rep: Reputation: 15
Quote:
Originally posted by Electro

IMO, it is easier to install two or more OS on seperate hard drives.
Easier, ... thats posible, ...

Quote:
Originally posted by Electro

If you still want to take the route and put Windows XP and Redhat on one hard drive. You will have problems. If your boot loader is not set up right, it will have problems booting to Linux. Windows XP may not boot up too.
Unless you select your os from the bios you are in the same problem... you need a boot loader, ...

Quote:
Originally posted by Electro

I suggest for an easier installation is to forget RAID and use one hard drive for Windows XP and the second hard drive for Redhat.

RAID may look good on your feature list to your friends and relatives but it does slow down the computer if the controller doesn't have a processor to handle the data.
The people still buy sound card that really don't decode AC3 audio by hardware, ... why? ... really this is not a a lot off cpu load.

You can read all the benchmarks about the linux softwareraid code, ... it consumes a little bit of cpu and only at a really intensive work. Softwareraid is really far from software modems. (Do you know that I have a 60MB/s of transfer without buffer-cache?)
 
Old 10-28-2002, 10:01 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
sharkyr0lz, you really like to push people out the door.

Hard drives prices are comming down so getting two hard drives or more should not be a problem.

AC3 is not hardware decoded in A/V receivers this includes more professional models too. All decoding is done by a DSP. Creative Labs and other new brand name sound cards has DSP that can decode AC3. The drivers programs the DSP to process the audio to anything that the programmer wants.

sharkyr0lz, Kashra is using Windows XP. Software raid may seem fast in Linux/Unix but in the Windows world software raid will be slow. It may decrease performance if he or she is playing a game or any high data accessing and processing.

Benchmarks are just numbers that tells you crap. Who looks at benchmarks?

I have transfer rates of 66 megabytes with out a buffer cache and with out raid. This not evening trying to use hdparm to tweak, no re-compiling of the kernel, or no hard drive interleave adjustments.

sharkyr0lz, when you were new into the Linux world. Did you make it hard on yourself installing Windows ME/NT 4/2000/XP and Linux on a raid controller or did you get another hard drive. I rather buy two hard drives and learn linux instead of pulling my hair out. Then forget Linux all together. I did use two hard drives to install Linux on one (using controller from the motherboard) and windows (using either the same controller from the motherboard or a 3rd party controller) on another hard drive. If I had to do it over again on another computer I will do the same as the first time.
 
Old 10-29-2002, 03:38 AM   #7
sharkyr0lz
Member
 
Registered: Oct 2002
Location: spain :)
Distribution: Gentoo (Old redhat and debian user)
Posts: 112

Rep: Reputation: 15
Quote:
Originally posted by Electro
sharkyr0lz, you really like to push people out the door.

Hard drives prices are comming down so getting two hard drives or more should not be a problem.
So you suggest 3 or 4 hds ?

Quote:
Originally posted by Electro

AC3 is not hardware decoded in A/V receivers this includes more professional models too. All decoding is done by a DSP. Creative Labs and other new brand name sound cards has DSP that can decode AC3. The drivers programs the DSP to process the audio to anything that the programmer wants.

I know,... I was trying to say that people don't keep that in mind when buying this hardware.

Quote:
Originally posted by Electro

sharkyr0lz, Kashra is using Windows XP. Software raid may seem fast in Linux/Unix but in the Windows world software raid will be slow. It may decrease performance if he or she is playing a game or any high data accessing and processing.
You must try that controler before say this.


Quote:
Originally posted by Electro

Benchmarks are just numbers that tells you crap. Who looks at benchmarks?
In the benchmarks you can know the cpu use with lots of file sistems, ... I look at them.

Quote:
Originally posted by Electro

I have transfer rates of 66 megabytes with out a buffer cache and with out raid. This not evening trying to use hdparm to tweak, no re-compiling of the kernel, or no hard drive interleave adjustments.
Thats posible witch is your HD ? How mutch it costs? Is SCSI ?
Did you tried this with hdparm -tT /dev/... ? / ... sisoft sandra?

(I am really interested on this)

My separate HDs read 32MB/s without buffer-cache and my raid ~=x2



Quote:
Originally posted by Electro

sharkyr0lz, when you were new into the Linux world. Did you make it hard on yourself installing Windows ME/NT 4/2000/XP and Linux on a raid controller or did you get another hard drive.
When I where new i installed redhat on 1.2 GB HD with muy windows95 (so new ).

Quote:
Originally posted by Electro

I rather buy two hard drives and learn linux instead of pulling my hair out. Then forget Linux all together. I did use two hard drives to install Linux on one (using controller from the motherboard) and windows (using either the same controller from the motherboard or a 3rd party controller) on another hard drive. If I had to do it over again on another computer I will do the same as the first time.
Whell thats a way to do this,... but, ... keep in mind what 1st "Kashra" whant to know:

Quote:
Originally posted by Kashra

I'm trying to set up a dual boot WinXP / Red Hat 8.0 system with a RAID 0 array containing 2 WD 80GB hard drives.
__________________________________________

shark
 
Old 10-29-2002, 09:05 PM   #8
Kashra
LQ Newbie
 
Registered: Oct 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Well just to clarify, I am not using a software RAID setup. I guess I must not have made that clear, but I have a hardware RAID controller on my motherboard (HPT 372) and its perfectly capable of handling my simple RAID 0 striped array--and giving substantial performance gains in WinXP.

As for Linux, it turns out that the problem was with support for the HPT372 hardware. Just another example of why Linux hasn't made it to the mainstream. I managed to install 8.0, finally, using an incredibly roundabout method that left a sour taste in my mouth, but being that I need to have *nix capability to run the scientific software I have, I don't have much of a choice.

Thanks anyway, I have them both running on the same array now.
 
Old 10-31-2002, 11:50 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
HTP370/372 is an software RAID controller. Its not very powerfull as the RAID controllers with on-board processor but it gets the job done by some help of the main processor.

To answer sharkyr0lz's questions. My hard drive is an IBM 75GXP 20 GB with 7200 RPM and 2 MB cache. It was hooked up to my ABIT KA7-100 with 80 pin IDE flat cable. Since my KA7-100 stopped working I got a new motherboard (ABIT TH7II-RAID) and used the hard drive to be use as my Windows drive. I also have IBM 60GXP 40GB for video storage hooked up to the HPT370/372 controller. Right now I'm getting the KA7-100 motherboard repaired.

I suggest having hard drives laying around the house but I'm wondering how many drives can Linux handle. I know for a fact that DOS can only handle 26. I'll do a search in this forum.
 
Old 11-01-2002, 01:50 PM   #10
Kashra
LQ Newbie
 
Registered: Oct 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Oh okay. It seemed people were thinking I was using WinXP or Linux to set up my RAID through them.
 
Old 11-04-2002, 04:20 PM   #11
rX_crX
LQ Newbie
 
Registered: Nov 2002
Location: Germany
Distribution: Debian Woody
Posts: 5

Rep: Reputation: 0
well, i have the same problem.
i want to have a dual boot with win2000 and debian woody, but debian shows the same weird partitioning error.
what workaround did you use to get your rh 8.0 installed?

greetz, rX
 
Old 11-04-2002, 05:03 PM   #12
sharkyr0lz
Member
 
Registered: Oct 2002
Location: spain :)
Distribution: Gentoo (Old redhat and debian user)
Posts: 112

Rep: Reputation: 15
Quote:
Originally posted by rX_crX
well, i have the same problem.
i want to have a dual boot with win2000 and debian woody, but debian shows the same weird partitioning error.
what workaround did you use to get your rh 8.0 installed?

greetz, rX
Look at: http://www.terra.es/personal2/capullator

By the moment i didn't made a woody boot disk, ...

While i am waiting for my new CPU I cant compile new kernels for distros like woody or gentoo,... sorry
 
Old 11-05-2002, 04:59 AM   #13
rX_crX
LQ Newbie
 
Registered: Nov 2002
Location: Germany
Distribution: Debian Woody
Posts: 5

Rep: Reputation: 0
well,
redhat or mandrake bootdisks wont help me. anyway, thanks for this tip. i will compile a new kernel for a selfmade woody bootdisk on my laptop after work. if this works, i can provide images of these disks if anyone needs them
but first i need to compile a 2.5.45 kernel *shrug* for my fileserver. problem with ide raid controller too (sil chipset )
i think i have not much luck in choosing controller because this is the forth that made me problems =) (one intel dual channel u160scsi raid, three ide raid)

greetz, rX
 
Old 11-17-2002, 10:24 AM   #14
rX_crX
LQ Newbie
 
Registered: Nov 2002
Location: Germany
Distribution: Debian Woody
Posts: 5

Rep: Reputation: 0
update

kernel 2.4.20-pre10-ac2 is running fine both with the onboard hpt372 and the sil chip based pci controller.
unfortunatly i cant provide the bootdisk because the kernel is fitting only for my machine, but perhaps i will create a debian netinstall iso image with that kernel and all possible modules
if someone is interested, just tell me

greetz
 
Old 11-17-2002, 11:10 AM   #15
sharkyr0lz
Member
 
Registered: Oct 2002
Location: spain :)
Distribution: Gentoo (Old redhat and debian user)
Posts: 112

Rep: Reputation: 15
Actually i'm not using linux (because THIS computer is not mine), when i get all my components repaired i can't test newer kernels, ...

So, ... did someone checked the 2.4.20-rc1 ?
 
  


Reply



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
2.6 hpt372 raid trouble frankster Linux - Hardware 6 10-13-2005 09:49 PM
Problems with Hardware RAID 0 Highpoint HPT372 PCI poochie2 Red Hat 0 03-23-2004 11:54 PM
Highpoint HPT372 IDE RAID smurf Slackware 5 04-09-2003 05:33 PM
Mandrake 9 on Hpt372 raid array Stoney Linux - Hardware 2 03-09-2003 08:16 PM
ABIT KR7A133-RAID MB - HPT372 RAID Controller jeb Linux - Hardware 3 05-07-2002 01:51 PM

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

All times are GMT -5. The time now is 07:30 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
Open Source Consulting | Domain Registration