diff options
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"; |