Results 1 to 3 of 3

Thread: Modifying /etc/lilo.conf for kernel upgrade

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    1

    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.

  2. #2
    Senior Member
    Join Date
    Oct 2003
    Location
    Sydney, Australia
    Posts
    157
    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.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: Modifying /etc/lilo.conf for kernel upgrade

    Quote 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

  1. Reinstall lilo to hda, using hda lilo.conf and knoppix live
    By tomjermy in forum Hardware & Booting
    Replies: 1
    Last Post: 03-17-2005, 01:07 AM
  2. can't edit lilo.conf
    By totenengle in forum General Support
    Replies: 2
    Last Post: 07-09-2004, 03:39 AM
  3. kernel upgrade lilo problem
    By rusty in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 02-02-2004, 05:41 AM
  4. lilo.conf
    By A. Jorge Garcia in forum Hdd Install / Debian / Apt
    Replies: 11
    Last Post: 12-05-2003, 05:03 PM
  5. Different LILO.conf during remastering
    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
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.55



Set of 2 HMAA4GR7CJR8N-XN HYNIX 32GB (1X32GB) 2Rx8 PC4-3200AA MEMORY  picture

Set of 2 HMAA4GR7CJR8N-XN HYNIX 32GB (1X32GB) 2Rx8 PC4-3200AA MEMORY

$600.00



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



SAMSUNG 128GB (4x32GB) M393A4K40BB1-CRC4Q RAM DDR4-2400T RDIMM ECC Memory picture

SAMSUNG 128GB (4x32GB) M393A4K40BB1-CRC4Q RAM DDR4-2400T RDIMM ECC Memory

$666.00



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



HYNIX 64GB (1X64GB) 2RX4 PC4-3200AA DDR4 SERVER MEMORY picture

HYNIX 64GB (1X64GB) 2RX4 PC4-3200AA DDR4 SERVER MEMORY

$600.00



SK hynix 64GB (4x16GB) DDR4 PC4-2666V DIMM RAM HMA82GR7CJR8N-VK picture

SK hynix 64GB (4x16GB) DDR4 PC4-2666V DIMM RAM HMA82GR7CJR8N-VK

$399.00



MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM picture

MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM

$139.99