Commit f97572e5ab450682bebc65310b82c100e56ac219
1 parent
fcdd25ab
PC: suggest a workaround to boot a kernel without hard-disk
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5061 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/pc.c
| @@ -439,7 +439,7 @@ static void generate_bootsect(uint32_t gpr[8], uint16_t segs[6], uint16_t ip) | @@ -439,7 +439,7 @@ static void generate_bootsect(uint32_t gpr[8], uint16_t segs[6], uint16_t ip) | ||
| 439 | hda = drive_get_index(IF_IDE, 0, 0); | 439 | hda = drive_get_index(IF_IDE, 0, 0); |
| 440 | if (hda == -1) { | 440 | if (hda == -1) { |
| 441 | fprintf(stderr, "A disk image must be given for 'hda' when booting " | 441 | fprintf(stderr, "A disk image must be given for 'hda' when booting " |
| 442 | - "a Linux kernel\n"); | 442 | + "a Linux kernel\n(if you really don't want it, use /dev/zero)\n"); |
| 443 | exit(1); | 443 | exit(1); |
| 444 | } | 444 | } |
| 445 | 445 |