LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 09-06-2019, 09:19 AM   #1
madmax25
Member
 
Registered: Aug 2018
Posts: 273

Rep: Reputation: Disabled
BL5-64bit - rename grub folder in efi?


I'm running a 64bit multi boot laptop (UEFI type) with the following systems:

Win10Pro
Xubuntu18.04.3
Bodhi5.0

I want to be able to switch between Bodhi as the 1st entry in grub or Xubuntu as 1st entry in in grub when booting.
In order to do so, I re-installed grub from within Xubuntu, which gave me the grub from Xubuntu with a black background.

After that, I re-installed grub from within Bodhi, because I prefer the grey background from Bodhi's grub and to have Bodhi at the 1st place in grub.

But, while booting, there's still the black grub from Xubuntu present and so is Xubuntu as the 1st entry in grub.
So, the problem is, I cannot reinstall grub from Bodhi anymore, to get the grey grub back with Bodhi at the 1st place.

That's why I looked into
Code:
/boot/efi/EFI
and, next to the folders relevant only for Windows, I found two folders, one for ubuntu and one for bodhi.

Then, in the BIOS, I looked for the boot order of systems and found three entries, for Windows, Ubuntu and Bodhi.
Ignoring Windows, I put Ubuntu at 1st place and booted the laptop.
In result, Xubuntu was the 1st entry in grub and was booting accordingly.

Then I put Bodhi at 1st place in the BIOS, and booted again.
Actually, I expected Bodhi to be the 1st entry in grub and therefore to boot Bodhi by then.
But now, Xubuntu was still the 1st entry in grub and so Xubuntu was still booting.

Thinking about it, it seems to me, the additional bodhi folder in

Code:
/boot/efi/EFI
is causing this phenomenon, because when initialized from within Bodhi, the grub installation produces the folder called bodhi.

If this folder was called ubuntu (because it's an Ubuntu based distri), things would be much easier, because,
the ubuntu folder would be overwritten each time, I reinstall grub from within the other Linux distri.

Is there a way to do so, I mean to make the grub installation procedure call the resulting folder ubuntu instead of bodhi?

Last edited by madmax25; 09-06-2019 at 02:31 PM.
 
Old 09-07-2019, 10:25 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,633

Rep: Reputation: 109Reputation: 109
The color is a choice set in the grub configuration file, change it in the offending system and you will have both looking the same.
 
Old 09-07-2019, 01:35 PM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,350

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
If you want to change bodhi folder to ubuntu, boot into bodhi open a terminal
Quote:
sudo grub-install --bootloader-id=ubuntu
The only problem with this if you decide to install another ubuntu distro, it may overwrite the ubuntu folder. From within bodhi, do this to see if it fixes the problem:
Quote:
sudo grub-install --bootloader-id=bodhi
sudo update-grub
This is assuming your only have one drive.

Last edited by colorpurple21859; 09-07-2019 at 01:36 PM.
 
Old 09-07-2019, 02:43 PM   #4
madmax25
Member
 
Registered: Aug 2018
Posts: 273

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
The only problem with this if you decide to install another ubuntu distro, it may overwrite the ubuntu folder.
In fact, this is exactly what I was looking for and I will definitely give it a try a.s.a.p..

If I want the grub of Bodhi, I install it from within Bodhi into that ubuntu folder (thanks for your tip!) and if I want to have the grub from another distro, let's say from Xubuntu or so, I install that one from that other distro, but also into the ubuntu folder.

To do this, I don't need a live system with chroot or what ever, I just boot into the wanted distro and there I do...
Code:
sudo grub-install
or according to your tip
Code:
sudo grub-install --bootloader-id=ubuntu
followed by
Code:
sudo update-grub
...and a reboot... and I'm already done.

From my point of view this is way easier because, if there's always the ubuntu folder being used, it makes it very easy to exchange the grub and to put the according distro at the 1st place of grub.

Last edited by madmax25; 09-07-2019 at 03:02 PM.
 
Old 09-07-2019, 05:20 PM   #5
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,350

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Quote:
If I want the grub of Bodhi, I install it from within Bodhi into that ubuntu folder
the grubx64.efi in that folder will be replaced and setup to use only he grub files in /boot/grub from what ever distro grub-install was envoked from. If you decide to install another ubuntu based distro in addition to the ones you already have, or replace the xbuntu with another ubuntu based distro you will have to do this again. Anyways, for now at least it is working the way you want it.

Last edited by colorpurple21859; 09-07-2019 at 05:31 PM.
 
Old 09-08-2019, 02:20 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,307
Blog Entries: 9

Rep: Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309
Quote:
Originally Posted by madmax25 View Post
I want to be able to switch between Bodhi as the 1st entry in grub or Xubuntu as 1st entry in in grub when booting.
Maybe I'm being daft, but I would say that only one can be the first.

Quote:
Originally Posted by madmax25 View Post
I'm already done.
So is this SOLVED now?
 
Old 09-08-2019, 07:56 AM   #7
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,350

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Quote:
So is this SOLVED now?
I think only temporary.
 
Old 09-08-2019, 07:56 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,080

Rep: Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900
I continue to be amazed that anyone cares about these sort of things in any way. Or plymouth themes, or backgrounds , or ...

Eyecandy be damned. Gimme a boot menu and the boot messages scrolling by ... :shrug:
 
Old 09-08-2019, 07:58 AM   #9
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,350

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Quote:
Eyecandy be damned. Gimme a boot menu and the boot messages scrolling by ... :shrug:
My sentiments also.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BL5.0-64bit - How to repair grub, please? madmax25 Bodhi 5 09-05-2019 01:29 PM
BL5.0-64bit - How to set up vino, please? madmax25 Bodhi 4 04-27-2019 01:02 PM
BL5.0-64bit - How to install .DEB, please? madmax25 Bodhi 6 04-22-2019 10:55 AM
[SOLVED] Ooooy. EFI boot mmx64.efi.efi not found bulgin Linux - Newbie 12 12-20-2018 11:03 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 08:34 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration