BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have one common /boot. But the secret is to only mount it via the distribution you want to control it. So you might have
Bodhi: /boot # with the boot drive mounted
Xubuntu: /boot not mounted, so the /boot directory fills has the Xubuntu kernel(s), initrds, etc.
If you occasionally mount the Xubuntu / from Bodhi, you can copy that stuff over to the actual /boot and update grub when it updates the kernel.
That's what I do. I notice you also boot M$ windows. It's your choice but I have it relegated to a VM so it doesn't get near my drive.
Sorry, I got no idea what you are talking about and what you want me to do.
I just want to replace the grub of Xubuntu by the one of Bodhi, but I don't know how,
because I cannot remove the one which is accidently installed in
/dev/sda
where it actually belongs to
/dev/sda1
I need some guide about how to remove Xubuntu's grub from
If you have a 'bodhi' directory as well as an 'ubuntu' directory on your EFI partition, you should be able to use efibootmgr to change the boot order. Explained at the link below. Since we don't know what your entries are it is not possible to be more specific. If efibootmgr fails as it will on some computers, you will need to access the BIOS setup on boot and make the change there.
Not sure why you want to delete the Bodhi directory if you want to use Bodhi to boot? When you ran grub-install, you did it from Bodhi, correct?
Sorry, I got no idea what you are talking about and what you want me to do.
I just want to replace the grub of Xubuntu by the one of Bodhi, but I don't know how,
because I cannot remove the one which is accidently installed in
/dev/sda
where it actually belongs to
/dev/sda1
I need some guide about how to remove Xubuntu's grub from
/dev/sda
and how to install Bodhi's grub in
/dev/sda1
In the old days, The BIOS used to just boot by starting to read your hard disk at sector 0. This gave rise to boot viruses which DOS/Windows had no protection against. Now, with UEFI, it's more complicated and everything has boot loaders. But UEFI or not, the standard command to install grub is
Code:
grub-install /dev/sda
and not sda1, unless I am mistaken. This was the M$ way of avoiding boot viruses. The UEFI elephant is, in fact, a mouse built to M$ specifications..
I don't think the grub in sda1 will be referenced. Others will correct me if I'm wrong. There's no need to remove the grub in sda1 - it should be ignored. Just install Bodhi grub as indicated above.
The first 2 partitions are an efi partition, and a boot partition, which has the kernels. I wanted you only to have one /boot partition. Some guys confuse themselves with multiple boot partitions. If you want Bodhi to control it, reinstall grub in Bodhi, and only mount the boot partition in Bodhi. Xubuntu will treat the /boot directory in Xubuntu as it's /boot directory, and you can copy any kernel/initrd changes there to the boot partition from Bodhi.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.