View Single Post
Old 10-10-2007, 15:38   #7
mykol
Senior Member
 
Iscritto dal: Jan 2001
Messaggi: 3363
ne puoi usare quante vuoi, è sufficiente che di ognuna installi il bootloader NELLA SUA PARTIZIONE, poi l'ultima gli fai installare il bootloader NELL'MBR del disco, così il bootloader dell'ultimo linux installato rileve tutti i sistemi operativi installati sulla macchina ed aggiunge nel bootloader installato NELL'MBR tutte le righe necessarie ad avviare tutti i S.O. presenti.

Ad esempio con lilo come bootloader nell'mbr ecco il mio /etc/lilo.conf (un pò incasinato non c'è che dire, ho di tutto e di più sull'HD) le righe "other ....:" servono ad avviare i S.O presenti nelle varie partizioni tramite i bootloader presenti in esse.

é anche possibile avviarli direttamente dall'unico bootloader nell'MBR ma non l'ho mai fatto.


cat /mnt/hda1/etc/lilo.conf
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="linux"
boot=/dev/hda
map=/boot/map
keytable=/boot/it-latin1.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=100
message=/boot/message
image=/dyne/linux
label="dyne:bolic"
root=/dev/ram0
initrd=/dyne/initrd.gz
append="resume=/dev/hda5"
vga=788
read-write
other=/dev/hda6
label="hda6"
other=/dev/hda7
label="hda7-b"
other=/dev/hda8
label="hda8"
other=/dev/hda9
label="hda9"
other=/dev/hda10
label="hda10"
other=/dev/hda11
label="hda11"
other=/dev/hda12
label="hda12"
other=/dev/hda13
label="hda13"
image=/boot/vmlinuz-i586-up-1GB
label="linux-i586-up-1GB"
root=/dev/hda1
initrd=/boot/initrd-i586-up-1GB.img
append="resume=/dev/hda5 splash=silent"
vga=788
image=/boot/vmlinuz-2.6.12-12mdk-i586-up-1GB
label="2612i586up1GB-12"
root=/dev/hda1
initrd=/boot/initrd-2.6.12-12mdk-i586-up-1GB.img
append="resume=/dev/hda5 splash=silent"
vga=788
image=/boot/vmlinuz-2.6.12-12.mm.1mdk
label="2612-12mm1"
root=/dev/hda1
initrd=/boot/initrd-2.6.12-12.mm.1mdk.img
append="resume=/dev/hda5 splash=silent"
vga=788
image=/boot/vmlinuz-2.6.12-22mdk
label="2612-22"
root=/dev/hda1
initrd=/boot/initrd-2.6.12-22mdk.img
append="resume=/dev/hda5 splash=silent"
vga=788
image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="resume=/dev/hda5 splash=silent"
vga=788
image=/boot/vmlinuz-2.6.12-27mdk
label="2612-27"
root=/dev/hda1
initrd=/boot/initrd-2.6.12-27mdk.img
append="resume=/dev/hda5 splash=silent"
vga=788
image=/boot/vmlinuz-2.6.12-29mdk
label="2612-29"
root=/dev/hda1
initrd=/boot/initrd-2.6.12-29mdk.img
append="resume=/dev/hda5 splash=silent"
vga=788
image=/boot/vmlinuz-2.6.17.13-mm-laptop-3mdv
label="laptop_2.6.17.13-mm-3"
root=/dev/hda1
initrd=/boot/initrd-2.6.17.13-mm-laptop-3mdv.img
append="resume=/dev/hda5 splash=silent resume2=swap:/dev/hda5"
vga=788
image=/boot/vmlinuz-2.6.17.14-mm-desktop-6mdvsmp
label="desktop_smp_2.6.17.14-mm-6"
root=/dev/hda1
initrd=/boot/initrd-2.6.17.14-mm-desktop-6mdvsmp.img
append="resume=/dev/hda5 splash=silent"
vga=788
[root@mandriva_2007_spring giorgio]#

Ultima modifica di mykol : 10-10-2007 alle 15:42.
mykol è offline   Rispondi citando il messaggio o parte di esso