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.
Dealing with boot issues, I've been researching a bit on "grub" and seems it didn't get installed in my system (/etc/default and other locations as per Linux forums browsing).
From my live-session file manager I also searched for *grub* and no hints.
Would you suggest a complete re-install of Bodhi or maybe installing grub as a stand alone package?
If the second option is viable, what would be the hi level process? Thanks a lot!
Peperina.
i'm not sure exactly what you mean by "hi level process", but you can install grub from a terminal with the command sudo grub-install /dev/sdX (where X is replaced by the letter of the drive you wish to install grub to). if you need to check which drive letter, you can use lsblk -f.
Last edited by cordx; 05-19-2020 at 05:50 AM.
Reason: for clarity and missed the typo!
The target of that command should be /dev/sdb in that case - note the typo above (it's a device file).
I haven't dealt with bodhi in years, may get back to it today, but you have to have a boot-loader. We need hard info - go here, download the script and do as it says.
If your doing this from a live iso, first you have to mount bodhi root partition somewhere, say /mnt and then run grub-install --boot-directory=/mnt/boot /dev/sdb
This is assuming this isn't an efi system and no boot partition. Otherwise do as syg00 suggest run the boot-info script and post the results.
grub-install error failed to get canonical path of /cow
That means that whatever ccmmand you ran it was trying to install Grub to the 'live' system, the DVD/USB which you were using which will never work so run the bootinfoscript and post the info if you haven't resolved the problem.
Thanks everybody for the suggestions! I just did a fast read of "bootinfoscript", so may need to work my self in understanding how to install/run it. Most probably I'll be replying and uploading info tomorrow. Best regards,
Peperina.
1- Got /home/bodhi/bootinfoscript-0.78 to host the script, changelog and readme files.
2- Tried sudo ./bootinfoscript but got some "command not found"
3- Tried su - which asked for root password which I don't know and couldn't locate.
4- From previous step, learned that sudo -s might be an option and actually got to root@bodhi:~#
5- Tried to execute ./bootinfoscript and got "bash ./bootinfoscript not such file or directory"
Maybe some silly issue like I'm not executing the command properly? Thanks for any help! Best regards,
Peperina.
There is no sign of Grub in the bootinfoscript output so you do need to install it. Use the command in post 5 above but preface it with sudo. And you do need to mount that partition (/dev/sdb5) first.
It looks like you have two usbs plugged in. What is the 2GB /dev/sdd1 label bodhi?
Did you install bodhi twice? There are two ext4 file systems, one is /dev/sdb1 and one is /dev/sdb5
Thanks! Back when I started, I attempted to install Bodhi twice. First attempt gave me the option to "install alongside other OS" (failed) and second attempt I chose to do a "clean" install on sdb. Is that causing a problem?
As per the suggested commands sequence would it be something like this:
you will need to install grub to the disk itself (sdb) instead of the partition (sdb5). here's a bit more info if you are interested: https://help.ubuntu.com/community/Grub2/Installing. there is a good explanation down under the heading "via the LiveCD terminal".
Are you planning to change the boot disk in the BIOS ?. If you don't Windows will (always) remain the default boot-loader.
grub-install doesn't install the package grub, but installs the software (from the package) needed to boot the disk. First it might pay to check if it really did get installed at all.
Code:
dpkg '*grub*' | grep ^îi
FWIW I installed bodhi twice yesterday, once as BIOS on MBR and also as EFI on gpt (re-install erased entire disk without asking) - no problems on either, grub was fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.