Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7543 - A guide on how to install Gentoo on a hardware RAID array
Summary: A guide on how to install Gentoo on a hardware RAID array
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
: 7125 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-05 12:25 UTC by Bjarke Istrup Pedersen (RETIRED)
Modified: 2009-11-02 19:21 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
put the text into the install gide (build.diff,5.13 KB, patch)
2002-09-11 19:02 UTC, Eric Stockbridge
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2002-09-05 12:25:57 UTC
First, when you start with loading the modules:

# insmod ataraid

Then take one of those two:

# insmod pdcraid (Promise Raid Controller)
# insmod hptraid (Highpoint Raid Controller)

Then you will have the partitions like this:

/dev/ataraid/discX/partY

X is the arrays you have made, so if you only have made 1 array, then it will 
be disc0 .
Y is the partitionnumber like in /dev/hdaY , so I won
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2002-09-05 12:25:57 UTC
First, when you start with loading the modules:

# insmod ataraid

Then take one of those two:

# insmod pdcraid (Promise Raid Controller)
# insmod hptraid (Highpoint Raid Controller)

Then you will have the partitions like this:

/dev/ataraid/discX/partY

X is the arrays you have made, so if you only have made 1 array, then it will 
be disc0 .
Y is the partitionnumber like in /dev/hdaY , so I wont explain this, as it is 
explained very well in the installation instructions.

When choosing kernel-options:

(for Highpoint Raid Controllers)

Select hpt366 chipset support, support for IDE Raid controllers and Highpoint 
370 software RAID 

(for Promise Raid Controllers)

Select PROMISE PDC202{46|62|65|67|68|69|70} support, support for IDE Raid 
controllers and Support Promise software RAID (Fasttrak(tm))

Then you come to the grub thing, DONT try to run the root and setup commands 
(They will fail)

Create the /boot/grub/menu.lst , and use these commands in the file like you 
normally would, BUT this line shall be like this:

kernel /boot/bzImage root=/dev/ataraid/discX/partY

then save the file, and exit to the prompt again.

We need to make a Grub bootdisk, since we then have the discs as they are, 
before the BIOS starts interrupting us.

Insert an empty floppy disc, and type these two command:

dd if=(Path_to_stages)/stage1 of=/dev/fd0 bs=512 count=1
dd if=(Path_to_stages)/stage2 of=/dev/fd0 bs=512 seek=1
(Somebody correct the path for me)

Now reboot, and boot from the floppydisc, now run  grub, and run the commands 
like you normally would do:

root (hd0,0)
setup (hd0)
quit

Then reboot, and you should that should be done :-)
Comment 2 SpanKY gentoo-dev 2002-09-05 17:25:58 UTC
*** Bug 7125 has been marked as a duplicate of this bug. ***
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-05 18:22:36 UTC
Bjarke, can you put this into XML format, please?
Comment 4 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2002-09-06 08:43:59 UTC
Sorry, don't know how to do that.
But tell me how, and i'll do it.
Comment 5 Eric Stockbridge 2002-09-11 19:02:49 UTC
Created attachment 3847 [details, diff]
put the text into the install gide

I don't have hardware raid, and cannot be sure that everything is
correct...please have someone with hardware raid test it out
Comment 6 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-11 22:01:58 UTC
I will try and find someone that can test this Eric ;-)
If it is tested and turns up all well, then I will add it to the main install 
doc.

//ZhEN
Comment 7 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2002-09-12 01:07:18 UTC
Well, I have hardware RAID, so I have testet it on my own system, and it 
works. (The GRUB part took several hours to figure out).
Comment 8 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-12 13:49:43 UTC
Alright, I will CVS it, but I want to make sure this works. Anyone else testing?

//ZhEN
Comment 9 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2002-09-12 13:51:09 UTC
CVS a guide???
Comment 10 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-12 17:40:01 UTC
Yeah, I commit it to CVS, then it gets added to the website ;-)

//ZhEN
Comment 11 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2002-09-12 21:17:59 UTC
ok ;-)
Comment 12 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2002-09-13 10:10:53 UTC
Where in the CVS Repository have you placed it?
Comment 13 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-13 11:40:31 UTC
Its in the gentoo-src tree I believe. Look under gentoo-web/xml/doc/en.

//ZhEN
Comment 14 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-13 11:59:38 UTC
Alright, I fixed some bugs in this, and commited the updated install guide. Good
work guys, keep it coming. I am going to leave this bug open so that more fixes
etc.. can be posted ;-)

//ZhEN
Comment 15 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2002-09-13 13:49:49 UTC
good, have you tested it too?
It works on my computer, but maybe I have forgot something in it.
Comment 16 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2002-09-13 14:04:39 UTC
Does the commands you use to make the grub bootdisk work?
I could only get the dd command to do the trick.
Comment 17 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-17 14:29:10 UTC
Closing this, the guide is added.
Comment 18 Attila Stehr 2009-11-02 19:21:29 UTC
Please give the location where this guide can be found. I haven't seen it here: http://www.gentoo.org/doc/en/list.xml?desc=1

thx