[arch-general] Editing grub for dual boot?

William Castro castrwilliam at gmail.com
Mon Apr 25 08:13:17 UTC 2016


I have another guess.

BSD uses partitions within partitions (it calls them "slices".) Check under
the GRUB command line for anything funky like hd0,msdos1bsd1 or something.

On Sat, Apr 23, 2016 at 2:46 PM, Mauro Santos <registo.mailling at gmail.com>
wrote:

> On 23-04-2016 22:41, bill . wrote:
> > Hi all,
> >
> > BSD is on a primary so that's not the issue.
> >
> > When i added this to grub.cfg it puts the bsd option in my grub at
> bootup, but when i select it i get the error "invalid signature." I tried
> replacing msdos1 with msdos3 since my bsd is on the third primary
> partition, but same result. I have checked the syntax several times. Does
> this error have to do with my placement within the file (near the end
> before memtest) or another error? Many thanks!
> > peace
> > -bill
> >
> >> Date: Tue, 19 Apr 2016 01:04:36 +0200
> >> From: silver.bullet at zoho.com
> >> To: arch-general at archlinux.org
> >> Subject: Re: [arch-general] Editing grub for dual boot?
> >>
> >> To boot FreeBSD I needed to add a chainloader to the Linux's grub.cfg.
> >>
> >> menuentry "FreeBSD"{
> >>     set root=(hd0,msdos1)
> >>     chainloader +1
> >> }
> >>
> >> Note, at least FreeBSD needs to be on a primary or GPT partition.
> >
> >
>
> You might have to mark the partition as active/bootable and you might
> have to hide other partitions.
>
> It all depends on what the bsd is expecting to find in regards to
> partitions. I've never used it so I can't be of much help besides guesses.
>
> --
> Mauro Santos
>


More information about the arch-general mailing list