diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-08-05 14:29:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-08-05 14:29:16 +0000 |
commit | 31de738c99ce16ee26595d7bf2d6e9500a5a10b1 (patch) | |
tree | 30cb27258fcac641440869517e35e28f29177eb1 /tools/i386/netboot/make_boot_network | |
parent | f093421759947c0e1020139c8b0bdb057105c074 (diff) | |
download | drakx-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar drakx-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar.gz drakx-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar.bz2 drakx-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar.xz drakx-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.zip |
no_comment
Diffstat (limited to 'tools/i386/netboot/make_boot_network')
-rwxr-xr-x | tools/i386/netboot/make_boot_network | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/i386/netboot/make_boot_network b/tools/i386/netboot/make_boot_network new file mode 100755 index 000000000..282c96c4c --- /dev/null +++ b/tools/i386/netboot/make_boot_network @@ -0,0 +1,18 @@ +#!/bin/sh + +[ -z "$1" ] && { echo "usage: $0 <network card type> (eg: 3c59x)" ; exit 1; } + +ks="../../../install/ks.cfg" +[ -e $ks ] || { echo "missing file $ks, create one based on $ks.default"; exit 1; } + + +ln -sf stage1.$1 stage1 +ln -sf stage2.$1 stage2 + +mformat a: +mcopy {menu.lst,stage1,stage2} a: +mcopy $ks a: + +./grub --batch <<EOF +install (fd0)/stage1 d (fd0) (fd0)/stage2 p (fd0)/menu.lst +EOF |