Added FreeBSD 9.3 to Slackware's GRUB2, still can't boot
SlackwareThis Forum is for the discussion of Slackware 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.
Added FreeBSD 9.3 to Slackware's GRUB2, still can't boot
Hey guys,
Not sure if this thread should be in the *BSD sub-forum but I'll try it here only.
I installed FreeBSD 9.3 AMD64 on a spare 65GB partition on my Thinkpad(sig.) using GPT partition table. I know that LILO can't boot FreeBSD, I removed it and configured GRUB2 on the Slackware partition. Also, modified the 40_custom file for FreeBSD using the UUID of the /dev/sda4 FreeBSD partition. This is my /etc/grub.d/40_custom file :-
Quote:
#!/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.
# 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 'FreeBSD 9.3' {
insmod ufs2
insmod bsd
Not sure if this thread should be in the *BSD sub-forum but I'll try it here only.
I installed FreeBSD 9.3 AMD64 on a spare 65GB partition on my Thinkpad(sig.) using GPT partition table. I know that LILO can't boot FreeBSD, I removed it and configured GRUB2 on the Slackware partition.
FWIW, Lilo can boot FreeBSD. I recently installed FreeBSD 10.0 multi-boot with Slackware current (14.1+) and Lilo without any issues. I too, had heard that Lilo could not boot to it - but using a simple chain boot worked for me - details in my posts here and here.
One difference though, I am using MBR and you are using GPT, so keep that in mind, but might be worth a second look.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.