On my system, I see:

matt@vault:/opensolaris/boot/grub$ ls /rpool/boot/grub/
bootsign       capability     menu.lst       splash.xpm.gz

and 

matt@vault:/opensolaris/boot/grub$ ls /boot/grub/
bin                e2fs_stage1_5      install_menu       menu.lst           
pxegrub            stage1             ufs_stage1_5       xfs_stage1_5
capability         fat_stage1_5       iso9660_stage1_5   minix_stage1_5     
reiserfs_stage1_5  stage2             ufs2_stage1_5      zfs_stage1_5
default            ffs_stage1_5       jfs_stage1_5       nbgrub             
splash.xpm.gz      stage2_eltorito    vstafs_stage1_5

There's definitely more files in /boot/grub in the active boot environment than 
there is in /rpool/boot/grub.

Perhaps you can boot off the live disc, and

# installgrub PATH/boot/grub/stage1 PATH/boot/grub/stage2 /dev/rdsk/c0t1d0s0

exchanging PATH for the mount path to what was the active boot environment, not 
just the root of the pool.

I checked on my machine if I `beadm mount be_name mount_point` then in 
`/mount_point/boot/grub/' I see the full list of boot files.

The only thing I'm not sure about is how `beadm mount` goes at mounting boot 
environments from another pool.


Hope that helps somewhat,

Matt




On 23/03/2011, at 6:50 AM, GUY WOOLLEY wrote:

> Since last October I've had OI 147/148 running on a new home PC. A while ago 
> I attempted to mirror it. All seemed good though I didn't fully check that 
> the mirror booted (silly me etc. - this is a home PC). Then the worst 
> happened and the new drive where OI was installed failed. So I'm left with 
> the drive carrying the mirror that doesn't boot (currently the only drive in 
> the machine). Is this recoverable - or is it goodbye to OI ?
> 
> Some specifics:
> 
> I can boot from the live USB image and inspect my original OI using 
> 
> zpool import -f -R /a rpool
> 
> and mount 0i_148-2 (my last instance of OI) at /a using beadm mount
> 
> If I try
> 
> ls /a/rpool/boot/grub
> 
> I find
> 
> bootsign capability menu.lst splash.xpm.gz
> 
> and 
> 
> ls /bootsign shows a file pool_rpool.
> 
> If I unmount 0i_148-2 and reboot, Grub tries to start, but I get
> 
> "booting '0i_148-2'
> 
> findroot (pool_rpool,1,a)
> 
> Error 15: File not found   Press any key to continue"
> 
> which takes me to the grub editor.
> 
> Changing values for "1" and "a" (to anything else) is of no consequence, nor 
> is 
> 
> deleting them to use simply "findroot (pool_rpool)".
> 
> Any suggestions as to how to fix this, or indeed advice that it can't be 
> fixed much appreciated. 
> 
> Thanks
> 
> Guy
> 
> 
> 
> 
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss


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

Reply via email to