Commit 25c9e896 authored by Mike Hibler's avatar Mike Hibler

Add the "-P ignore" option when running LILO. Newer Linux/LILO doesn't

like the layout of our partition table.
parent 8d9f70f5
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2004 University of Utah and the Flux Group.
# Copyright (c) 2004, 2006 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -22,7 +22,7 @@ if (-e "$BOOTDIR/runlilo") {
if (!unlink("$BOOTDIR/runlilo")) {
print "WARNING: could not unlink $BOOTDIR/runlilo\n";
}
if (system("/sbin/lilo >$LOGDIR/lilo.out 2>&1")) {
if (system("/sbin/lilo -P ignore >$LOGDIR/lilo.out 2>&1")) {
print "WARNING: error $? while running LILO, ".
"see $LOGDIR/lilo.out\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment