From 24dd437935440d906f5bb842d825e5dc7dfad40b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 20 Jun 2005 07:52:07 +0000 Subject: switch from GRUB to LILO since the later now enable to boot from USB --- globetrotter/make_live | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'globetrotter/make_live') diff --git a/globetrotter/make_live b/globetrotter/make_live index f5ea43bcf..e3f8bc863 100755 --- a/globetrotter/make_live +++ b/globetrotter/make_live @@ -231,7 +231,7 @@ sub installPackages() { qw(mountloop), #- crypted folders #- doc: (map { "mandrake-doc-$_" } map { ("Drakxtools-Guide-$_", "Command-Line-$_", "Quick-Startup-Plus-$_", "Starter-$_") } qw(de en es fr it)), - qw(autologin grub), + qw(autologin), qw(synaptics), #- network conf: qw(wireless-tools pcmcia-cs), @@ -436,21 +436,18 @@ bootloader::suggest($bootloader, $all_hds, vga_fb => 788, quiet => 1); -# LILO failled to boot from SCSI: -# $bootloader->{method} = 'lilo-graphic'; -$bootloader->{method} = 'grub'; +$bootloader->{method} = 'lilo-graphic'; eval { bootloader::install($bootloader, $all_hds) }; -doRootSubst("$::prefix/boot/grub/menu.lst"); -run_program::rooted($::prefix, 'sh', '/boot/grub/install.sh'); +doRootSubst("$::prefix/etc/lilo.conf"); -# fix GRUB configuration: +# fix LILO configuration: substInFile { - # use FB by default on versionned entries so that the initial versionned entry behave like those created by /sbin/installkernel: - s/$/ vga=788/ if /^kernel.*\d\.\d\.\d/; -} "$::prefix/boot/grub/menu.lst"; + s!root=(LABEL=MDK-ROOT)!root="\1"!g; +} "$::prefix/etc/lilo.conf"; +run_program::rooted($::prefix, 'lilo'); ## disable ISDN by default (bogus isdn4net came with an enabled interface :-(): #substInFile { -- cgit v1.2.1