andsens / bootstrap-vz

Bootstrap Debian images for virtualized environments
http://bootstrap-vz.readthedocs.io/
Other
263 stars 143 forks source link

How to access Grub during boot? #464

Closed kevin-olbrich closed 6 years ago

kevin-olbrich commented 6 years ago

Hi!

I built an image using stretch for KVM with bootloader set to grub. How can I access the boot menu? I need to set some temporary kernel parameters. Atm the menu is skipped and I am unable to use shift during boot on virt-manager.

image

Kind regards, Kevin

andsens commented 6 years ago

I don't think you can, the timeout has been removed: https://github.com/andsens/bootstrap-vz/blob/a9efdb4bf94437323f00d6641f5fd8cd026564ac/bootstrapvz/common/task_groups.py#L165-L171

Here's the task that does this: https://github.com/andsens/bootstrap-vz/blob/a9efdb4bf94437323f00d6641f5fd8cd026564ac/bootstrapvz/common/tasks/grub.py#L260-L269

You should bootstrap an image where that task is not added to the tasklist.