Skip to contentSkip to conversation

[5061] PC: suggest a workaround to boot a kernel without hard-disk

Qemu-devel Aurelien Jarno 1 participant 1 message Aug 21, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5061

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5061
Author:   aurel32
Date:     2008-08-21 22:52:22 +0000 (Thu, 21 Aug 2008)

Log Message:
-----------
PC: suggest a workaround to boot a kernel without hard-disk

Modified Paths:
--------------
trunk/hw/pc.c

Modified: trunk/hw/pc.c
===================================================================

hw/pc.c +1 -1
@@ -439,7 +439,7 @@
     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);
     }