|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Oct 2004
Città: Pescara
Messaggi: 350
|
How-To: Installare Gentoo linux su scheda madri con controller raid integrat
Se siete in posseso di una scheda madre con controller raid integrato , bene quello è un FAKE-RAID controllers in quanto funziona tramite dei driver che caricate su windows . Linux non supporta nativamente questi FAKE-RAID ma tramite Device Mapper è possibile vedere il raid che abbiamo creato .
I seguenti controllers dovrebbero essere supportati: Highpoint HPT37X Highpoint HPT45X Intel Software RAID Promise FastTrack Silicon Image Medley Nvidia Nforce Prerequisiti: * Le partizioni sono gia state create , potete usare partition magic da windows per creare le partizioni di linux * Windows è installato nella seconda partizione * Bisogna creare una partizione di boot * La partizione di boot dovrà essere la prima partizione Punto1 : Scaricare la versione del cd minimal gentoo con supporto Device Mapper http://tienstra4.flatnet.tudelft.nl/...mraid-0.99.iso masterizzatelo e bootatelo Punto 2: Carica il modulo per il controller SATA modprobe sata_sil #OR modprobe sata_promise #OR modprobe sata_nv Punto 3: Lancia dmraid e verifica il risultato dmraid -ay ls -la /dev/mapper/ Prova a montare una partizione di windows e verifca che non ci siano errori Punto 4: Formatta e monta le partizioni mkfs.ext3 /dev/mapper/${your_boot_partition} mkfs.reiser4 /dev/mapper/${your_root_partition} mount /dev/mapper/${your_root_partition} /mnt/gentoo mount /dev/mapper/${your_boot_partition} /mnt/gentoo/boot Punto 5: Scarica lo stage ed effettua il chroot cd /mnt/gentoo wget ${url-stage-tarball} tar -jpxvf ${the_stage3_tarball} rm ${the_stage3_tarball} mount -o bind /dev/ /mnt/gentoo/dev mount -t proc proc /mnt/gentoo/proc chroot . /bin/bash --login Punto 6: Synca Portage tree e installa grub emerge --sync emerge grub -pv emerge grub Punto 7: Installa e compila il kernel (per chi ha constroller sata non dimenticarsi di inserire il modulo sata come build-in) emerge development-sources -pv emerge development-sources cd /usr/src/linux zcat /proc/config.gz >./.config make oldconfig make menuconfig # compile-in dm-mod and The MD core of the RAID flavour you use!!! # reiser4 needs a patched kernel make make modules_install cp arch/i386/boot/bzImage /boot/vmlinuz Punto 8 : creare initrd cd /root wget http://tienstra4.flatnet.tudelft.nl/...aidinitrd-0.93 wget http://tienstra4.flatnet.tudelft.nl/...d/linuxrc-0.93 chmod +x dmraidinitrd-0.93 ./dmraidinitrd-0.93 linuxrc-0.93 initrd cp initrd /boot/initrd Punto 9: Installare Grub # Grub should not detect bios device names itself! Do this or be a fool!: /sbin/grub --device-map=/dev/null grub> device (hd0,0) /dev/mapper/${devicename_of_your_bootpartition} grub> device (hd0) /dev/mapper/${devicename_of_your_raid} grub> root (hd0,0) grub> setup (hd0,0) Punto 10: Configurare grub Edit /boot/grub/grub.conf Code: timeout 30 default 0 title GNU/Linux root (hd0,0) kernel /vmlinuz root=/dev/ram0 real_root=/dev/mapper/${your_root_partition} init=/linuxrc initrd /initrd title Windows root (hd0,1) rootnoverify chainloader +1 Punto 11: emergere Device mapper emerge device-mapper -pv emerge device-mapper Non usare il tarball di Device Mapper Applicare la seguente modifica #change /etc/conf.d/rc to set RC_DEVICE_TARBALL="no" sed -e "s:RC_DEVICE_TARBALL=\"yes\":RC_DEVICE_TARBALL=\"no\":" </etc/conf.d/rc >/etc/conf.d/rc.new mv /etc/conf.d/rc.new /etc/conf.d/rc Dopo di questo editate correttamente /etc/fstab , riavviate e godetevi gentoo linux in raid
__________________
Case Termaltake Xaser III Lanfire , Termaltake 480W Active PFC Butterfly effect, Mainboard Asus M3N78-EN AM3 Ready, Athlon 64 X2 5000, 2GB kingston 1066, Creative Audigy2 zs, Creative T7900 7.1, 2x Sata Maxtor 8mb buffer 120 GB Raid 0, DVD LG, DVDROM LG 16x Duallayer, Trust keyboards & mouse wireless optical, Samsung Syncmaster 940W 16:10 19" 900x1440 DVI Ultima modifica di nikhes : 07-01-2005 alle 04:07. |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Finalmente qualcuno che ci ha provato!
Domanda: non c'è proprio modo di modificare la tabella delle partizioni da linux?
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Oct 2004
Città: Pescara
Messaggi: 350
|
Potresti provare con fdisk ma l'ambiente come sai è molto piu' claustrofobico
__________________
Case Termaltake Xaser III Lanfire , Termaltake 480W Active PFC Butterfly effect, Mainboard Asus M3N78-EN AM3 Ready, Athlon 64 X2 5000, 2GB kingston 1066, Creative Audigy2 zs, Creative T7900 7.1, 2x Sata Maxtor 8mb buffer 120 GB Raid 0, DVD LG, DVDROM LG 16x Duallayer, Trust keyboards & mouse wireless optical, Samsung Syncmaster 940W 16:10 19" 900x1440 DVI |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 20:09.



















