[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Passing parameter to grub via installer boot parameter



Hi

I am reading in the debian installer guide

A “---” in the boot options has special meaning. Kernel parameters that
appear after the last “---” may be copied into the bootloader
configuration for the installed system (if supported by the installer
for the bootloader). The installer will automatically filter out any
options (like preconfiguration options) that it recognizes.

I can't get this to pass a parameter net.ifnames=0 amd amd64 using the
netinst amd64 iso.
The parameter is properly handled by the kernel, but  never ends up in
/etc/default/grub like I expected.

/proc/cmdline as seen from inside the running installer looks like this:

BOOT_IMAGE=/install.amd/vmlinuz vga=788 initrd=/install.amd/initrd.gz
--- quiet  net.ifnames=0
preseed/url=http://10.0.2.2:8148/testing-preseed.cfg auto locale=en_US
kbd-chooser/method=us netcfg/get_hostname=testing.raw
netcfg/get_domain=vagrantup.com fb=false debconf/frontend=noninteractive
console-setup/ask_detect=false console-keymaps-at/keymap=us
keyboard-configuration/xkb-keymap=us


am I missing something ?

Emmanuel


Reply to: