Linux how to change booting options without pressing TAB

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Cally725
Posts: 1
Joined: 18. Jul 2017, 21:32

Linux how to change booting options without pressing TAB

Post by Cally725 »

Hi,

I would like to completely automate my Linux installation with Kickstart. However I need to press on TAB when the GRUB menu appear to specify the name of my Kickstart file.

Is there a way to specify the Kickstart name in the vbox file to avoid having to press the TAB key.

More info...

I boot from an iso mounted on the optical IDE port.

For instance when starting the VM, the CentOS menu appears like this:

CentOS Linux 7

Install CentOS Linux 7
Test this media & install CentOS Linux 7
Troubleshooting

Now if I press <TAB Key> I get the following line at the bottom of the screen:

>vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\0x207\x20x86_64 quiet

I need to change this line to:

>vmlinuz initrd=initrd.img ks=path_to_cfg_file.ks.cfg

How can I do that without having to manually intervene ?

Thanks for your help.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Linux how to change booting options without pressing TAB

Post by socratis »

You're talking about actively intervening with a guest OS, one for which you don't have any control. You simply can't.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply