Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Automated Installation with cmdline parameters #805

Discussion options

You must be logged in to vote

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:

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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by carlocorradini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant