summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/oem
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/tree/etc/oem')
-rwxr-xr-xrescue/tree/etc/oem4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index 39401d70b..fc7d59045 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -153,10 +153,10 @@ if (-e "/boot/vmlinuz" && -e "/boot/hd.rdz" || -e "/cdrom/boot/vmlinuz" && -e "/
} else {
mkdir "/hd/boot";
unless (-e "/tmp/hd/vmlinuz" && -e "/tmp/hd/hd.rdz") {
- system "cp", "/cdrom/images/hd.img", "/tmp/hd.img";
+ system "cp", "/cdrom/images/hd.img", "/hd/hd.img";
mkdir "/tmp/hd";
system "modprobe", "loop";
- system "mount", "/tmp/hd.img", "/tmp/hd", "-o", "loop";
+ system "mount", "/hd/hd.img", "/tmp/hd", "-o", "loop";
}
system "cp", "-a", "/tmp/hd/vmlinuz", "/tmp/hd/hd.rdz", "/hd/boot";
}