From f97572e5ab450682bebc65310b82c100e56ac219 Mon Sep 17 00:00:00 2001
From: aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Date: Thu, 21 Aug 2008 22:52:22 +0000
Subject: [PATCH] PC: suggest a workaround to boot a kernel without hard-disk

---
 hw/pc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/pc.c b/hw/pc.c
index 880e57f..213ead8 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);
     }
 
--
libgit2 0.23.3