Discussion:
dual booting issue with Linux
(too old to reply)
infinityux--- via freebsd-questions
2016-05-24 12:49:13 UTC
Permalink
In Linux terminal I ran this $ sudo -i# nano /etc/grub.d/40_custom   And got #!/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. I added there menuentry "FreeBSD" { insmod ufs2 set root=(hd0,1) chainloader +1 }
Saved that. And gave a restart but nothing is happening
Ralf Mardorf via freebsd-questions
2016-05-24 13:06:56 UTC
Permalink
Post by infinityux--- via freebsd-questions
/etc/grub.d/40_custom
"FreeBSD" {
insmod ufs2 set
root=(hd0,1)
chainloader +1 }
Saved that. And gave a restart but nothing is happening
I don't know if that entry is correct, but assume it should be ok, then
you still need to update /boot/grub/grub.cfg. There is a command [1]
that will generate a new grub.cfg based on the OS prober thingy and the
config you edited.

Regards,
Ralf

[1]

Perhaps the command is

sudo update-grub

"The menu list of available Linux kernels is automatically generated by
running update-grub." - https://help.ubuntu.com/community/Grub2

As already mentioned, I edit grub.cfg manually and don't use all this
automation thingies.
Warren Block
2016-05-24 15:06:05 UTC
Permalink
Do I have to install freebsd in MBR except GPT for dual booting with Linux? 
This question is unclear, but whether FreeBSD will dual-boot does not
depend on the partitioning scheme.

This thread shows dual-booting with GPT and FreeBSD using Grub:
https://forums.freebsd.org/threads/49055/
Vladimir Botka
2016-05-24 16:10:04 UTC
Permalink
On Tue, 24 May 2016 11:47:34 +0000 (UTC)
Do I have to install freebsd in MBR except GPT for dual booting with Linux? 
FWIW, I found lot of useful details in this article "Booting from GPT"
http://www.rodsbooks.com/gdisk/booting.html

Loading...