View previous topic :: View next topic |
Author |
Message |
SouthOfHeaven Tux's lil' helper
Joined: 05 Apr 2003 Posts: 128
|
Posted: Fri Jan 30, 2004 9:18 am Post subject: gentoo RAID install Promise ATA66 controller |
|
|
I am trying to install gentoo on a RAID array, i have a Promise ATA66 raid controller and i have 2 1.6gig hds in mirror.My RAID hd is at /dev/hde so i created 2 partitions on it 1 for /boot and one for / after i emerged grub
Code: |
grub
root (hd3,1)
setup (hd3)
Error 17: Cannot mount selected partition
setup (hd0)
Error 17: Cannot mount selected partition
setup (hd1)
|
Anyway i tryed to run the setup command on any other partition with same error. I do not know how i can get a friggin bootloader working with my RAID array.
Does anyone know ?? |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Fri Jan 30, 2004 9:24 am Post subject: |
|
|
ahh... if you are accessing hde, then it means you mustn't have loaded the raid driver.
you need a 2.4 kernel.. ?? _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
SouthOfHeaven Tux's lil' helper
Joined: 05 Apr 2003 Posts: 128
|
Posted: Fri Jan 30, 2004 9:30 am Post subject: |
|
|
the thing is im still booted from the live cd, im sure the live cd has 2.4
i dont know what else to do |
|
Back to top |
|
|
Scotty49 Tux's lil' helper
Joined: 14 May 2003 Posts: 86
|
Posted: Fri Jan 30, 2004 12:16 pm Post subject: |
|
|
Hello!
Shouldn't it be
as your disk is hde?
Anyway, are you sure, the RAID driver is compiled and ( - if used as a module - ) inserted cleanly?
Greetings,
Scotty |
|
Back to top |
|
|
SouthOfHeaven Tux's lil' helper
Joined: 05 Apr 2003 Posts: 128
|
Posted: Fri Jan 30, 2004 6:47 pm Post subject: |
|
|
I dont think there is anything wrong with the module, it is the gentoo live cd that detects it and inserts it, and already i have emerged system and did bootstrap and setup kernel installed other software too on the RAID on the /dev/hde2. /dev/hde1 is just for boot purposes thats where my bzImage goes and the grub conf etc. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Jan 30, 2004 8:45 pm Post subject: |
|
|
/dev/hde is only half of the array, /dev/hdg is the other half, and /dev/ataraid/disc0/disc is the whole array.
If you wrote any data to an individual drive, it would have corrupted the array, and made it unbootable.
BTW, once you have GRUB setup properly, the array will show up as the boot drive (hd0). |
|
Back to top |
|
|
SouthOfHeaven Tux's lil' helper
Joined: 05 Apr 2003 Posts: 128
|
Posted: Sat Jan 31, 2004 12:48 am Post subject: |
|
|
oh crap really ?? so i shouldnt of formatted /dev/hde but /dev/ataraid/disc0/disc ???
what i did is i thought that /dev/hde is the whole array, that would explain some things i guess.
So then i should do cfdisk /dev/ataraid/disc0/disc then mkreiserfs etc and when i get to grub ill just use hd0 ?? how would i tell grub that hd0 is /dev/ataraid/disc0/disc ??
Thank you for the info |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Sat Jan 31, 2004 1:19 am Post subject: |
|
|
that's what I was saying up above
grub will know it is the first drive, and therefore hd0.
you may need to make a grub boot disk and reboot, then isntall grub to mbr from the disk.. _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
|