-
Modifying /etc/lilo.conf for kernel upgrade
Hi all,
I just set about upgrading to kernel-2.6.0 via apt (apt-get install kernel-image-2.6.0-1-686) which seems to have installed fine, but barfed on modifying lilo.conf.
Lilo.conf currently reads as
default=Linux
image=/boot/vmlinuz-2.4.22-xfs
label=Linux
initrd=/boot/initrd.gz
read-only
#...
I presume I can add this safely enough?
image=/boot/vmlinuz-2.6.0-1-686
label=Linux-2.6.0-686
initrd=/boot/initrd
I haven't done this before, so simple confirmation that it's the right way would be appreciated.
Thanks.
-
As far as "this is the right way", yes it is.
You can safely add the lines, and as long as you don't change the existing lines you won't break anything (even if you do break something, you have a really wonderful recovery tool on hand anyway
)
I notice you have /boot/initrd.gz in the first, but only /boot/initrd in the second... is this just a typo?
And lastly, don't forget to run lilo after you make the changes. I used to forget to do this every time.
-
Senior Member
registered user
Re: Modifying /etc/lilo.conf for kernel upgrade

Originally Posted by
sobriquet
Hi all,
I just set about upgrading to kernel-2.6.0 via apt (apt-get install kernel-image-2.6.0-1-686) which seems to have installed fine, but barfed on modifying lilo.conf.
Lilo.conf currently reads as
default=Linux
image=/boot/vmlinuz-2.4.22-xfs
label=Linux
initrd=/boot/initrd.gz
read-only
#...
I presume I can add this safely enough?
image=/boot/vmlinuz-2.6.0-1-686
label=Linux-2.6.0-686
initrd=/boot/initrd
I haven't done this before, so simple confirmation that it's the right way would be appreciated.
Thanks.
You may have to change the vga=791 in the file to vga=normal I'm not sure if the Debian kernels have the framebuffer enabled or not in the 2.6 kernels so if the screen goes blank when you boot this is what you should change.
Similar Threads
-
By tomjermy in forum Hardware & Booting
Replies: 1
Last Post: 03-17-2005, 01:07 AM
-
By totenengle in forum General Support
Replies: 2
Last Post: 07-09-2004, 03:39 AM
-
By rusty in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 02-02-2004, 05:41 AM
-
By A. Jorge Garcia in forum Hdd Install / Debian / Apt
Replies: 11
Last Post: 12-05-2003, 05:03 PM
-
By greenbridge in forum Customising & Remastering
Replies: 0
Last Post: 08-11-2003, 08:51 PM
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

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$334.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1469.00

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99

Lenovo ThinkPad X13 Gen 1 i5-10310U 16GB 512GB SSD Touch Win 11 Pro Good
$222.99

Lenovo - IdeaPad Slim 3i 15.3" 2K Touchscreen Laptop - Intel Core 7 350 2026 ...
$679.99

Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro
$249.99

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11
$229.99