linuxboot / linuxboot/heads

Feature Request: Changing Kernel Parameters

Open
#488 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
1.6k
Forks
211
Avg merge
4d 21h
Merged PRs (30d)
6

Description

It would be super useful to change kernel parameters from the GUI similar to the Grub menu edit option.

### Scenario
I fucked up my `initrd` and I cannot decrypt my disk.

#### Solution:
I boot the kernel with `init=/bin/bash`, mount the disk manually and fix the problem.

### Current Workflow
1. Go to recovery shell
2. Remount the `/boot` so it's read-write: `mount -o remount, rw /boot`
3. Open `vi /boot/grub/grub.cfg`
4. Navigate through the file and find the corresponding boot entry
5. Save
6. Reboot
7. Boot your desired option
8. Restore the `/boot/grub/grub.cfg`: `update-grub`

### New Workflow

1. "Other Boot Options" > "Show OS boot menu"
3. Hover over the desired entry
4. Press `e` to edit the entry
5. Menu to change the kernel parameter line containing the parameters from the parsed grub entry
6. Change the parameters
6. Press `Enter` to boot or `Esc` to cancel

Note that the change is not permanent and the `grub.cfg` file hasn't been changed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing “Other Boot Options” and “Show OS boot menu” flow, then compare it with the recovery-shell workflow using /boot/grub/grub.cfg and update-grub. Done means a selected boot entry can be edited temporarily, Enter boots with the changes, and Esc cancels without changing grub.cfg.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
frontend, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.