summaryrefslogtreecommitdiffstats
path: root/rescue/tree
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-09 14:28:05 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-09 14:28:05 +0000
commit554894b6cc14e48af4e50b04428df0cb38c5890e (patch)
tree3306eb1b795f9d768bf7ae0728fbec2cb3f3c3ad /rescue/tree
parentd27b8376e683fb8a79c42ff1efa9beed11ff3486 (diff)
downloaddrakx-backup-do-not-use-554894b6cc14e48af4e50b04428df0cb38c5890e.tar
drakx-backup-do-not-use-554894b6cc14e48af4e50b04428df0cb38c5890e.tar.gz
drakx-backup-do-not-use-554894b6cc14e48af4e50b04428df0cb38c5890e.tar.bz2
drakx-backup-do-not-use-554894b6cc14e48af4e50b04428df0cb38c5890e.tar.xz
drakx-backup-do-not-use-554894b6cc14e48af4e50b04428df0cb38c5890e.zip
fixes of grub installation using hd.img
Diffstat (limited to 'rescue/tree')
-rwxr-xr-xrescue/tree/etc/oem4
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";