10000 Do not set the root option in /boot/grub2/grub.cfg (bsc#1236873) by lslezak · Pull Request #2358 · agama-project/agama · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Do not set the root option in /boot/grub2/grub.cfg (bsc#1236873) #2358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025

Conversation

lslezak
Copy link
Contributor
@lslezak lslezak commented May 14, 2025

Problem

  • The root option in /boot/grub2/grub.cfg points to a non-existing file, the target name is not constant and is changed
  • But the root is already set in the /boot/grub2/earlyboot.cfg file, this line is not needed actually
  • See https://bugzilla.suse.com/show_bug.cgi?id=1236873

Solution

  • Remove that unnecessary and invalid line

Testing

  • Tested manually, the Live ISO still boots 😃

Additional fix

  • Replace underscores in the boot menu label by spaces
  • The separator in the Kiwi profile names was changed from dash to underscore in the past without updating this transformation
  • It changes the "Install SUSE_SLE_16 (x86_64)" boot menu label to "Install SUSE SLE 16 (x86_64)" which looks better

- It was wrong and the root is already set in the
  /boot/grub2/earlyboot.cfg file (bsc#1236873)
- Replace underscores in the boot menu label by spaces
- Do not set the root in /boot/grub2/grub.cfg file, it was wrong
and the root is already set in the /boot/grub2/earlyboot.cfg
file (bsc#1236873)
- Replace underscores in the boot menu label by spaces
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it make sense to replace both? like underscore and also dashes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dashes actually cannot be used as the Kiwi profile name is then used as a part of the version in OBS and dash is not allowed in RPM version.

@lslezak lslezak merged commit 5e856a0 into master May 14, 2025
8 checks passed
@lslezak lslezak deleted the fix_live_bootconfig branch May 14, 2025 07:25
@imobachgs imobachgs mentioned this pull request May 26, 2025
imobachgs added a commit that referenced this pull request May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0