View Single Post
Old 16-09-2003, 07:33   #10
#!/bin/sh
Senior Member
 
L'Avatar di #!/bin/sh
 
Iscritto dal: Aug 2002
Messaggi: 1909
La tua mobo monta il sil3112. Qui c'e' un'interessante opzione da attivare per poter installare linux (redhat 8.0). il link è questo:

http://12.24.47.40/display/2n/index....=2&r=0.1112787

Ti riposrto quanto c'e' scritto:

If you have a Redhat 8.0 CD, when installing the OS on a SATA drive there is an important detail: The PCI scan order must be reversed if there are IDE devices on the motherboard.



· At boot time

o Boot: Linux ide=reverse

o at booting time this will assure the SATA drive becomes the target drive.

· At bootstrap configuration time

o add ide=reverse (graphical interface) or

o Insert an append=”ide=reverse” on lilo.conf

· Seagate drives require: (until Seagate fix is done)

o Boot: Linux ide=reverse ide=nodma

o It automatically reverts to dma after installation



Here are the detailed instructions to build the kernel(s):



1) Make a copy (or move) the src.rpm to /usr/src/redhat/SRPMS

2) cd /usr/src/redhat/SRPMS

3) rpm –i kernel.2.4.18-src.rpm

4) cd ../SPECS

5) Note that the whole source tree kernel replaces (overlays) the old one. If you want to see the differences we suggest that you do

a) mv kernel-2.4.18 kernel-2.4.18.ori” on usr/src/redhat/BUILD before doing the rpmbuild

b) diff –urN kernel-2.4.18 kernel-2.4-18.ori > kernel.2.4.18.lad.patch

c) mv usr/src/redhat/BUILD/kernel-2.4.18/linux /usr/src/linux-2.4.18

6) rpmbuild –ba kernel-2.4.18-14.lad.spec or

rpmbuild -ba --without smp --without debug --without bigmem --target \ i686 kernel-2.4.18-3.lad.spec (if you know which kernel you want)

7) The new kernel tree will show up in /usr/src/redhat/BUILD/kernel-2.4.18/linux



Optionally:



1) rpmbuild –ba will create many RPMs and it will place them into the directory /usr/src/redhat/RPMS. The RPMs can then be shipped to customers if you want to bypass step 1,2,3 and 4 above. In that case you start with the proper RPM on /usr/src/redhat/RPMS/arch as shown below.

2) cd /usr/src/redhat/RPMS/i386

3) rpm –i *.rpm

4) cd /usr/src/linux-2.4.18

a) make oldconfig;make dep

b) make bzImage

c) make modules

d) make modules_install

e) cd arch/i386/boot

f) mv bzImage /boot/vmlinuz-2-4-18

g) cd /boot

h) mkinitrd /boot/inirtd-2.4.18.img 2.4.18





NOTES:

Reversing IDE scanning still applies if you want to boot from a SATA disk drive.

In soldoni dovresti poter passare al boot l'opzione Linux ide=reverse , ma con suse non mi ricordo come si fa. Se è come con rh semplicemente dopo che ha bootato e ti appare il menu scrivi:

Linux ide=reverse

e poi premi invio. Sei anche fortunato pechè il controller che hai sulla mobo ha dei driver open. Facci sapere.
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux
Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter
#!/bin/sh è offline   Rispondi citando il messaggio o parte di esso