[OpenIndiana-discuss] OI boot problem

GUY WOOLLEY guy.woolley at btinternet.com
Sun Mar 27 11:42:16 UTC 2011


It seems to come down to having the right X,Y parameters which I've now got, and I'm back in Firefox in my 0i_148-2.

I edited the grub menu for the live CD to make it correspond to my old 0i_148-2 and it booted.

Just for interest (and to prove publicly I know not what I'm doing) did all the business with zpool import, zfs mount, installgrub.....etc actually change anything ? Or is the answer to the original question of how to deal with a lost BE due to a failed mirror (which is still intact on its disk) simply to fire up a live image and edit its GRUB to point at the relevant disk?

I now need to make things permanent.

Thanks to all who helped

Guy

--- On Sun, 27/3/11, Apostolos Syropoulos <asyropoulos at yahoo.com> wrote:

From: Apostolos Syropoulos <asyropoulos at yahoo.com>
Subject: Re: [OpenIndiana-discuss] OI boot problem
To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
Date: Sunday, 27 March, 2011, 10:39

> findroot (pool_rpool,X,Y)
> file not found

On two systems I have just checked:

$ ls -l
σύνολο 1
-r--r--r-- 1 root root 0 2010-05-19 17:49 pool_rpool
$ more pool_rpool 
$ pwd
/rpool/boot/grub/bootsign


Now when you boot with the live thing just
make sure the file exists. Otherwise, created with

# touch /a/rpool/boot/grub/bootsign/pool_rpool


 Now the X and Y parameters in findroot (pool_rpool,X,Y)
corresponds to the disk partition (0 is the first one) and
the slice within the partition (slices start with a).

 A.S.

----------------------
Apostolos Syropoulos
Xanthi, Greece



      

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the OpenIndiana-discuss mailing list