Automated Installation with cmdline parameters #805
-
Sorry for the dummy question but I'm having trouble to create a custom .iso that automatically install and start K3OS. I don't really know where to put the kernel cmdline parameters to automate the installation procedure😥 Trying to follow the README:
k3os.fallback_mode=install
k3os.install.silent=true
k3os.install.power_off=true
However, when the system boots up for the first time it enters in live installation mode making it clear that cmdline.txt is ignored (or in the wrong place?) Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You have to edit set default=0
set timeout=10
set gfxmode=auto
set gfxpayload=keep
insmod all_video
insmod gfxterm
menuentry "k3OS Installer" {
search.fs_label K3OS root
set sqfile=/k3os/system/kernel/current/kernel.squashfs
loopback loop0 /$sqfile
set root=($root)
linux (loop0)/vmlinuz printk.devkmsg=on console=ttyS0 console=tty1 k3os.mode=install k3os.install.silent=true k3os.install.device=/dev/sda k3os.install.config_url=/k3os/system/config.yaml
initrd /k3os/system/kernel/current/initrd
}
menuentry "k3OS Rescue Shell" {
search.fs_label K3OS root
set sqfile=/k3os/system/kernel/current/kernel.squashfs
loopback loop0 /$sqfile
set root=($root)
linux (loop0)/vmlinuz printk.devkmsg=on rescue console=ttyS0 console=tty1
initrd /k3os/system/kernel/current/initrd
} |
Beta Was this translation helpful? Give feedback.
You have to edit
iso/boot/grub.cfg
file.On menuentry (e.g k3OS Installer) at
linux
item set the parameter(s) you want to add/modify.Example of my
grub.cfg
: