[inizio] [indice generale] [precedente] [successivo] [indice analitico] [contributi]
Come si fa a far convivere due o pių Linux?
Ecco una metodica: 1. nel lilo.conf che segue, c'č una sezione per Debian GNU/Linux, una per Red Hat e una per il Dos 2. in /boot ho messo tutti i kernel coinvolti, con i rispettivi System.map; 3. in /lib/modules del primo disco ho copiato la directory dei moduli di Debian GNU/Linux, ovviamente compilati in Debian GNU/Linux. /etc/lilo.conf: boot=/dev/hda3 map=/boot/map install=/boot/boot.b prompt timeout=50 password=********** restricted default=linux image=/boot/vmlinuz-2.2.5-15 label=linux root=/dev/hda2 read-only image=/boot/vmlinuz-2.2.12 label=nuova root=/dev/hda2 read-only image=/boot/vmlinuz.debian label=debian root=/dev/hdc5 read-only other=/dev/hda1 label=dos table=/dev/hda [giuliano@localhost giuliano]$ ls /lib/modules total 3 drwxr-xr-x 9 root root 1024 Oct 28 19:32 2.0.36/ drwxr-xr-x 6 root root 1024 Oct 31 18:34 2.2.12/ drwxr-xr-x 11 root root 1024 Oct 27 01:59 2.2.5-15/ [giuliano@localhost giuliano]$ ls /boot total 3735 -rw-r--r-- 1 root root 145794 Nov 1 13:07 System.map-2.0.36 -rw-r--r-- 1 root root 149820 Oct 31 17:30 System.map-2.2.12 -rw-r--r-- 1 root root 186846 Apr 20 1999 System.map-2.2.5-15 -rw-r--r-- 1 root root 512 Oct 27 01:55 boot.0303 -rw-r--r-- 1 root root 4544 Apr 13 1999 boot.b -rw-r--r-- 1 root root 612 Apr 13 1999 chain.b drwxr-xr-x 2 root root 12288 Oct 27 01:30 lost+found/ -rw------- 1 root root 26624 Nov 1 15:31 map lrwxrwxrwx 1 root root 20 Oct 27 01:38 module-info -> module-info-2.2.5-15 -rw-r--r-- 1 root root 11773 Apr 20 1999 module-info-2.2.5-15 -rw-r--r-- 1 root root 620 Apr 13 1999 os2_d.b -rwxr-xr-x 1 root root 1469449 Apr 20 1999 vmlinux-2.2.5-15* -rw-r--r-- 1 root root 715260 Nov 1 13:08 vmlinuz-2.0.36 -rw-r--r-- 1 root root 454123 Oct 31 17:30 vmlinuz-2.2.12 -rw-r--r-- 1 root root 617431 Apr 20 1999 vmlinuz-2.2.5-15 lrwxrwxrwx 1 root root 14 Nov 1 15:20 vmlinuz.debian -> vmlinuz-2.0.36 Per i vari kernel Red Hat, nel file /etc/rc.d/init.d/syslog ho sostituito, su indicazione di Gianluca Vezzų, la riga: daemon klogd con daemon klogd -k /boot/System.map-`uname -r` per far riconoscere senza problemi ai vari kernel i loro System.map e /lib/modules/versione_che_ti_serve D: Renato Ferrari R: Giuliano Grandin, Gianluca Vezzų |
[inizio] [indice generale] [precedente] [successivo] [indice analitico] [contributi]