diff options
author | Francois Pons <fpons@mandriva.com> | 2001-04-09 13:56:58 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-04-09 13:56:58 +0000 |
commit | 43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4 (patch) | |
tree | e2444c84d9079b19cd52c3c376cb73102894c8e7 /rescue/tree/etc/oem | |
parent | ede533057612d4a01c554f449f047399c0226532 (diff) | |
download | drakx-43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4.tar drakx-43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4.tar.gz drakx-43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4.tar.bz2 drakx-43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4.tar.xz drakx-43c526a7067bcaa4163f2d771e4b7bc0ef3e3ed4.zip |
fix the fix for loopback mounting of hd.img.
Diffstat (limited to 'rescue/tree/etc/oem')
-rwxr-xr-x | rescue/tree/etc/oem | 4 |
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"; } |