diff options
author | Francois Pons <fpons@mandriva.com> | 2001-04-09 10:41:29 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-04-09 10:41:29 +0000 |
commit | 5bc101a73f3a217b56a5450a833ceca2dbe2517f (patch) | |
tree | 2309c954e5597af70ade7c5971bc4b1dedfa6ef0 /rescue | |
parent | 8ab7c2b12580f5b0dcbce058119991d8778d69b0 (diff) | |
download | drakx-backup-do-not-use-5bc101a73f3a217b56a5450a833ceca2dbe2517f.tar drakx-backup-do-not-use-5bc101a73f3a217b56a5450a833ceca2dbe2517f.tar.gz drakx-backup-do-not-use-5bc101a73f3a217b56a5450a833ceca2dbe2517f.tar.bz2 drakx-backup-do-not-use-5bc101a73f3a217b56a5450a833ceca2dbe2517f.tar.xz drakx-backup-do-not-use-5bc101a73f3a217b56a5450a833ceca2dbe2517f.zip |
fixed hd.img access right.
Diffstat (limited to 'rescue')
-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"; } |