[EMAIL PROTECTED] wrote:
>> I just performed an image-update from b98 to b99. On reboot, the boot
>> process stops at a grub prompt, suggesting that my grub configuration
>> got wiped. How can I boot into my system to restore my grub
>> configuration (I'm not quite sure how I'd specify the root partition
>> on a system with ZFS)?
>>
>
> Before doing the image-update, did you happen to upgrade your ZFS pool
> version? There is a known issue here when upgrade your pool version
> and ZFS root.
>
> To recover, try entering the following into your GRUB prompt
>
> bootfs rpool/ROOT/opensolaris-<N>
> kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
> module$ /platform/i86pc/$ISADIR/boot_archive
>
> where <N> is the previous boot environment's boot number (if you don't
> remember this, you may be able to infer a value from how many
> successful image-updates you've done. We know this is terrible and we
> badly need a better naming scheme here and of course, failure to boot
> after an update is unacceptable).
>
Alternatively, you could boot off your liveCD or liveUSB stick. Then in
a terminal window,
type:
pfexec zpool import -f rpool.
zfs list should now list all the available zfs boot file systems.
The rest of David's instructions should be followed.
-Sanjay
> Once you've booted, you should be able to recover your GRUB boot block
> by running
>
> $ pfexec mount -F zfs rpool/ROOT/opensolaris-<N+1> /mnt
> $ pfexec /mnt/boot/solaris/bin/update_grub -R /mnt
>
> Finally, please file a bug on defect.opensolaris.org with as much
> detail as you can provide on the system in question, drive types and
> the ZFS configuration (single disk or mirrored).
>
> dsc
> _______________________________________________
> indiana-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss