summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-09 13:56:58 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-09 13:56:58 +0000
commit43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4 (patch)
treee2444c84d9079b19cd52c3c376cb73102894c8e7 /rescue
parentede533057612d4a01c554f449f047399c0226532 (diff)
downloaddrakx-backup-do-not-use-43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4.tar
drakx-backup-do-not-use-43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4.tar.gz
drakx-backup-do-not-use-43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4.tar.bz2
drakx-backup-do-not-use-43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4.tar.xz
drakx-backup-do-not-use-43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4.zip
fix the fix for loopback mounting of hd.img.
Diffstat (limited to 'rescue')
-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";
}