[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Re: Booting 2 Linuxes with LILO



Vi giro questa risposta alla mia domanda perche': 

a) e' intreressante
b) per suscitare un minimo di competizione dato che 'loro' mi hanno risposto!
c) per avere altri consigli in merito. 

]
] What is the correct way to have woody's LILO load my potato on /dev/hda3?
] I'd also love to keep the subchoiches there for different kernels.


Here's how i do it...

On Woody i have two lilo.conf files, one for the MBR and one for the
Woody partition.  The MBR one i call lilo.conf.mbr.  On Potato i have
just one lilo.conf file, for the Potato partition.


Woody lilo.conf.mbr:

    lba32
    boot=/dev/hda
    install=/boot/boot-menu.b
    map=/boot/map
    prompt
    timeout=50

    other=/dev/hda3
        label="Woody"

    other=/dev/hda2
        label="Potato"

    other=/dev/hda1
        label="Windows"




Woody lilo.conf:

    lba32
    boot=/dev/hda3
    install=/boot/boot-menu.b
    map=/boot/map
    #prompt
    #timeout=50

    root=/dev/hda3
    read-only

    image=/boot/vmlinuz-2.4.20
        label=2.4.20

    image=/boot/vmlinuz-2.4.19
        label=2.4.19


The Potato lilo.conf looks a lot like the Woody lilo.conf.


You need to install the boot blocks for the partitions you want to boot,
then for the MBR.  I usually boot from a CD or something (KNOPPIX!) to set
everything up:

    mount /dev/hda3 /mnt/woody
    lilo -r /mnt/woody

    mount /dev/hda2 /mnt/potato
    lilo -r /mnt/potato

    lilo -C /mnt/woody/lilo.conf.mbr




That should do it...




Sebastian


--
To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-------------------------------------------------------

-- 

alberto. 



Reply to: