summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-08-07 12:54:41 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-08-07 12:54:41 +0000
commit71be7b1728ee4b66ccbfde48b6c880bf917f8491 (patch)
treeea146a72b6a8d886e8c218a998b1f32c78173db9 /mdk-stage1
parentdf555bd2bfa46414278a7572c93c066d3cbcf166 (diff)
downloaddrakx-71be7b1728ee4b66ccbfde48b6c880bf917f8491.tar
drakx-71be7b1728ee4b66ccbfde48b6c880bf917f8491.tar.gz
drakx-71be7b1728ee4b66ccbfde48b6c880bf917f8491.tar.bz2
drakx-71be7b1728ee4b66ccbfde48b6c880bf917f8491.tar.xz
drakx-71be7b1728ee4b66ccbfde48b6c880bf917f8491.zip
say that it's a data read error, when we can't load the ramdisk
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/tools.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index 49a70a494..bd99f6cf3 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -284,7 +284,9 @@ enum return_type load_ramdisk_fd(int ramdisk_fd, int size)
if (!seems_ok) {
log_message("reading compressed ramdisk: %s", BZ2_bzerror(st2, &z_errnum));
remove_wait_message();
- stg1_error_message("Could not uncompress second stage ramdisk.");
+ stg1_error_message("Could not uncompress second stage ramdisk. "
+ "This is probably an hardware error while reading the data. "
+ "(this may be caused by a hardware failure or a Linux kernel bug)");
return RETURN_ERROR;
}