summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-01-12 15:46:10 +0000
committerFrancois Pons <fpons@mandriva.com>2001-01-12 15:46:10 +0000
commit3c8b94067440b3cdf7c4730fc0e49f1f83f24395 (patch)
treea894641cbd804be5945cfa51ea45e484f91e21de
parenta478fed2774cfadcdb6cb27067d50cc578c95d86 (diff)
downloaddrakx-backup-do-not-use-3c8b94067440b3cdf7c4730fc0e49f1f83f24395.tar
drakx-backup-do-not-use-3c8b94067440b3cdf7c4730fc0e49f1f83f24395.tar.gz
drakx-backup-do-not-use-3c8b94067440b3cdf7c4730fc0e49f1f83f24395.tar.bz2
drakx-backup-do-not-use-3c8b94067440b3cdf7c4730fc0e49f1f83f24395.tar.xz
drakx-backup-do-not-use-3c8b94067440b3cdf7c4730fc0e49f1f83f24395.zip
very light reorganization and sample automatic network disk entry for ackbar.
-rwxr-xr-xmake_boot_img20
1 files changed, 13 insertions, 7 deletions
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";