From 49483ed621d57063e155c8b709141cc13d57b943 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 21 Jul 2014 20:08:17 -0400 Subject: lilo: Move root option into append LILO tries to stat() the specified root device. If that fails, LILO expects that the given root option is numeric. If something like "/dev/sdb1" is given on a system with no "/dev/sdb1" device node, LILO throws an error: "Fatal: Illegal 'root=' specification: /dev/sdb1". This all happens in dev_number() in src/bsect.c. --- diff --git a/src/run/lilo/etc/lilo.conf.in b/src/run/lilo/etc/lilo.conf.in index d8ff7b4..5a8f7ca 100644 --- a/src/run/lilo/etc/lilo.conf.in +++ b/src/run/lilo/etc/lilo.conf.in @@ -9,18 +9,15 @@ vga = normal image = /boot/vmlinuz label = "ProteanOS 1.0" - root = @ROOT@ read-write - append = "fbcon=font:MPLUS_1M_REGULAR_11x22" + append = "root=@ROOT@ fbcon=font:MPLUS_1M_REGULAR_11x22" image = /boot/vmlinuz.old label = "ProteanOS 1.0 ~" - root = @ROOT@ read-write - append = "fbcon=font:MPLUS_1M_REGULAR_11x22" + append = "root=@ROOT@ fbcon=font:MPLUS_1M_REGULAR_11x22" image = /boot/vmlinuz label = "ProteanOS 1.0 +" - root = @ROOT@ read-write - append = "fbcon=font:MPLUS_1M_REGULAR_16x32" + append = "root=@ROOT@ fbcon=font:MPLUS_1M_REGULAR_16x32" -- cgit v0.9.1