On Wed, Oct 15, 2008 at 3:13 PM,  <[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.

Yes, I had upgraded my ZFS rpool version. I'm pretty sure the system
has survived other reboots after the rpool upgrade, though.

> 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).

Thanks for the suggestion, but it didn't work. After entering the
kernel$ line, I got an "Error 17: Cannot mount selected partition". I
repeated the process with other boot environments (including the
latest) to no avail.

I'm currently trying to boot the system with an OpenSolaris install
disk. It's a remote server, so the task is a bit harder than it sounds
:P

> 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).

I'll file a report once I boot the system with an install CD to see if
I'm experiencing the same problem as Glynn Foster, who has already
filed a bug report.

Just FYI, though, the server is a dual-core Xeon 3040 with 8GB of RAM
on a Supermicro motherboard. All system drives are housed in a SAS
port expander connected to a PCI-X LSI SAS HBA. I'm using mirrored
SATA drives for my rpool, and I have a RAID-Z pool composed of 6x SATA
drives.

Thanks again for your help.

-- Stephen
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to