PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Windows + Linux Software RAID



flammenflitzer
31.10.04, 08:11
Hallo
Ich möchte Gentoo (AMD64) oder ein anderes Linux mit Software Raid 0 installieren. Festplatten (2x Seagate (Typ: ST3200822AS) 200GB RAID 7.200 U/Min. 8MB Cache S-ATA Festplatten im S-ATA Raid Verbund) Ich habe im BIOS auf RAID umgestellt und mit den VIA Tools unter Windows den RAID 0 eingerichtet, dann WindowsXP mit der Treiberdiskette neu im RAID 0 Verbund installiert.
Die Windows Partitionen habe ich schon verkleinert und auch schon Linux-Partitionen engelegt. Ich möchte jetzt parrallel dazu Linux mit RAID 0 installieren, ohne das mir die Windows-Installation verloren geht. Ich habe diese Anleitung gefunden: http://forums.gentoo.org/viewtopic.php?t=149142&highlight=sata+raid+guide
"...What you need
A motherboard with the ICH5-R chipset (asus p4p800-deluxe)
2 sata drives in Raid-0
windows cd-rom
windows Intel RAID drivers on a floppy disk
Kanotix ISO http://kanotix.de/info/index.php *update* the latest ISO comes with iswraid built in, so you dont need to patch it.
a spare network card (as the support for the onboard 3com is very dodgy on the Kanotix ISO.. at least on the version I used) ... ... Boot KANOTIX iso
Reboot ...
... Partitioning your RAID Array
Code:
'cfdisk /dev/ataraid/d0'
and dont forget to make the /boot partition bootable, this is how I laid mine out
Code:
/dev/ataraid/d0p2 (/boot)
/dev/ataraid/d0p3 (swapspace)
/dev/ataraid/d0p4 (/)
... Creating and mounting the filesystems
Code:
'mkfs.reiserfs /dev/ataraid/d0p4'
'mkfs.ext2 /dev/ataraid/d0p2'
'mkswap /dev/ataraid/d0p3'
'mkdir /mnt/gentoo'
'mount /dev/ataraid/d0p4 /mnt/gentoo'
'mkdir /mnt/gentoo/boot'
'mount /dev/ataraid/d0p2 /mnt/gentoo/boot'
... We need a kernel, so ...
Code:
'emerge sync && emerge vanilla-sources'
you should get a 2.4.25 kernel in /usr/src/linux now
3.1 Patching the kernel
Code:
'cd /usr/src/'
'wget ftp://ftp.kernel.org/pub/linux/kernel/people/jgarzik/libata/2.4.25-libata6.patch.gz'
'wget http://www.bur.st/~brydeng/iswraid.patch'
'cd /usr/src/linux'
'gzcat ../2.4.25-libata6.patch.gz | patch -p1 -E'
'cat ../iswraid.patch | patch -p1 -E'
both patches should have been applied successfully,
3.2 Configuring the Kernel
Code:
'make menuconfig'
and enable the following
Code:
Code maturity level options ---> Prompt for development and/or incomplete code/drivers
SCSI support<*> SCSI support
<*> SCSI disk support
<*> SCSI generic support
SCSI low-level drivers ---> Serial ATA (SATA) support
<*> Intel PIIX/ICH SATA support
ATA/IDE/MFM/RLL support --->
IDE, ATA and ATAPI Block devices --->
<*> Support for IDE Raid controllers (EXPERIMENTAL)
<*> Support for Intel software RAID (EXPERIMENTAL)
thats it, those are the kernel options you need specifically for iswraid to work, but dont forget the standard stuff for gentoo, (ie: devfs support, file systems, ramdisk/initrd.. consult the x86 installation guide if you dont know). I compile them directly in the kernel, it works I havent tried using them as modules. exit the kernel configuration and save the changes now this is one of the more important steps otherwise your kernel wont find your raid.
Code:
'vim /usr/src/linux/Makefile'
find this line:
Code:
'DRIVERS-$(CONFIG_SCSI) += drivers/scsi/scsidrv.o'
this line needs to go BEFORE this one:
Code:
'DRIVERS-$(CONFIG_IDE) += drivers/ide/idedriver.o'
so it should read like this
Code:
DRIVERS-$(CONFIG_ATM) += drivers/atm/atm.o
DRIVERS-$(CONFIG_SCSI) += drivers/scsi/scsidrv.o
DRIVERS-$(CONFIG_IDE) += drivers/ide/idedriver.o
DRIVERS-$(CONFIG_FC4) += drivers/fc4/fc4.a
[/code]
now you can save the changes to the file ...

Kann mir jemand sagen, bevor ich mit die KANOTIX CD downloade, ob ich mit o.g. Anleitung eine Chance habe, mei Ziel zu erreichen?
Danke
MfG :confused: