I've upraded my server from solaris express and also expanded rpool by adding then removing mirror. Now when I reboot I got just grub prompt and no any boot menu.
If I enter boot commands manually (root, bootfs, kernel$, etc), I can boot.
I have these BEs: sergey@nas:~# beadm list BE Active Mountpoint Space Policy Created solaris - - 25.86M static 2011-04-18 20:00 solaris-1 R - 10.79G static 2011-11-09 21:09 solaris-2 N / 5.24G static 2012-10-11 23:01
But if I try to activate latest, I get: sergey@nas:~# beadm activate solaris-2 Device node is not a slice: /dev/rdsk/c10t3d0p1 Unable to activate solaris-2. Error installing boot files.
As my partitions are x86-like: sergey@nas:~# zpool status rpool pool: rpool state: ONLINE status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using 'zpool upgrade'. Once this is done, the pool will no longer be accessible on older software versions. scan: scrub repaired 0 in 0h2m with 0 errors on Sat Oct 13 01:37:59 2012 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c10t3d0p1 ONLINE 0 0 0 errors: No known data errors
GRUB has the same pretension: sergey@nas:~# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c10t3d0p1 raw device must be a root slice (not s2) Unable to gather device information for /dev/rdsk/c10t3d0p1
So I cannot do anything to reinstall GRUB and make him to see my menu
What can I do in this situation other than full reinstall from empty disk?
/usr/sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/cxtxdxs0
its not working do this if its exteded
The installgrub command accepts the following options:
-f Suppresses interaction when overwriting the master
-m Installs GRUB stage1 on the master boot sector
interactively. You must use this option if Solaris is
installed on an extended partition.
installgrub -fm /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/cxtxdxs0
After some tries I've managed that I cannot boot system any more (seems that I damaged stage2 and cannot fix it) so I made full reinstall. Reinstalling all services took less time than playing with grub.
It is possible your problem maybe related to using the p1 suffix on the disk names as per the documentation
best practices for creating root pools.
Can you describe how you were able to create a root pool in a p* device?
I don't think our installer allows you to do this. See the doc link from Darren.
Currently, a ZFS root pool is only supported on a disk slice, such as c10t3d0s0.
Our disk terminology is confusing:
cntndnpn = larger fdisk partition that contains a disk and disk slices
cntndn represents whole disk
cntndnsn represents a disk slice that is required for booting in this release
I tried to grow root pool by adding mirror.
1) Connect external disk
2) Create partition on it and attach it to rpool device
3) Wait for resync
4) Remove boot disk from mirror
5) Delete partition on boot disk and create larger one (here it becomes c10t3d0p1)
6) Add new partition back to rpool
7) Wait for resync
8) Remove from mirror temporary disk
9) No way to reinstall grub on boot disk