Bug#61229: boot-floppies: lilo.conf refers to /boot instead of /
Package: boot-floppies
Version: 2.2.8
Severity: important
I just did a fresh potato install, then compiled up a custom kernel.
While installing the kernel, I got a message from lilo about ignoring
LinuxOLD.
The lilo.conf file refers to /boot/vmlinuz and /boot/vmlinuz.old
The references should be to /vmlinuz and /vmlinuz.old
I've set the priority to important because this will prevent from being
able to boot back to the old kernel version in case of problems.
I'm including a patch, someone familiar with boot-floppies should look
it over and make sure it makes sense.
Cheers!
Eric
-- System Information
Debian Release: 2.2
Kernel Version: Linux nexus 2.2.14 #1 Mon Mar 27 20:47:13 EST 2000 i686 unknown
Versions of the packages boot-floppies depends on:
I don't actually have boot floppies installed
diff -ur boot-floppies-2.2.8/utilities/dbootstrap/bootconfig.c boot-floppies-2.2.8-emw/utilities/dbootstrap/bootconfig.c
--- boot-floppies-2.2.8/utilities/dbootstrap/bootconfig.c Wed Mar 8 09:06:58 2000
+++ boot-floppies-2.2.8-emw/utilities/dbootstrap/bootconfig.c Tue Mar 28 04:51:48 2000
@@ -451,7 +451,7 @@
fprintf(filep,"partition=%s\n",partition);
fprintf(filep,"root=%s\n",Root->name);
fprintf(filep,"timeout=100\n");
- fprintf(filep,"image=/boot/vmlinuz\nlabel=linux\n");
+ fprintf(filep,"image=/vmlinuz\nlabel=linux\n");
fprintf(filep,"read-only\n");
fclose(filep);
sleep(1); /* wait some amount of time to see the message box */
@@ -483,7 +483,7 @@
fprintf(filep,"partition=%s\n",partition);
fprintf(filep,"root=%s\n",Root->name);
fprintf(filep,"timeout=100\n");
- fprintf(filep,"image=/boot/vmlinuz\nlabel=linux\n");
+ fprintf(filep,"image=/vmlinuz\nlabel=linux\n");
fprintf(filep,"read-only\n");
fclose(filep);
sleep(1); /* wait some amount of time to see the message box */
@@ -511,7 +511,7 @@
fprintf(filep,"\n");
fprintf(filep,"[boot]\n");
fprintf(filep,"label = Linux\n");
- fprintf(filep,"image = /boot/vmlinuz\n");
+ fprintf(filep,"image = /vmlinuz\n");
fprintf(filep,"root = %s\n", Root->name);
fprintf(filep,"read-only\n");
fclose(filep);
@@ -658,13 +658,13 @@
* #
* default=Linux
*
- * image=/boot/vmlinuz
+ * image=/vmlinuz
* label=Linux
* read-only
* # restricted
* # alias=1
*
- * image=/boot/vmlinuz.old
+ * image=/vmlinuz.old
* label=LinuxOLD
* read-only
* optional
@@ -777,13 +777,13 @@
"#\n" \
"default=Linux\n" \
"\n" \
-"image=/boot/vmlinuz\n" \
+"image=/vmlinuz\n" \
" label=Linux\n" \
" read-only\n" \
"# restricted\n" \
"# alias=1\n" \
"\n" \
-"image=/boot/vmlinuz.old\n" \
+"image=/vmlinuz.old\n" \
" label=LinuxOLD\n" \
" read-only\n" \
" optional\n" \
-- the end
Reply to: