This is my first time trying to use Xvm with ZFS root - `bootadm -m upgrade` has always worked for me in the past... I have a fresh install of b97 with ZFS root and get the following error running `bootadm -m upgrade` bash-3.2# bootadm -m upgrade bootadm: failed to determine fdisk partition: rpool/ROOT/snv_97 bootadm: Cannot find GRUB signature for / I get this error even after following the advice in this thread bash-3.2# cd /boot/grub bash-3.2# cat menu.lst ***Do not edit*** The menu.lst file for this system is in /rpool/boot/grub. bash-3.2# mv menu.lst menu.lst-old bash-3.2# ln -s /rpool/boot/grub/menu.lst menu.lst bash-3.2# bootadm -m upgrade bootadm: failed to determine fdisk partition: rpool/ROOT/snv_97 bootadm: Cannot find GRUB signature for / I also tried to follow the advice in this thread, but `pfexec` can''t find `pkg`: bash-3.2# pfexec pkg image-update pkg: Command not found Any advice? Thanks, Kent
Malachi de Ælfweald
2008-Sep-07 23:22 UTC
Re: b97 with ZFS root - `bootadm -m upgrade` fails
Yeah that didn''t work for me either. I just did it manually http://malsserver.blogspot.com/2008/08/installing-xvm.html On Sun, Sep 7, 2008 at 4:03 PM, Kent Watsen <kent@watsen.net> wrote:> This is my first time trying to use Xvm with ZFS root - `bootadm -m > upgrade` has always worked for me in the past... > > > I have a fresh install of b97 with ZFS root and get the following error > running `bootadm -m upgrade` > > bash-3.2# bootadm -m upgrade > bootadm: failed to determine fdisk partition: rpool/ROOT/snv_97 > bootadm: Cannot find GRUB signature for / > > > I get this error even after following the advice in this thread<http://trevoro.ca/blog/2008/05/07/getting-xvm-to-work-in-opensolaris-200805/#comment-4779> > > bash-3.2# cd /boot/grub > bash-3.2# cat menu.lst > ***Do not edit*** > The menu.lst file for this system is in /rpool/boot/grub. > bash-3.2# mv menu.lst menu.lst-old > bash-3.2# ln -s /rpool/boot/grub/menu.lst menu.lst > bash-3.2# bootadm -m upgrade > bootadm: failed to determine fdisk partition: rpool/ROOT/snv_97 > bootadm: Cannot find GRUB signature for / > > > I also tried to follow the advice in this thread<http://forums.opensolaris.com/message.jspa?messageID=1173>, > but `pfexec` can''t find `pkg`: > > bash-3.2# pfexec pkg image-update > pkg: Command not found > > > Any advice? > > Thanks, > Kent > > > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >
Hey, That seems to have worked! But how did you know to use "opensolaris-1" in the bootfs line? PS: think this a bug? Thanks! Kent Malachi de Ælfweald wrote: Yeah that didn''t work for me either. I just did it manually http://malsserver.blogspot.com/2008/08/installing-xvm.html On Sun, Sep 7, 2008 at 4:03 PM, Kent Watsen <kent@watsen.net> wrote: This is my first time trying to use Xvm with ZFS root - `bootadm -m upgrade` has always worked for me in the past... I have a fresh install of b97 with ZFS root and get the following error running `bootadm -m upgrade` bash-3.2# bootadm -m upgrade bootadm: failed to determine fdisk partition: rpool/ROOT/snv_97 bootadm: Cannot find GRUB signature for / I get this error even after following the advice in this thread bash-3.2# cd /boot/grub bash-3.2# cat menu.lst ***Do not edit*** The menu.lst file for this system is in /rpool/boot/grub. bash-3.2# mv menu.lst menu.lst-old bash-3.2# ln -s /rpool/boot/grub/menu.lst menu.lst bash-3.2# bootadm -m upgrade bootadm: failed to determine fdisk partition: rpool/ROOT/snv_97 bootadm: Cannot find GRUB signature for / I also tried to follow the advice in this thread, but `pfexec` can''t find `pkg`: bash-3.2# pfexec pkg image-update pkg: Command not found Any advice? Thanks, Kent _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Malachi de Ælfweald
2008-Sep-08 02:10 UTC
Re: b97 with ZFS root - `bootadm -m upgrade` fails
I am not sure how I figured it out (I spent a couple days on it) but try 'zfs list' On Sun, Sep 7, 2008 at 5:39 PM, Kent Watsen <kent@watsen.net> wrote:> > Hey, > > That seems to have worked! > > But how did you know to use "opensolaris-1" in the bootfs line? > > PS: think this a bug? > > Thanks! > Kent > > > > > Malachi de Ælfweald wrote: > > Yeah that didn't work for me either. I just did it manually > http://malsserver.blogspot.com/2008/08/installing-xvm.html > > On Sun, Sep 7, 2008 at 4:03 PM, Kent Watsen <kent@watsen.net> wrote: > >> This is my first time trying to use Xvm with ZFS root - `bootadm -m >> upgrade` has always worked for me in the past... >> >> >> I have a fresh install of b97 with ZFS root and get the following error >> running `bootadm -m upgrade` >> >> bash-3.2# bootadm -m upgrade >> bootadm: failed to determine fdisk partition: rpool/ROOT/snv_97 >> bootadm: Cannot find GRUB signature for / >> >> >> I get this error even after following the advice in this thread<http://trevoro.ca/blog/2008/05/07/getting-xvm-to-work-in-opensolaris-200805/#comment-4779> >> >> bash-3.2# cd /boot/grub >> bash-3.2# cat menu.lst >> ***Do not edit*** >> The menu.lst file for this system is in /rpool/boot/grub. >> bash-3.2# mv menu.lst menu.lst-old >> bash-3.2# ln -s /rpool/boot/grub/menu.lst menu.lst >> bash-3.2# bootadm -m upgrade >> bootadm: failed to determine fdisk partition: rpool/ROOT/snv_97 >> bootadm: Cannot find GRUB signature for / >> >> >> I also tried to follow the advice in this thread<http://forums.opensolaris.com/message.jspa?messageID=1173>, >> but `pfexec` can't find `pkg`: >> >> bash-3.2# pfexec pkg image-update >> pkg: Command not found >> >> >> Any advice? >> >> Thanks, >> Kent >> >> >> >> _______________________________________________ >> xen-discuss mailing list >> xen-discuss@opensolaris.org >> > > >