-
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 . . .
-
Senior Member
registered user
Re: Problems whit LILO

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.
-
/mnt/hda2 is already mounted; and in the grug/menu.lst the kernell didn't need anything else. Please, any other idea?
-
Senior Member
registered user

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
-
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
pivntroot
ivnt_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)??
-
Senior Member
registered user
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
-
By ph1b3r in forum Networking
Replies: 0
Last Post: 06-11-2005, 10:09 AM
-
By Grave in forum General Support
Replies: 4
Last Post: 10-17-2004, 01:27 AM
-
By lielow in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 09-29-2004, 02:10 PM
-
By RedLine in forum Networking
Replies: 10
Last Post: 04-13-2004, 10:05 PM
-
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
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASRock Z370 Pro4 LGA 1151 Z370 HDMI USB 3.1 2 Ultra M.2 DDR4 ATX Motherboard
$75.00

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$76.49

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU
$45.00

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99