From 3c8b94067440b3cdf7c4730fc0e49f1f83f24395 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 12 Jan 2001 15:46:10 +0000 Subject: very light reorganization and sample automatic network disk entry for ackbar. --- make_boot_img | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'make_boot_img') diff --git a/make_boot_img b/make_boot_img index f81ebb509..38736c399 100755 --- a/make_boot_img +++ b/make_boot_img @@ -105,8 +105,8 @@ sub boot_img_i386 { # my $ftype = $type =~ /^(other|all)$/ ? "cdrom" : $type; my $timeout = 72; - output("$mnt/syslinux.cfg", " -default linux + output("$mnt/syslinux.cfg", +"default linux prompt 1 timeout $timeout display boot.msg @@ -138,19 +138,25 @@ label rescue append ramdisk_size=32000 initrd=$type.rdz $automatic rescue rw label lnx4win kernel vmlinuz - append ramdisk_size=32000 initrd=$type.rdz $automatic lnx4win vga=788 -label preinst + append ramdisk_size=32000 initrd=$type.rdz $automatic lnx4win vga=788" . + +($type eq 'all' && +"label preinst kernel vmlinuz - append ramdisk_size=32000 initrd=all.rdz automatic=method:cdrom rescue oem rw + append ramdisk_size=32000 initrd=$type.rdz automatic=method:cdrom rescue oem rw label oem kernel vmlinuz - append ramdisk_size=32000 initrd=all.rdz automatic=method:cdrom rescue oem rw -label auto + append ramdisk_size=32000 initrd=$type.rdz automatic=method:cdrom rescue oem rw") . + +"label auto kernel vmlinuz append ramdisk_size=32000 initrd=$type.rdz $automatic auto_install=Mandrake/base/auto_inst.cfg.pl label all kernel vmlinuz append ramdisk_size=32000 initrd=$type.rdz pcmcia vga=788 +label ackbar + kernel vmlinuz + append ramdisk_size=32000 initrd=$type.rdz automatic=method:nfs,network:static,ip:192.168.1.205,dns:192.168.1.11,domain:mandrakesoft.com,server:ackbar,directory:/export vga=788 "); _ "sync"; _ "df $mnt"; -- cgit v1.2.1