Have you tried booting off the mirror disk ?

-- Renaud

Jim Faut wrote:
> I guess I should have known better.  I proceeded anyway and now my 
> system won't boot.
> 
> I thought LU was supposed to be "safe" :-(  Now I just get a GRUB 
> command prompt.  I have no idea what to do with that.  I can boot in 
> single user mode and mount the various slices, but I don't know what I 
> am supposed to do to get this thing to boot now.  I have tried running 
> /mnt/sbin/luactivate after mounting each slice, but it complains each 
> time that it's not a valid boot slice for the mirror.
> 
> I wanna scream ...
> 
> - Jim
> 
> On Mar 6, 2009, at 10:55 AM, Renaud Manus wrote:
> 
>> It seems that there is a bug[1] in the script so instead of installing
>> GRUB on submirror /dev/rdsk/c3d0s0, it tried on 
>> /dev/rdsk//dev/rdsk/c3d0s0 which obviously failed.
>>
>> So, I'd say that GRUB is installed on one part of the mirror only.
>> You can probably repair it by running installgrub manually but even
>> with that it might not be sufficient.
>>
>> -- Renaud
>>
>> [1]
>> 6782215 luactivate with SVM fails due to incorrect parsing of 
>> 'metastat -p' output
>> 6723956 cannot boot an BE using u6 Lu packages and solaris 1/06, 
>> errors parsing metastat in lux86menu_prop
>>
>> Jim Faut wrote:
>>> LOL.  You beat me to it.  I just figured this out.  I have 7zip 
>>> installed and I got further this time.  However, the script still 
>>> produced some errors.  Should this concern me?
>>> FYI --- My root is mirrored
>>> bash-3.2# metastat -c
>>> d40              m   19GB d41 d42
>>>    d41          s   19GB c1d0s4
>>>    d42          s   19GB c3d0s4
>>> d20              m  423GB d21 d22
>>>    d21          s  423GB c1d0s3
>>>    d22          s  423GB c3d0s3
>>> d10              m   19GB d11 d12
>>>    d11          s   19GB c1d0s0
>>>    d12          s   19GB c3d0s0
>>> d30              m  2.0GB d31 d32
>>>    d31          s  2.0GB c1d0s1
>>>    d32          s  2.0GB c3d0s1
>>> d40 is the mirror for the new 108 BE
>>> d10 is the active 78 mirror
>>> - Jim
>>> bash-3.2# /usr/lib/lu/lux86menu_propagate /mnt/dvd
>>> Validating the contents of the media </mnt/dvd>.
>>> The media is a standard Solaris media.
>>> The media contains a Solaris operating system image.
>>> The media contains <Solaris> version <11>.
>>> Installing latest Live Upgrade packages from media
>>> Updating Live Upgrade packages on all BEs
>>> Successfully updated Live Upgrade packages on all BEs
>>> Successfully extracted GRUB from media
>>> System has no GRUB slice
>>> Installing GRUB bootloader to all GRUB based BEs
>>> /dev/md/dsk/d10
>>> *ERROR: Cannot parse sub-mirror in </usr/sbin/metastat> output*
>>> cannot open/stat device /dev/rdsk//dev/rdsk/c3d0s2
>>> *ERROR: installgrub failed for </dev/rdsk//dev/rdsk/c3d0s0>*
>>> /dev/md/dsk/d40
>>> *ERROR: Cannot parse sub-mirror in </usr/sbin/metastat> output*
>>> cannot open/stat device /dev/rdsk//dev/rdsk/c3d0s2
>>> *ERROR: installgrub failed for </dev/rdsk//dev/rdsk/c3d0s4>*
>>> System does not have an applicable x86 boot partition
>>> *ERROR: Install GRUB to all BEs is incomplete*
>>> *ERROR: Install GRUB is incomplete*
>>> Converting root entries to findroot
>>> Generated boot signature <BE_d10> for BE <d10>
>>> Added findroot entry for BE <d10> to GRUB menu
>>> Generated boot signature <BE_snv_108> for BE <snv_108>
>>> Added findroot entry for BE <snv_108> to GRUB menu
>>> No more bootadm entries. Deletion of bootadm entries is complete.
>>> GRUB menu default setting is unaffected
>>> Done eliding bootadm entries.
>>> File </boot/grub/menu.lst> propagation successful
>>> Menu propagation successful
>>> File </etc/lu/GRUB_slice> deletion successful
>>> Successfully deleted GRUB_slice file
>>> File </etc/lu/GRUB_root> deletion successful
>>> Successfully deleted GRUB_root file
>>> Propagating findroot GRUB for menu conversion.
>>> File </etc/lu/installgrub.findroot> propagation successful
>>> File </etc/lu/stage1.findroot> propagation successful
>>> File </etc/lu/stage2.findroot> propagation successful
>>> Deleting stale GRUB loader from all BEs.
>>> File </etc/lu/installgrub.latest> deletion successful
>>> File </etc/lu/stage1.latest> deletion successful
>>> File </etc/lu/stage2.latest> deletion successful
>>> Conversion was successful
>>> Thanks,
>>> Jim
>>> On Mar 6, 2009, at 10:21 AM, Andrew Watkins wrote:
>>>>
>>>> Jim,
>>>>
>>>> It is there:
>>>>
>>>> # lofiadm -a /export/iso/sol-nv-b108-x86-dvd.iso
>>>> # mount -o ro -F hsfs -o ro /dev/lofi/1 /mnt
>>>> #
>>>> # pkginfo -d /mnt/Solaris_11/Product SUNWp7zip
>>>> system      SUNWp7zip The p7zip compression and archiving utility
>>>>
>>>> # pkgadd -d /mnt/Solaris_11/Product SUNWp7zip
>>>>
>>>> Andrew
>>>>
>>>> Jim Faut wrote:
>>>>> Renaud,
>>>>> How do I install this from the media?  I tried looking for 
>>>>> SUNW7zip, but that search came up empty.  What I did find was 
>>>>> SUNWp7zip.  However, trying to install it I got this message:
>>>>> bash-3.2# pkgadd -d SUNWp7zip
>>>>> pkgadd: ERROR: no packages were found in 
>>>>> </mnt/dvd/Solaris_11/Product/SUNWp7zip>
>>>>> Is there some other command I should run?
>>>>> - Jim
>>>>> On Mar 6, 2009, at 9:12 AM, Renaud Manus wrote:
>>>>>> This is probably because SUNW7zip is missing on the current BE.
>>>>>>
>>>>>> Try installing manually SUNW7zip from the cdrom first.
>>>>>>
>>>>>> -- Renaud
>>>>>>
>>>>>> Jim Faut wrote:
>>>>>>> Renaud,
>>>>>>> I have done that, and it worked ok.  I have moved on to running 
>>>>>>> the live upgrade and now I have the following error.  Any ideas?
>>>>>>> I check the md5sum of the iso image and it matches the one posted 
>>>>>>> on the d/l site.
>>>>>>> bash-3.2$ md5sum sol-nv-b108-x86-dvd.iso 
>>>>>>> 2b6e1d3178f9b25f00ebcb9f448b04a0 sol-nv-b108-x86-dvd.iso
>>>>>>> bash-3.2# /usr/lib/lu/lux86menu_propagate /mnt/dvd
>>>>>>> Validating the contents of the media .
>>>>>>> The media is a standard Solaris media.
>>>>>>> The media contains a Solaris operating system image.
>>>>>>> The media contains version .
>>>>>>> Installing latest Live Upgrade packages from media
>>>>>>> Updating Live Upgrade packages on all BEs
>>>>>>> Successfully updated Live Upgrade packages on all BEs
>>>>>>> *ERROR: Errors extracting SUNWcsr package from media .
>>>>>>> ERROR: Cannot extract GRUB from supplied media . Exiting ...
>>>>>>> *
>>>>>>> Thanks,
>>>>>>> Jim
>>>>>>> On Mar 6, 2009, at 8:56 AM, Renaud Manus wrote:
>>>>>>>> Just upgrade the LU packages on your running BE from the install 
>>>>>>>> media.
>>>>>>>>
>>>>>>>> eg.
>>>>>>>>
>>>>>>>> <...>/Solaris_11/Tools/Installers/liveupgrade20 -noconsole 
>>>>>>>> -nodisplay
>>>>>>>>
>>>>>>>> -- Renaud
>>>>>>>>
>>>>>>>> Jim Faut wrote:
>>>>>>>>> I have read the documentation and several blogs on how to do 
>>>>>>>>> Live Upgrade.  Can you please help me understand these issues? 
>>>>>>>>>  I am trying to upgrade from NV78 to NV108.
>>>>>>>>> 1) All the documentation says that I need to patch my system 
>>>>>>>>> prior to running the live upgrade.  Does this apply to SNV as 
>>>>>>>>> well?  I started by trying to patch the patch packages, but it 
>>>>>>>>> complained that the packages on my system were not compatible 
>>>>>>>>> with the ones in the patch.  I downloaded the patches from 
>>>>>>>>> sunsolve, but I don't know if they are applicable to SNV.
>>>>>>>>> 2) I tried running Update Center.  It prompted me for 
>>>>>>>>> registration. Do I need a Service Plan Number in order to run 
>>>>>>>>> Update Center? Anyway, it failed with a message about "Error in 
>>>>>>>>> SCN/Cacao Update License".  What does this mean?
>>>>>>>>> 3) I guess I can try running the Live Upgrade commands without 
>>>>>>>>> patching the system, but is this the recommended approach?  I 
>>>>>>>>> don't want to hose this server.
>>>>>>>>> Thanks,
>>>>>>>>> Jim
>>>>> <http://www.java.com> * Jim Faut *
>>>>> *Sun Microsystems, Inc.*
>>>>> US
>>>>> Phone x51682/+1-303-955-3048
>>>>> Mobile 303-887-1847
>>>>> Fax 303-955-3048
>>>>> Conference 866-545-5227 Passcode 3546664#
>>>>> Email Jim.Faut at Sun.COM <mailto:Jim.Faut at Sun.COM>
>>>>> ------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> install-discuss mailing list
>>>>> install-discuss at opensolaris.org 
>>>>> <mailto:install-discuss at opensolaris.org>
>>>>> http://mail.opensolaris.org/mailman/listinfo/install-discuss
>>>>
>>> <http://www.java.com> * Jim Faut *
>>> *Sun Microsystems, Inc.*
>>> US
>>> Phone x51682/+1-303-955-3048
>>> Mobile 303-887-1847
>>> Fax 303-955-3048
>>> Conference 866-545-5227 Passcode 3546664#
>>> Email Jim.Faut at Sun.COM <mailto:Jim.Faut at Sun.COM>
> 
> <http://www.java.com>         * Jim Faut *
> 
> *Sun Microsystems, Inc.*
> US
> Phone x51682/+1-303-955-3048
> Mobile 303-887-1847
> Fax 303-955-3048
> Conference 866-545-5227 Passcode 3546664#
> Email Jim.Faut at Sun.COM <mailto:Jim.Faut at Sun.COM>
> 
> 

Reply via email to