You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Modifying boot menu

Author (Read 8931 times)

0 Members and 4 Guests are viewing this topic.

Re: Modifying boot menu
« Reply #10 on: June 07, 2017, 03:43:09 PM »
 

phil66

  • Occasional Poster
  • **
  • 63
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
I commented the grub default=save and the grub save default=true.I also uncommented the grub default=0 line.The boot is going to the start linux desktop as wanted.Now to set up programs and enjoy Linux-lite. Thanks for the help!!
 

Re: Modifying boot menu
« Reply #9 on: June 04, 2017, 10:00:30 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
I'm assuming that your post above this one is correct for LL USB and prior post was for something else (Ubuntu) -- right?


Also, I'm guessing that somewhere along the line you changed that grub file to read as it does now because I don't think that is what standard UNetBootin USB boot menu would look like.


I don't have an LL UNetBootin USB, so I'm going to guess at possible fixes.


Boot USB stick and open the file with your text editor (leafpad) as root with this command:
Code: [Select]
gksu leafpad /etc/default/grub

Delete the following lines in the file:
Code: [Select]
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true


Uncomment the GRUB_DEFAULT=0 line.  In other words, remove the "#" at beginning of that line so it reads as:
Code: [Select]
GRUB_DEFAULT=0

I'm not sure if these lines are correct, so for now leave them as-is.  (Do you remember changing anything on these lines?  Did you maybe add the first line and comment out one or both of the other two?)
Code: [Select]
GRUB_DISTRIBUTOR='Linux Lite'
#GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_DISTRIBUTOR=`lsb_release -d 2> /dev/null || echo Debian`


The last line in post looks like you didn't copy the whole thing.  Make sure it reads as:
Code: [Select]
GRUB_CMDLINE_LINUX=""

Save file, close text editor and terminal, then reboot.  Hopefully that works.


P.s.  I'm still not entirely clear on what the problem is/was.  The "Default" boot entry in UNetBootin is to boot whatever Linux distro you made on it -- in this case LL.  Was it doing something different and is that why you made changes to the grub file?  Did you maybe boot Windows from the UNetBootin menu and now it default to booting that?  If so, that is because of the two lines I had you delete above.  Deleting them should fix problem, assuming the middle three lines are correct as they are now.
« Last Edit: June 05, 2017, 01:48:06 AM by gold_finger »
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Modifying boot menu
« Reply #8 on: June 04, 2017, 08:09:19 PM »
 

phil66

  • Occasional Poster
  • **
  • 63
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
GRUB_DEFAULT=saved
#GRUB_DEFAULT=0
GRUB_SAVEDEFAULT=true
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR='Linux Lite'
#GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_DISTRIBUTOR=`lsb_release -d 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
GRUB_CMDLINE_LINU
 

Re: Modifying boot menu
« Reply #7 on: June 04, 2017, 03:34:23 PM »
 

phil66

  • Occasional Poster
  • **
  • 63
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
ray@Ray-Kudu-Pro:~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="Ubuntu"
GRUB_HIDDEN_TIMEOUT=
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
GRUB_GFXPAYLOAD_LINUX=None
« Last Edit: June 04, 2017, 03:37:48 PM by phil66 »
 

Re: Modifying boot menu
« Reply #6 on: June 03, 2017, 11:07:09 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Just found thread from a couple of weeks ago where you made a UNetbootin USB of LL3.4, so I'm assuming that's what you're talking about here -- correct?  (When posting for support make sure you let people know this, otherwise we'll automatically assume you're talking about a normal hard drive installed system.)


This command will work on USB, so post back with the output:
Code: [Select]
cat /etc/default/grub

Second command above will not work, so forget about that one.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Modifying boot menu
« Reply #5 on: June 03, 2017, 10:07:48 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Sorry, I mis-typed the first command.  It should be:
Code: [Select]
cat /etc/default/grub


The second command is correct as given in my post, but you entered grep : menuentry '" at the end.  That's not correct.  Just copy/paste the command into the terminal so it doesn't get mis-typed.  (EDIT: if you are using a UNetBootin USB stick, forget about second command -- it won't work.)


Quote from: phil66
The boot menu is labeled unetbootin???
Are you booting from a live USB stick or an installed system on hard drive?
« Last Edit: June 03, 2017, 11:09:30 PM by gold_finger »
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Modifying boot menu
« Reply #4 on: June 03, 2017, 08:55:35 PM »
 

phil66

  • Occasional Poster
  • **
  • 63
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
cat /etc/grub/default; no such file or directory  cat /boot/grub/grub.cfg | grep : menuentry '" no such file or directory  The boot menu is labeled unetbootin???
 

Re: Modifying boot menu
« Reply #3 on: June 03, 2017, 07:19:55 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Post back with output from both of these commands:
Code: [Select]
cat /etc/grub/default
cat /boot/grub/grub.cfg | grep "menuentry '"
NOTE:  In last command there is a space between menuentry and '.


EDIT:
First command above is mis-typed.  It should be cat /etc/default/grub.
« Last Edit: June 03, 2017, 10:11:07 PM by gold_finger »
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Modifying boot menu
« Reply #2 on: June 03, 2017, 05:21:33 PM »
 

supergamer

  • Forum Regular
  • ***
  • 163
    Posts
  • Reputation: 27
  • Linux Lite Member
    • View Profile

  • CPU: AMD Phenom 565

  • MEMORY: 12Gb

  • VIDEO CARD: 550 ti
You can try this:


https://launchpad.net/~danielrichter2007/+archive/ubuntu/grub-customizer


manually:


Code: [Select]
sudo leafpad /etc/issue


sudo leafpad /etc/lsb-release


sudo update-grub



 

Modifying boot menu
« Reply #1 on: June 03, 2017, 04:07:19 PM »
 

phil66

  • Occasional Poster
  • **
  • 63
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
Need to change start boot menu from default to Start Linux Lite. /etc/default/grub shows grub default=saved grub default=0 changed to 1 no help
« Last Edit: June 11, 2017, 09:03:13 PM by phil66 »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section