systemboot icon indicating copy to clipboard operation
systemboot copied to clipboard

localboot should support booting to single-user mode

Open BigValen opened this issue 6 years ago • 1 comments

It's pretty complex to boot into single-user mode with localboot; you need to change the grub config to add init=/bin/bash - there should be a command line option to append something to the kernel command line to boot single user mode, no matter how the kernel/ramdisk are selected.

BigValen avatar May 13 '19 12:05 BigValen

This should be doable by passing flagKernelCmdline to BootGrubMode and editing BootConfig.KernelArgs (from the pkg/bootconfig package)

insomniacslk avatar May 13 '19 13:05 insomniacslk