My 'patch' to Startup Manager.

Contribute code & patches
Forum rules
No support questions here please

My 'patch' to Startup Manager.

Postby AlbertP on Tue Jul 12, 2011 3:22 pm

A fix to /etc/default/grub

This has been wrong in at least Mint 10 and 11.

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Because quiet and splash are in the wrong line (the LINUX_DEFAULT) Startup Manager is not able to edit them. If it's changed so that the default /etc/default/grub reads this:

GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX="quiet splash"

Startup Manager is working.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6519
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Linux Mint is funded by ads and donations.
 

Re: My 'patch' to Startup Manager.

Postby xenopeek on Wed Jul 13, 2011 1:40 am

Ah, I had wondered about this also. Got used to editing the file by hand :) Would be better for newbies to fix this.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14983
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: My 'patch' to Startup Manager.

Postby ASmith on Wed Nov 16, 2011 7:12 am

Here is Grub for my Linux Mint 11 Standard, DVD clean install:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=" vga=792"

Are you stating that is a bug/error?
User avatar
ASmith
Level 3
Level 3
 
Posts: 151
Joined: Tue Nov 08, 2011 1:47 am

Re: My 'patch' to Startup Manager.

Postby xenopeek on Wed Nov 16, 2011 8:33 am

ASmith wrote:Here is Grub for my Linux Mint 11 Standard, DVD clean install:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=" vga=792"

Are you stating that is a bug/error?

Well, no. That is why patch is in quotes in the title of this topic :wink: The problem is with Startup Manager, the tool with which you can configure your startup parameters through a GUI instead of having to use the command line to edit your configuration file. Startup Manager only sees the GRUB_CMDLINE_LINUX=" vga=792" in you case, and not the GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" line. It ignores that line. So you can not use Startup Manager to disable quiet or splash. If you merge those settings into GRUB_CMDLINE_LINUX, the Startup Manager can be used to configure this. That is the "patch".

GRUB_CMDLINE_LINUX is however used both for normal mode and for recovery mode, while GRUB_CMDLINE_LINUX_DEFAULT is only used for normal mode. It is preferable to only tweak settings for normal mode and not touch recovery mode settings--so that if you break anything you can still easily boot with recovery mode. But Startup Manager seems to think otherwise :?
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14983
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: My 'patch' to Startup Manager.

Postby AlbertP on Wed Nov 16, 2011 12:04 pm

I wasn't aware of this.

Then Startup Manager has to be fixed instead of /etc/default/grub.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6519
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands


Return to Code & Patches

Who is online

Users browsing this forum: No registered users and 0 guests