morozovvs wrote on 2013-03-19 08:52:
> Reinstallation of lilo didn't solve a problem, so i've started manual
> editing of lilo.conf.
Ubuntu 12.04 comes out a view weeks earlier then my patch to lilo. The
current Debian version of lilo (23.2-4) has the bugfix for this problem.
You can fix the bug with this small patch for liloconfig script:
--- aa/usr/sbin/liloconfig 2011-04-09 17:08:01.000000000 +0200
+++ bb/usr/sbin/liloconfig 2012-04-15 10:18:15.936797140 +0200
@@ -456,7 +456,7 @@
my $nr2;
# search for kernel image files
- my @vmlinuz = readpipe("/bin/ls -t -1 /boot/vmlinuz-2* 2>/dev/null");
+ my @vmlinuz = readpipe("/bin/ls -t -1 /boot/vmlinuz-* 2>/dev/null");
# append to new lilo.conf
open(MYFH_NEW, ">> $liloconfnew") or die "Cannot open file: $!";
You see: the old script working only for kernels beginning with 2*
and couldn't find the newer 3* kernel versions.
---
Have a nice day.
Joachim (Germany)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1156494
Title:
installer doesn't add initrd option in lilo.conf
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lilo/+bug/1156494/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs