| 321 | |
| 322 | |
| 323 | == Bootable Qemu Images == |
| 324 | |
| 325 | For qemu images to boot reliably they should not wait for a keypress at the grub command, which is distressingly common. |
| 326 | |
| 327 | To insure that your image does not wait for grub do the following: |
| 328 | |
| 329 | For Ubuntu 12.04 (and any system that uses grub2) edit /etc/default |
| 330 | grub. Sample: |
| 331 | |
| 332 | {{{ |
| 333 | GRUB_DEFAULT=0 |
| 334 | GRUB_HIDDEN_TIMEOUT=0 |
| 335 | GRUB_HIDDEN_TIMEOUT_QUIET=true |
| 336 | GRUB_TIMEOUT=1 |
| 337 | GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` |
| 338 | GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" |
| 339 | GRUB_CMDLINE_LINUX="" |
| 340 | }}} |
| 341 | |
| 342 | Just make sure the HIDDENs are not commented out and have true/0 values. |
| 343 | |
| 344 | You then have to run a command on the |
| 345 | system which generates all the new grub configurations: |
| 346 | |
| 347 | {{{ |
| 348 | $ sudo update-grub |
| 349 | }}} |