Hello Gerard,

What does the command "zpool status" show you? It appears that
update_grub thinks that /dev/dsk/c5t1d0s0 is attached to the
root pool as part of a mirror and it's that device that looks
like it's getting all the errors. What does fdisk show for
/dev/dsk/c5t1d0s0?

It would also be helpful to see what "zfs list" shows.


-evan

[EMAIL PROTECTED] wrote:
> hello all,
> 
> 200805 b86 is installed on a sun ultra 20, with two disks mirrored.
> I've got this error:
> 
> -bash-3.2# pfexec /mnt/boot/solaris/bin/update_grub -R /mnt
> Creating GRUB menu in /mnt
> bootadm: failed to determine fdisk partition: /dev/dsk/c5t1d0s0
> bootadm: is_bootdisk(): cannot determine BIOS disk ID 'hd?' for disk: 
> /dev/dsk/c5t1d0s0
> Installing grub on /dev/rdsk/c5t0d0s0
> stage1 written to partition 0 sector 0 (abs 16065)
> stage2 written to partition 0, 266 sectors starting at 50 (abs 16115)
> Creating GRUB menu in /mnt
> bootadm: failed to determine fdisk partition: /dev/rdsk/c5t1d0s0
> bootadm: failed to get grubsign for root: /mnt, device /dev/rdsk/c5t1d0s0
> Installing grub on /dev/rdsk/c5t1d0s0
> cannot open/stat device /dev/rdsk/c5t1d0s2
> 
> 
> the disks are:
>         0. c5t0d0 <DEFAULT cyl 9726 alt 2 hd 255 sec 63>
>            /[EMAIL PROTECTED],0/pci108e,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
>         1. c5t1d0 <ATA-ST380815AS-B-74.53GB>
>            /[EMAIL PROTECTED],0/pci108e,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
> 
> /dev/dsk/c5t0d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
> /dev/dsk/c5t0d0s1 is currently used by swap. Please see swap(1M).
> Part      Tag    Flag     Cylinders        Size            Blocks
>    0       root    wm     262 - 9725       72.50GB    (9464/0/0) 152039160
>    1       swap    wu       1 -  261        2.00GB    (261/0/0)    4192965
>    2     backup    wu       0 - 9725       74.50GB    (9726/0/0) 156248190
> -bash-3.2# bootadm list-menu -R /mnt
> The location for the active GRUB menu is: /mnt/boot/grub/menu.lst
> bootadm: no matching entry found
> -bash-3.2# bootadm list-menu
> The location for the active GRUB menu is: /boot/grub/menu.lst
> bootadm: no matching entry found
> 
> but the machine correctly boot the actual BE:
> -bash-3.2# beadm list
> 
> BE            Active Active on Mountpoint Space
> Name                 reboot               Used
> ----          ------ --------- ---------- -----
> opensolaris-2 no     no        legacy     2.12G
> opensolaris-1 yes    yes       legacy     4.22G
> opensolaris   no     no        -          8.40M
> 
> -bash-3.2#  /sbin/biosdev
> 0x80 /[EMAIL PROTECTED],0/pci108e,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
> 0x81 /[EMAIL PROTECTED],0/pci108e,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
> 
> 
> What's the problem? Is there a way to verify if grub is correctly installed?
> 
> thanks in advance for help,
> 
> gerard
> _______________________________________________
> 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

Reply via email to