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:
Delete the following lines in the file:
Uncomment the GRUB_DEFAULT=0 line. In other words, remove the "#" at beginning of that line so it reads as:
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?)
The last line in post looks like you didn't copy the whole thing. Make sure it reads as:
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.
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
GRUB_SAVEDEFAULT=true
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'
#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:
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.