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
LINUX LITE 7.4 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS
Modifying boot menu
|
06-03-2017, 09:21 PM
You can try this:
https://launchpad.net/~danielrichter2007...customizer manually: Code: sudo leafpad /etc/issue
06-03-2017, 11:19 PM
(This post was last modified: 06-04-2017, 02:11 AM by gold_finger.)
Post back with output from both of these commands:
Code: cat /etc/grub/default EDIT: First command above is mis-typed. It should be cat /etc/default/grub.
Try Linux Beginner Search Engine for answers to Linux questions.
06-04-2017, 12:55 AM
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???
06-04-2017, 02:07 AM
(This post was last modified: 06-04-2017, 03:09 AM by gold_finger.)
Sorry, I mis-typed the first command. It should be:
Code: 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:The boot menu is labeled unetbootin???Are you booting from a live USB stick or an installed system on hard drive?
Try Linux Beginner Search Engine for answers to Linux questions.
06-04-2017, 03:07 AM
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: 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.
ray[member=5018]Ray[/member]-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
06-05-2017, 12:09 AM
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
06-05-2017, 02:00 AM
(This post was last modified: 06-05-2017, 05:48 AM by gold_finger.)
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: gksu leafpad /etc/default/grub Delete the following lines in the file: Code: GRUB_DEFAULT=saved Uncomment the GRUB_DEFAULT=0 line. In other words, remove the "#" at beginning of that line so it reads as: Code: 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: GRUB_DISTRIBUTOR='Linux Lite' The last line in post looks like you didn't copy the whole thing. Make sure it reads as: Code: 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.
Try Linux Beginner Search Engine for answers to Linux questions.
06-07-2017, 07:43 PM
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!!
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)