LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   2 distro installed. need lilo to fix boot (https://www.linuxquestions.org/questions/linux-general-1/2-distro-installed-need-lilo-to-fix-boot-197875/)

freeindy 06-26-2004 04:13 AM

2 distro installed. need lilo to fix boot
 
hi!

i have following setting on my pc:

hda1 - Win 2k pro
hda2 - Suse linux (reiserfs)
hda3 - Crux linux (reiserfs)
hda5 - swap
hda6 - /home (reiserfs)

but i've trouble selecting suse or crux. lilo.conf is:

Code:

File Edit Options Buffers Tools Help                                                                                                                     
#
# /etc/lilo.conf: lilo(8) configuration, see lilo.conf(5)
#

lba32
install=text
boot=/dev/hda
default=Crux
prompt
timeout=30

image=/boot/vmlinuz
        label=Crux
        root=/dev/hda3
        read-only
#      append="quiet"
        append="hdc=ide-scsi hdd=ide-scsi quiet"

image=/boot/vmlinuz
        label=Suse
        initrd=/boot/initrd
        optional
        root=/dev/hda2
        vga=0x317
        append = "splash=silent desktop resume=/dev/hda5 showopts"

image = /boot/vmlinuz.old
        root = /dev/hda3
        label = safe
        read-only

other=/dev/hda1
        label=win

# End of file

how can i fix it?

can i also make my applications work in suse that are installed in crux?

cheers

Indy

sharkee 06-26-2004 05:34 AM

Where did you install your boot manager Hda1 2 or 3. And did you install to mbr or superblock

regards Sharkee

whansard 06-26-2004 05:44 AM

the way you have it set up, it's booting the /boot/vmlinuz from whatever distribution you have mounted there. probably crux. mount your suse somewhere, and edit the lilo.conf to point to the initrd and vmlinuz there, where you mounted it, then install lilo.
sort of like this

image=/mnt/boot/vmlinuz
label=Suse
initrd=/mnt/boot/initrd
optional
root=/dev/hda2
vga=0x317
append = "splash=silent desktop resume=/dev/hda5 showopts"

freeindy 06-26-2004 06:11 AM

thanks for your replys

sharkee: in MBR (hda1)

whansard: i tried your output. seems to run ok with lilo command. i'll see if it boots later. thanks

indy


All times are GMT -5. The time now is 11:25 PM.