Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Haven't used the BSD systems myself but the page at the link below gives several different suggestions that work, at least on FreeBSD, whatever difference that makes.
Did you put that after what was already in /etc/grub.d/40_custom?
Did you run update-grub after the editing 40_custom, and does your menuentry work? As Yancek mentioned earlier you can press c at the grub menu, and enter the following at the grub> prompt to see if it will work:
Did you put that after what was already in /etc/grub.d/40_custom?
Did you run update-grub after the editing 40_custom, and does your menuentry work? As Yancek mentioned earlier you can press c at the grub menu, and enter the following at the grub> prompt to see if it will work:
Code:
set root=(hd1,4)
chainloader +1
boot
I passed on the complete contents of 40_custom earlier today. With that content I ran the update-grub command, and that had no effect. Pressing 'c' while the menu is visible does not bring up a command line, so it is not possible to execute commands.
I don't know what you did, the /etc/grub.d/40_custom file should be like this after adding the bsd menuentry:
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "OpenBSD" {
set root=(hd1,4)
chainloader +1
}
Another way to do this is create a /boot/grub/custom.cfg file with just this in it:
Code:
menuentry "OpenBSD" {
set root=(hd1,4)
chainloader +1
}
Last edited by colorpurple21859; 03-18-2024 at 05:45 PM.
Another way to do this is create a /boot/grub/custom.cfg file with just this in it:
Code:
menuentry "OpenBSD" {
set root=(hd1,4)
chainloader +1
}
This gives me a menu entry with OpenBSD, and I can boot that too. The problem is that I can't use the arrow keys. I have to press 'c' first, after which the menu bar jumps to OpenBSD, but the arrow keys remain inactive. What can be done about this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.