You are not logged in.
So, after I decided to try to recreate BL on Ubuntu, I formatted my laptop, reinstalled BL, and installed Ubuntu alongside.
Problem is, when installing Grub, Ubuntu didn't just added his entry, but replaced every graphic related options (fonts, splashscreen...), which I liked a lot.
(It also put Ubuntu as the first and default entry like a goddamn scoundrel, but that I know how to fix.)
Searching "Change Grub config" on your favorite search engine always return the same answer, from Ubuntu, install a PPA, then a app which start a nice GUI. But I only have a minimal install, and don't want to wait until I have finished to recreate BL before changing that.
How should I go to recreate the BL grub config, while keeping the Ubuntu entry? Preferably from BL.
Last edited by D219 (2017-03-30 18:02:43)
Offline
Login to BL and
sudo update-grub
Offline
Login to BL and
sudo update-grub
Hmm wouldn't this then overwrite his Ubuntu entry? He'd have to add the ubuntu entry to this BL grub, as well as put back whatever customizations he had then run the update-grub command right?
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
The `update-grub` command should add Ubuntu to the BunsenLabs GRUB menu but it sounds like the OP is booting with Ubuntu's GRUB at the moment.
This command should install BunsenLabs' GRUB bootloader to the MBR of the disk and wrest control away from Ubuntu (yay!):
sudo grub-install /dev/sda
There should be an option to skip the bootloader step in the Ubuntu installer, in future you should select this to stop BunsenLabs' GRUB from being overwritten.
Last edited by Head_on_a_Stick (2017-03-27 16:31:07)
Offline
lol, turns into a Boot Loader arm wrestling contest... He config file for his B.L grub should still be intact though right? He'll have to add the entry for Ubuntu right? It can't automatically find it yea? So basically he's just putting the BL Grub where the Ubuntu one is...
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
sudo grub-install /dev/sda && sudo update-grub
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Another approach, use efibootmgr to put BL's bootloader back in charge.
"man efibootmgr"
It really easy to use.
sudo efibootmgr -v
Will list the priority/order stuff is in and use
sudo efibootmgr -o XXXX,XXXX,XXXX
Where XXXX is the numbers assigned in the order you want them in, listing BL's bootloader 1st.
Edit: This is assuming it's a uefi system/install and besides am sure Hoas already supplied a good fix. So mainly just wanted to mention efibootmgr, it's good stuff and have used it often to correct issues like this.
Crap, it's a bios/mbr setup apparently. Gotta start reading I guess. Though again knew Hoas would already have things sorted.
Dang it 1 more, have also resorted to opening whichever file-manager w sudo privs,
Ie: "gksudo thunar"
Going to /boot/efi/EFI
And removing whichever Os's bootloader from the esp on the comp, it's always fallen back to another/whichever other os's bootloader is still in the pc's ESP partition anyway.
Just to be on safeside keep a backup of any you remove. Name em something like ubuntubak and stash em in roots /home. Can always copy/paste em back. If you have m$ onboard would not do anything to its bootmanager.
Last edited by BLizgreat! (2017-03-28 13:37:08)
Offline
@Damo's solution worked, and detected Ubuntu automatically.
Offline