Results 1 to 6 of 6

Thread: Problems whit LILO

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Posts
    3

    Problems whit LILO

    Hi, i've just install Knoppix 3.6 in hda1; where i had Wndow$ XP; in the others partitions i have Red Hat ( hda2= "/" , hda3= the rest ). Before installing Knoppix my boot manager was grub, now a have LILO, and i can't make LILO recongnize my Red Hat Partition. This is my lilo.conf:
    label="Linux"
    initrd=/boot/initrd.img
    append="ramdisk_size=100000 init=/etc/init lang=us
    apm=power-off nomce quiet"
    read-only
    image=/boot/vmlinuz-2.4.27
    label="Linux(2.4)-1"
    initrd=/boot/initrd.img-2.4.27
    append="ramdisk_size=100000 init=/etc/init lang=us
    apm=power-off nomce quiet"
    read-only

    image=/boot/vmlinuz-2.6.7
    label="Linux(2.6)-2"
    initrd=/boot/initrd.img-2.6.7
    append="ramdisk_size=100000 init=/etc/init lang=us
    apm=power-off nomce quiet"
    read-only

    image=vmlinuz-2.4.20-8
    label="Rive's Red Hat"
    root=/dev/hda2
    initrd=initrd.img-2.4.20-8

    And i get:
    "Fatal: open vmlinuz-2.4.20-8: No such file or directory"

    Then i read in this forum that someone fix this problem by editing LILO.conf like this:

    image=/mnt/hda2/vmlinuz-2.4.20-8
    label="Linux 2"
    initrd=/mnt/hda2/initrd-2.4.20-8
    read-only

    But i get the same error, What can i do ???

    Sorry about my englis . . .

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555

    Re: Problems whit LILO

    Quote Originally Posted by Rive
    image=/mnt/hda2/vmlinuz-2.4.20-8
    label="RedHat"
    initrd=/mnt/hda2/initrd-2.4.20-8
    read-only
    This should work indeed provided you've mounted your RedHat partition before trying to run lilo: "mount /mnt/hda2"

    Also if your RedHat kernel needs some startup parameters (check /mnt/hda2/boot/grub/menu.lst), make sure to include them in lilo.conf as well.

  3. #3
    Junior Member
    Join Date
    Nov 2004
    Posts
    3
    /mnt/hda2 is already mounted; and in the grug/menu.lst the kernell didn't need anything else. Please, any other idea?

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Quote Originally Posted by Rive
    Please, any other idea?
    Yes; actually it's probably more like:
    Code:
    image=/mnt/hda2/boot/vmlinuz-2.4.20-8 
    label="RedHat" 
    initrd=/mnt/hda2/boot/initrd-2.4.20-8 
    read-only
    Check yourself that the paths are valid before running lilo

  5. #5
    Junior Member
    Join Date
    Nov 2004
    Posts
    3
    Sorry, whith
    image=/mnt/hda2/vmlinuz-2.4.20-8
    label="RedHat"
    initrd=/mnt/hda2/initrd-2.4.20-8
    read-only
    Now LILO let me go on; there are no errors when i put "lilo -t"; then i "lilo -v".
    I restart the PC and ¡ LILO shows my other kernell ; BUT . . . when i try to boot it i get:
    "mount error 6 mounting ext3
    pivntrootivnt_root (/sysroot,/sysroot/initrd)failed:2
    umount /initrd/roc failed: 2
    kernel panic: No init found. Try passing init=option to kernel"

    Now what ????

    Why i get this errors now, and i didn't saw them when Red Hat was my only LInux. ( I booted it with GRUB)??

  6. #6
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    This is my entry for lilo to get Red Hat to boot:

    image=/boot/vmlinuz
    label="RedHat"
    root=/dev/hda1
    initrd=/boot/initrd.img
    vga=788
    append="hdc=ide-scsi"
    read-only

Similar Threads

  1. Kismet problem whit Zydas 1211
    By ph1b3r in forum Networking
    Replies: 0
    Last Post: 06-11-2005, 10:09 AM
  2. N00b whit linux/knoppix
    By Grave in forum General Support
    Replies: 4
    Last Post: 10-17-2004, 01:27 AM
  3. lilo problems
    By lielow in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 09-29-2004, 02:10 PM
  4. Replies: 10
    Last Post: 04-13-2004, 10:05 PM
  5. Problem whit networkcard Via Rhine-II (on board).
    By RedLine in forum Networking
    Replies: 7
    Last Post: 03-19-2004, 02:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed picture

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed

$49.99



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Windows Server 2022 | Intel 18-Core Xeon | 32GB ECC DDR4 | 256GB SSD | 3TB HDD picture

Windows Server 2022 | Intel 18-Core Xeon | 32GB ECC DDR4 | 256GB SSD | 3TB HDD

$635.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server picture

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server

$349.99