LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > elementary OS
User Name
Password
elementary OS This forum is for the discussion of elementary Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 08-12-2016, 09:32 PM   #1
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Rep: Reputation: Disabled
Huh? My Grub Menu Says Ubuntu?


After reinstalling Elementary over a previous installation, the grub menu says Ubuntu. It looks exactly like the Elementary grub menu, but instead of Elementary it has Ubuntu as the OS. When I boot to it, it boots to Elementary, so no problem there. Is this unusual, and how to fix it?

Thanks,

Mike
 
Old 08-12-2016, 10:12 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Never used it, but it IS based on Ubuntu, so most of the code is likely Ubuntu. The derivatives tend to get labelled as Ubuntu at various points when common tools are used. In your case that will be os-prober checking for known variants, and getting Ubuntu instead.
So, you could patch os-prober, patch grub, edit grub.cfg or live with it.
 
Old 08-12-2016, 11:19 PM   #3
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
Thanks Australia, if I get adventurous enough I will try to fix it. When I first installed Elementary, grub menu did read Elementary. It was when I reinstalled that this occurred. I did try reinstalling grub and updating grub, but to no avail. But I appreciate the suggestions, which I'll need to research.
 
Old 08-13-2016, 12:03 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
No problems Maine, USA.
Simplest is to edit grub.cfg, but it will need to be rerun whenever an update comes through. And the edit that needs to be done may change if it contains version numbers. Seems elementary discourages the use of a terminal, but run this from a terminal so we can see what your boot menu has currently
Code:
sudo sed -nr '/menuentry / s:([^-]+)--class.*:\1:p'  /boot/grub/grub.cfg
 
Old 08-13-2016, 11:34 AM   #5
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
Unhappy

OK here's what's in my terminal:

Oh wait, I'm not on Elementary now, I'm on Ubuntu 16, and on a different drive as well. Let me get on elementary and do it from there. (This is a dual boot system - two hard drives).

Last edited by michael diemer; 08-13-2016 at 12:02 PM.
 
Old 08-13-2016, 01:40 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
There is nothing unusual about that. A number of different Ubuntu derivatives have 'Ubuntu' in the Grub menu. Some do, some don't. You can easily change the menuentry line in grub.cfg to say 'Elementary' if you want but I expect any update-grub will change it back.
 
Old 08-13-2016, 02:19 PM   #7
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
OK, back on Elementary now. I really should give more details on how this PC is set up:

Western Digital Drive: Windows 7
Elementary OS, on sdb5 (but listed as Ubuntu 14.04)

Seagate Drive: Deepin on sda1
Ubuntu 16.04 0n sda6

Previously, I had Ubuntu 14.04 on the Seagate, and I installed 16.04 over it as a clean install/upgrade.

I also had EOS where it is now (sdb5), and reinstalled it there. It is now showing up as Ubuntu 14.04. That's what is really confusing me. Ubuntu 14.04 was on the other hard drive.

Now, here's what’s on the terminal when I run Australia's instructions:


michael@michael-GT5656:~$ sudo sed -nr '/menuentry / s[^-]+)--class.*:\1' /boot/grub/grub.cfg
[sudo] password for michael:
menuentry 'Ubuntu'
menuentry 'Ubuntu, with Linux 3.19.0-66-generic'
menuentry 'Ubuntu, with Linux 3.19.0-66-generic (recovery mode)'
menuentry 'Ubuntu, with Linux 3.19.0-65-generic'
menuentry 'Ubuntu, with Linux 3.19.0-65-generic (recovery mode)'
menuentry 'Ubuntu, with Linux 3.19.0-39-generic'
menuentry 'Ubuntu, with Linux 3.19.0-39-generic (recovery mode)'
menuentry 'Deepin 15.2 (15.2) (on /dev/sda1)'
menuentry 'Deepin 15.2 GNU/Linux (on /dev/sda1)'
menuentry 'Deepin 15.2 GNU/Linux, with Linux 4.4.0-2-deepin-amd64 (on /dev/sda1)'
menuentry 'Deepin 15.2 GNU/Linux, with Linux 4.4.0-2-deepin-amd64 (recovery mode) (on /dev/sda1)'
menuentry 'Ubuntu 16.04.1 LTS (16.04) (on /dev/sda6)'
menuentry 'Ubuntu (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 4.4.0-34-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 4.4.0-34-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 4.4.0-34-generic (recovery mode) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-93-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-93-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-93-generic (recovery mode) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-92-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-92-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-92-generic (recovery mode) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-91-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-91-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-91-generic (recovery mode) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-88-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-88-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-88-generic (recovery mode) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-87-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-87-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-87-generic (recovery mode) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-86-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-86-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-86-generic (recovery mode) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-85-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-85-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-85-generic (recovery mode) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-83-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-83-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.13.0-83-generic (recovery mode) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.11.0-12-generic (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.11.0-12-generic (upstart) (on /dev/sda6)'
menuentry 'Ubuntu, with Linux 3.11.0-12-generic (recovery mode) (on /dev/sda6)'
menuentry 'Windows 7 (loader) (on /dev/sdb1)'
michael@michael-GT5656:~$

I just want to understand what is going on here, as it will enhance my general understanding of Linux. And hopefully solve the weird grub listing.
 
Old 08-13-2016, 11:43 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
That is such a mess I couldn't begin to suggest a fix.
 
Old 08-14-2016, 05:39 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
you should start by uninstalling old and unused kernel versions.

trying to fix the elementary-suddenly-became-ubuntu issue will probably cause you more harm than help.

actually one possibility is that you boot into elementary, and run
Code:
sudo grub-install /dev/sdX
(and you have to find out whether the X should be 'a' or 'b', but maybe there's no harm in doing it for both)
followed by
Code:
sudo update-grub
on a sidenote, i have reason to believe that elementary os does not hold what it promises, please see my recent posting history.
 
Old 08-14-2016, 01:27 PM   #10
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
Hmm, looks fairly complicated. What if I delete all partitions except the one Windows is on, and reinstall Elementary? I would also disconnect the other drive, so there wouldn't be any interference. (I usually do this anyway to prevent installing on the wrong drive. I once wiped out my Vista installation during an install). I know how to fix Windows so it will be bootable, using Macrium CD. If this appears hopeless, I may just use that space to install Zorin 12 when it finally comes out.
 
Old 08-15-2016, 12:54 PM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by michael diemer View Post
Hmm, looks fairly complicated.
ok, deleting the old kernels is not necessary from a purely functional point of view, it's just a mess to look at.
so you can drop that from the list.
apart from that, i don't see how it could be getting less complicated.
or are you terminally challenged? as in, strong phobia of typing monospaced text?
 
Old 08-15-2016, 04:25 PM   #12
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
I do use the terminal, preferably copying and pasting, as my typing skills are atrocious. I make typos in practically every other word, so the terminal is a bit of an adventure for me, but I actually use it a fair amount. I'm not afraid to try, at any rate.
 
Old 08-23-2016, 08:40 PM   #13
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
I decided I can live with the grub menu saying "Ubuntu" instead of "Elementary." I continue to really like this OS. I've been having problems with updating my Linux OS's (although nothing like the ones I had with Windows 7 recently), including Elementary. Specifically, getting an error message that not all updates were available, and I need to check my internet connection. However, Elementary has straightened itself out. I just did an update and all went well and my system is up to date. Also, both Ubuntu and Deepin have a problem with waking up from suspend, which is that my wallpaper won't come back. Deepin I can just go to "personalize" and that solves it, but with Ubuntu I'm having to restart, as even my mouse and keyboard won't work. But elementary is not having that problem, or any others at this time. It is my best functioning Linux OS at this point. Just wanted to give some positive feedback.
 
Old 08-31-2016, 03:41 PM   #14
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
This thread can be closed. I'm looking forward to installing Loki, perhaps the problem will be solved then. If not, it's no big deal. In fact, it's healthy to tolerate some imperfections, otherwise you just feed your OCD.
 
Old 12-14-2016, 05:56 PM   #15
zoelee4
Member
 
Registered: Aug 2016
Distribution: Debian, Ubuntu, BLFS
Posts: 116

Rep: Reputation: Disabled
Try
Code:
apt-get install --reinstall grub2
and see what happens.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub menu keyboard not working in ubuntu rajdeep.2016 Linux - Desktop 2 08-20-2016 02:11 AM
LXer: Ubuntu 12.10 Simplifies GRUB Boot Menu LXer Syndicated Linux News 0 09-17-2012 04:30 PM
Ubuntu 9.10 does not start after kernel selection from Grub menu jiteshdoshi Linux - Hardware 1 06-28-2010 03:44 AM
Ubuntu 9.10 changing Grub Menu.lst rtoney5 Linux - Distributions 7 01-08-2010 06:58 PM
huh huh hey bevis Im guna build a puter! cognosti Linux - Hardware 28 08-12-2003 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > elementary OS

All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration