GRUB2 - FreeBSD-8.0 does not show up in triple boot menu, dual boot menu it does..
*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
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.
GRUB2 - FreeBSD-8.0 does not show up in triple boot menu, dual boot menu it does..
Hello Family,
(summary = FreeBSD entry will not even show on boot menu after running update-grub!)
I have four laptops, three are 40-gig drives, dual booted with FreeBSD-8.0 and Ubuntu-9.10 and those work fine. My triple boot (XP+FreeBSD-8.0+Ubuntu-9.10) Lenovo-T60p with a 100-gig drive will "NOT" even add the FreeBSD entry to the menu whereas all the others do. Here is the entry that is exactly the same in all the laptops and FreeBSD-8.0 is in the same partition on all the laptops.
This is the /etc/grub.d/40_custom file addon that works on the others
#################################
menuentry "FreeBSD-8.0" {
set root=(hd0,3)
chainloader +1
}
#################################
It is odd that it isn't shown at all.
Did you run 'update-grub' after you edited the 40_custom?
Ah, sorry, yes you said so.
If yes, i would simply try to put it in /boot/grub/grub.cfg and overwrite it with -> :x! (just to test if it works at all. If it does you may move on with troubleshooting).
It is odd that it isn't shown at all.
Did you run 'update-grub' after you edited the 40_custom?
Ah, sorry, yes you said so.
If yes, i would simply try to put it in /boot/grub/grub.cfg and overwrite it with -> :x! (just to test if it works at all. If it does you may move on with troubleshooting).
You might also try 'os-prober'.
Good idea, from what I read it's only overwritten when "update-grub" is run. If it does work I could "chattr +i /boot/grub/grub.cfg" to keep the file from being written to even by root!
Good idea, from what I read it's only overwritten when "update-grub" is run. If it does work I could "chattr +i /boot/grub/grub.cfg" to keep the file from being written to even by root!
Thanks again. Good catch!
Hmm, just went to go force feed the stanza into the file and it's already there! Jeez, can't understand why GRUB2 won't even print it on the menu. Menu entries get printed even if they are in error and don't boot. This entry is not even showing up. And again, I've got three(3) other laptops here with Ubuntu-9.10 + FreeBSD-8.0 that update the menu with the EXACT STANZA. Phew..
Grub2's grub2.cfg can be edited no different from the Grub1's menu.lst.
As the previous Grub1 the new Grub2 can be used to boot any installed system manually so make a Grub floppy or Grub CD (put nothing but Grub2 on it) can save a lot of booting problems. See Task K1 & K2 in Just booting tips of my signature for making Grub2 floppy or CD.
Grub2's grub2.cfg can be edited no different from the Grub1's menu.lst.
As the previous Grub1 the new Grub2 can be used to boot any installed system manually so make a Grub floppy or Grub CD (put nothing but Grub2 on it) can save a lot of booting problems. See Task K1 & K2 in Just booting tips of my signature for making Grub2 floppy or CD.
Thanks for the posting, I appreciate it. Your signature did not appear in this post... Could you post the URL of the steps to make a "grub" boot cd?
I still can't understand why just the FreeBSD stanza in /boot/grub/grub.cfg does not print when it does in other Ubuntu/FreeBSD laptops I have.
Linux user started Jun 2004 - No. 361921
Using a Linux live CD to clone XP
To install Linux and keep Windows MBR untouched
A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
Just cloning tips for cloning XP/Vista/Linux/BSD/Solaris or migration to a bigger hard disk
Just booting tips A collection of booting tips
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.