[SOLVED] Edit kernel boot parameters

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Edit kernel boot parameters

Postby rwilson » Dec 11th, '19, 05:44

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?
rwilson
 
Posts: 15
Joined: Oct 7th, '19, 02:28

Re: Edit kernel boot parameters

Postby doktor5000 » Dec 11th, '19, 20:14

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Edit kernel boot parameters

Postby rwilson » Dec 13th, '19, 05:29

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.
Last edited by isadora on Dec 13th, '19, 09:36, edited 1 time in total.
Reason: Removed quote; as a golden rule quoting the last comment is not appropriate .
rwilson
 
Posts: 15
Joined: Oct 7th, '19, 02:28

Re: Edit kernel boot parameters

Postby martinw » Dec 13th, '19, 21:22

What bootloader are you using (e.g. GRUB or GRUB2, as shown on first drakboot screen)?
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Edit kernel boot parameters

Postby rwilson » Dec 14th, '19, 03:24

martinw wrote:What bootloader are you using (e.g. GRUB or GRUB2, as shown on first drakboot screen)?


GRUB with graphical menu.
rwilson
 
Posts: 15
Joined: Oct 7th, '19, 02:28

Re: Edit kernel boot parameters

Postby doktor5000 » Dec 14th, '19, 08:46

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Edit kernel boot parameters

Postby martinw » Dec 14th, '19, 15:30

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.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

[SOLVED] Re: Edit kernel boot parameters

Postby rwilson » Dec 16th, '19, 14:17

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
rwilson
 
Posts: 15
Joined: Oct 7th, '19, 02:28

Re: [SOLVED] Edit kernel boot parameters

Postby martinw » Dec 18th, '19, 01:43

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.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: [SOLVED] Edit kernel boot parameters

Postby rwilson » Dec 19th, '19, 02:03

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.
rwilson
 
Posts: 15
Joined: Oct 7th, '19, 02:28


Return to Basic support

Who is online

Users browsing this forum: daniewicz and 1 guest

cron