Page 1 of 1

[SOLVED] Edit kernel boot parameters

PostPosted: Dec 11th, '19, 05:44
by rwilson
With Mageia 7 I'm trying to use Drakboot to edit the kernel boot parameters. When I click save I get the error pop-up that the label is already used. This makes it sound like I should change the label so that I have a new entry instead of just editing the existing one. Do I need to delete the entry and recreate it instead of trying to edit it?

Re: Edit kernel boot parameters

PostPosted: Dec 11th, '19, 20:14
by doktor5000
What kernel boot parameters do you want to edit in particular, and what boot loader are you using currently ?

On a related note, you may want to have a look at https://wiki.mageia.org/en/How_to_set_u ... el_options

Re: Edit kernel boot parameters

PostPosted: Dec 13th, '19, 05:29
by rwilson
The current boot parameters I have are:
Code: Select all
BOOT_IMAGE=linux root=UUID=356c61f0-146d-4efd-bb0a-2c734554e519 acpi_enforce_resources=lax resume=UUID=1b700e2c-18bd-4be6-b627-9bf9f84617d0 vga=788


Most of that string is left over from an old Mandrivia install. The resume drive hasn't existed in years and I'd also like to scrub the vga=788 part. I didn't see any option to remove the vga, only to change the resolution of it.

Re: Edit kernel boot parameters

PostPosted: Dec 13th, '19, 21:22
by martinw
What bootloader are you using (e.g. GRUB or GRUB2, as shown on first drakboot screen)?

Re: Edit kernel boot parameters

PostPosted: Dec 14th, '19, 03:24
by rwilson
martinw wrote:What bootloader are you using (e.g. GRUB or GRUB2, as shown on first drakboot screen)?


GRUB with graphical menu.

Re: Edit kernel boot parameters

PostPosted: Dec 14th, '19, 08:46
by doktor5000
I believe for the vga=788 part, under Advanced you can only select a different video mode. If you want to remove that, you would need to edit /boot/grub/menu.lst manually if I'm not mistaken.
Although the resume=UUID=1b700e2c-18bd-4be6-b627-9bf9f84617d0 part should be removable, it's contained in the Append: field and you should be able to delete it there.
But I don't have any grub legacy system to confirm whether drakboot works the same with grub legacy.

Re: Edit kernel boot parameters

PostPosted: Dec 14th, '19, 15:30
by martinw
I can't reproduce the error you describe. On the second drakboot screen, I selected the menu entry I wanted to change, clicked on the Modify button, removed the resume=... in the Append text box, and clicked on the OK button. No errors were reported, and checking /boot/grub/menu.lst, the change was made.

To remove the vga= option, when modifying a menu entry, open up the Advanced dialogue, then in the Video mode drop-down list, select the blank line at the top of the list.

[SOLVED] Re: Edit kernel boot parameters

PostPosted: Dec 16th, '19, 14:17
by rwilson
martinw wrote:I can't reproduce the error you describe. On the second drakboot screen, I selected the menu entry I wanted to change, clicked on the Modify button, removed the resume=... in the Append text box, and clicked on the OK button. No errors were reported, and checking /boot/grub/menu.lst, the change was made.

To remove the vga= option, when modifying a menu entry, open up the Advanced dialogue, then in the Video mode drop-down list, select the blank line at the top of the list.



Thank you, I didn't notice the blank line. I still get the pop up, but checking /boot/grub/menu.lst shows that the change was applied.


Image

Re: [SOLVED] Edit kernel boot parameters

PostPosted: Dec 18th, '19, 01:43
by martinw
Do you happen to have two menu entries with the same label? I don't think GRUB would care, so it wouldn't stop it working.

Re: [SOLVED] Edit kernel boot parameters

PostPosted: Dec 19th, '19, 02:03
by rwilson
martinw wrote:Do you happen to have two menu entries with the same label? I don't think GRUB would care, so it wouldn't stop it working.


Wow, you're right. I didn't realize there actually was a duplicate until I manually looked at /boot/grub/menu.lst after reading your post. Removed the duplicate and the pop-up went away. Thanks.