grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub2 boot root-on-zfs errors


From: Andrey Borzenkov
Subject: Re: grub2 boot root-on-zfs errors
Date: Tue, 24 Sep 2013 07:56:36 +0400

В Mon, 23 Sep 2013 21:28:41 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:

> On 23.09.2013 20:59, Beeblebrox wrote:
> >>>  This doesn't demonstrate anything else than that you didn't use tools
> > correctly. It's:  grub-probe -d /dev/ada0p2
> > 
> > Thank you very much - I ran the command you instructed and see that
> > the FS is identified correctly.
> > $ grub-probe -d /dev/ada0p2
> > zfs
> > 
> > I cannot, however, boot from grub directly into zfs-root. After the
> > grub menu comes up, and I fall to command-prompt, listing the drives
> > shows no ZFS paths and the various menu variations I have tried do not
> > work.
> > 
> > Unfortunately, there is not much accurate documentation for
> > FreeBSD+ZFS+grub, and the linux solutions to the problem do not work
> > for FreeBSD.
> > 
> > The main problem form the grub loader / command line, is that I cannot
> > get any code loaded which is located on a ZPOOL:
> > 
> > menuentry 'FreeBSD-ZFS' {
> >     insmod zfs
> >     set root='hd0,gpt2'
> >     kfreebsd /boot/loader      }
> > 
> > Fails because grub cannot find bootloader and gives "no such file" error.
> > Please let me know what ıther info I can provide to debug the problem.
> > 
> Syntax is:
> (DISK)/address@hidden/FILE
> I think it's described somewhere in manual

No, it is not. There are examples using zfs with this syntax (but
without snapshot)s).

I'm not sure where should it go ... in "File name syntax" probably?

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]