diff options
author | Francois Pons <fpons@mandriva.com> | 2001-04-09 14:28:05 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-04-09 14:28:05 +0000 |
commit | 554894b6cc14e48af4e50b04428df0cb38c5890e (patch) | |
tree | 3306eb1b795f9d768bf7ae0728fbec2cb3f3c3ad /rescue | |
parent | d27b8376e683fb8a79c42ff1efa9beed11ff3486 (diff) | |
download | drakx-554894b6cc14e48af4e50b04428df0cb38c5890e.tar drakx-554894b6cc14e48af4e50b04428df0cb38c5890e.tar.gz drakx-554894b6cc14e48af4e50b04428df0cb38c5890e.tar.bz2 drakx-554894b6cc14e48af4e50b04428df0cb38c5890e.tar.xz drakx-554894b6cc14e48af4e50b04428df0cb38c5890e.zip |
fixes of grub installation using hd.img
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/tree/etc/oem | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem index fb5f9a216..823a0553f 100755 --- a/rescue/tree/etc/oem +++ b/rescue/tree/etc/oem @@ -166,6 +166,10 @@ mkdir "/hd/Mandrake/RPMS"; system "cp", "-a", "/cdrom/Mandrake/base", "/cdrom/Mandrake/mdkinst", "/hd/Mandrake"; print "Setting bootloader\n"; +mkdir "/hd/boot/grub"; +foreach (1..2) { + -e "/hd/boot/grub/stage$_" or system "cp", "-a", "/boot/grub/stage$_", "/hd/boot/grub"; +} open F, ">/hd/boot/grub/menu.lst"; if (defined $resize_fat_size) { print F "timeout 5\n"; |