PC: suggest a workaround to boot a kernel without hard-disk
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 21 Aug 2008 22:52:22 +0000 (22:52 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 21 Aug 2008 22:52:22 +0000 (22:52 +0000)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5061 c046a42c-6fe2-441c-8c8c-71466251a162

hw/pc.c

diff --git a/hw/pc.c b/hw/pc.c
index 880e57f..213ead8 100644 (file)
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -439,7 +439,7 @@ static void generate_bootsect(uint32_t gpr[8], uint16_t segs[6], uint16_t ip)
     hda = drive_get_index(IF_IDE, 0, 0);
     if (hda == -1) {
        fprintf(stderr, "A disk image must be given for 'hda' when booting "
-               "a Linux kernel\n");
+               "a Linux kernel\n(if you really don't want it, use /dev/zero)\n");
        exit(1);
     }