diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-07-30 13:28:18 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-07-30 13:28:18 +0000 |
commit | 7aab173af2151843199dc229641f643538c8c161 (patch) | |
tree | c4ad7ffa138c3461f36c4c8c9d44d4b7f3aefa56 /mdk-stage1/stage1.c | |
parent | 63a0448b4dd29e8722692dda71c615825310b955 (diff) | |
download | drakx-backup-do-not-use-7aab173af2151843199dc229641f643538c8c161.tar drakx-backup-do-not-use-7aab173af2151843199dc229641f643538c8c161.tar.gz drakx-backup-do-not-use-7aab173af2151843199dc229641f643538c8c161.tar.bz2 drakx-backup-do-not-use-7aab173af2151843199dc229641f643538c8c161.tar.xz drakx-backup-do-not-use-7aab173af2151843199dc229641f643538c8c161.zip |
have a memory limit also for Rescue (different one)
Diffstat (limited to 'mdk-stage1/stage1.c')
-rw-r--r-- | mdk-stage1/stage1.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index e06bf99a1..df297ead8 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -388,6 +388,13 @@ int main(int argc, char **argv, char **env) stg1_info_message("You are starting the installation with an alternate booting method. " "Please change your disk, and insert the Installation disk."); + if (IS_RESCUE && total_memory() < MEM_LIMIT_RESCUE) { + stg1_error_message("You are starting the rescue with a low memory configuration. " + "From that point, experience showed us that the program may stop " + "or crash at any point without immediate proper reason. Continue at " + "your own risk. Alternatively, you may reboot your system now."); + } + ret = method_select_and_prepare(); finish_frontend(); |