diff options
Diffstat (limited to 'rescue/tree/etc/oem')
-rwxr-xr-x | rescue/tree/etc/oem | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem index cf98297c0..39401d70b 100755 --- a/rescue/tree/etc/oem +++ b/rescue/tree/etc/oem @@ -153,9 +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"; mkdir "/tmp/hd"; system "modprobe", "loop"; - system "mount", "/cdrom/images/hd.img", "/tmp/hd", "-o", "loop"; + system "mount", "/tmp/hd.img", "/tmp/hd", "-o", "loop"; } system "cp", "-a", "/tmp/hd/vmlinuz", "/tmp/hd/hd.rdz", "/hd/boot"; } |