From: aurel32 Date: Thu, 21 Aug 2008 22:52:22 +0000 (+0000) Subject: PC: suggest a workaround to boot a kernel without hard-disk X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f97572e5ab450682bebc65310b82c100e56ac219;p=qemu.git PC: suggest a workaround to boot a kernel without hard-disk Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5061 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/pc.c b/hw/pc.c index 880e57f233..213ead8555 100644 --- 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); }