See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove 2.8 and dual boot 3.4 with Ubuntu
#17
You didn't say, but I'm assuming you ran the chmod command on os-prober script and can now boot into LL3.4.  Correct?


Now you just need to get rid of old entry for LL2.8.  To do that you'll need to open the 40_custom script with a text editor as root/admin and delete the custom menu entry.  I don't know what text editor you have on Ubuntu, but I think it might be gedit.  So, I'll use gedit in commands below.  If that's not the text editor you have on Ubuntu, substitute the correct one in place of gedit in the command.  (If you're not sure, just open the text editor and go to Help->About and it should say what name of editor is.)


To open the file as root in the text editor use this command in a terminal:
Code:
gksu gedit /etc/grub.d/40_custom


In the opened file, delete everything after the line:  # the 'exec tail' line above.  You should then only have this in the file:
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.


Save the file, then close the text editor.


Back in the terminal, now update grub one more time.
Code:
sudo update-grub


Now you should only have Ubuntu and LL3.4 choices for booting in grub menu and Ubuntu will be first (default) choice.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply


Messages In This Thread
Re: Remove 2.8 and dual boot 3.4 with Ubuntu - by gold_finger - 07-02-2017, 02:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)