Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dopo aver ricompilato il kernel??
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
cataenry
Guru
Guru


Joined: 04 Nov 2003
Posts: 343

PostPosted: Thu Nov 27, 2003 3:19 am    Post subject: dopo aver ricompilato il kernel?? Reply with quote

Ciao a tutti!
Finalmente ho compilato il mio kernel 2.6!!
Finalmente mi sono armato di tempo e ho configurato tutto e poi un mel make && make modules_install

Dopo aver copiato e rinominato i bzImage in /boot, questo è quello che ho in /boot...:

drwxr-xr-x 3 root root 1024 Nov 27 03:56 .
drwxr-xr-x 20 root root 456 Nov 27 03:19 ..
-rw-r--r-- 1 root root 0 Nov 19 02:04 .keep
-rw------- 1 root root 36352 Nov 19 02:04 .map
lrwxr-xr-x 1 root root 27 Nov 7 18:07 System.map -> System.map-2.4.20-gentoo-r8
-rw-r--r-- 1 root root 593705 Nov 7 18:07 System.map-2.4.20-gentoo-r8
-rw-r--r-- 1 root root 1325085 Nov 27 03:54 System.map-2.6.0
lrwxrwxrwx 1 root root 1 Nov 4 19:10 boot -> .
-rw-r--r-- 1 root root 512 Nov 5 13:46 boot.0300
lrwxrwxrwx 1 root root 11 Nov 5 13:37 boot.b -> boot-menu.b
-rw-r--r-- 1 root root 693119 Nov 7 18:08 initrd-2.4.20-gentoo-r8
-rw-r--r-- 1 root root 1265680 Nov 7 18:07 kernel-2.4.20-gentoo-r8
-rw-r--r-- 1 root root 2576243 Nov 27 03:56 kernel-2.6.0-test10
drwx------ 2 root root 12288 Nov 4 18:02 lost+found


Ok.. Mi ha creato un file bzImage e un system.map...
ora, nella nuova immagine, quale initrd devo immettere?
Come imposto i system.map?

Così va bene? Non avendo un floppy per usare un disco di boot, vorrei evitare di far casini immani!!

image = /boot/kernel-2.4.20-gentoo-r8
root = /dev/hda7
map = System.map-2.4.20-gentoo-r8
label = Gentoo
append="root=/dev/hda7 init=/linuxrc hdc=ide-scsi"

image = /boot/kernel-2.6-test10
root = /dev/hda7
map = System.map-2.6.0
label = Gentoo_2.6_powered
append="root=/dev/hda7 init=/linuxrc"



Questo è il mio lilo.conf

lba32
boot = /dev/hda
map = /boot/.map

install = /boot/boot-menu.b

menu-scheme=Wb
prompt
timeout=100
default=Gentoo
vga = 791

image = /boot/kernel-2.4.20-gentoo-r8

root = /dev/hda7
label = Gentoo
initrd=/boot/initrd-2.4.20-gentoo-r8
append="root=/dev/hda7 init=/linuxrc hdc=ide-scsi"

other = /dev/hda1

label = Windows
table = /dev/hda
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Thu Nov 27, 2003 4:08 am    Post subject: beh Reply with quote

beh non ti saro di grande aiuto dato che non ho letto attentamente il tuo
post di lilo.conf, l'unica cosa che volevo esplicitare e' che se hai il LiveCD di gentoo puoi sempre boot-are con quello per fare cambiamenti o qualsiasi cosa tu voglia, basta un semplice "chroot" per entrare nel sistema.. come ce scritto nella guida.
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
cataenry
Guru
Guru


Joined: 04 Nov 2003
Posts: 343

PostPosted: Thu Nov 27, 2003 1:03 pm    Post subject: Reply with quote

Ti ringrazio :o , ma vorrei evitare casini... :oops:
Non riesco a capire...: nel man di lilo.conf sembra che il file map debba essere uno e globale ...
Ma allora come faccio che ho 2 kernel diversi?
Back to top
View user's profile Send private message
teknux
Guru
Guru


Joined: 19 Feb 2003
Posts: 517
Location: Rome, IT

PostPosted: Thu Nov 27, 2003 2:06 pm    Post subject: Reply with quote

cataenry wrote:

Non riesco a capire...: nel man di lilo.conf sembra che il file map debba essere uno e globale ...
Ma allora come faccio che ho 2 kernel diversi?


l'importante è che in boot siano presenti dei System.map-numeroversione. per esempio:
Code:

System.map-2.6.0-t5
System.map-2.4.22

sono entrambi validi. nel lilo.conf devi specificare SOLO System.map, quindi inseriscilo nelle opzioni globali, non nelle singole label dei kernel.

saluti,
tek
Back to top
View user's profile Send private message
cataenry
Guru
Guru


Joined: 04 Nov 2003
Posts: 343

PostPosted: Thu Nov 27, 2003 2:32 pm    Post subject: Reply with quote

Thanks a lot :o :o !! Solo 2 ultime domande

Questo è quello che ho in /boot:
.map
System.map -> System.map-2.4.20-gentoo-r8
System.map-2.4.20-gentoo-r8
System.map-2.6.0-test10-gentoo-r1
boot -> .
boot.0300
boot.b -> boot-menu.b
initrd-2.4.20-gentoo-r8
kernel-2.4.20-gentoo-r8
kernel-2.6.0-test10-gentoo-r1
lost+found


1) Come puoi vedere io ho questa entry..
Code:
map = /boot/.map

la devo modificare così?
Code:
map = /boot/System.map
?
Il link simbolico System.map che punta a System.map-2.4.20-gentoo-r8 lo devo eliminare?

2) In A2 dice di modificare /etc/rc.d/init.d/syslog http://a2.swlibero.org/a2485.html#index31103
Quote:

La riga:
daemon klogd -k /boot/System.map
dovrà essere sostituita con:
daemon klogd -k /boot/System.map-`uname -r`


Ora il file sul mio sistema si trova /etc/syslog, ma non c'è nessuna riga del genere... migliorie della tecnologia o un mio buco nell'acqua? :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum