[OpenIndiana-discuss] 151a8 boot problems - SOLVED

Stefan Müller-Wilken stefan.mueller-wilken at acando.de
Tue Feb 4 12:32:05 UTC 2014


Just to close the case: the problems indeed were caused by the overlap between slice 0 and slice 8. After reformatting and making slice 0 start at cyl 1 the problems stopped. And that indeed was super elegant the OpenIndiana way: just detached one of the two mirrored disks from rpool, repartitioned & relabled it, installed GRUB and then attached it again. After resilvering, I set the now fixed drive as boot LUN in SmartArray, rebooted from that and repeated for the other one. Done!

Thanks, Predrag and Hans for your hints. I love this community! :-)

Cheers
 Stefan

________________________________________
Von: Stefan Müller-Wilken [stefan.mueller-wilken at acando.de]
Gesendet: Dienstag, 4. Februar 2014 12:15
An: Discussion list for OpenIndiana
Betreff: Re: [OpenIndiana-discuss] 151a8 boot problems

Hi Hans,

... you mean 0 covers 8, don't you?

Cheers
 Stefan

________________________________________
Von: Hans J. Albertsson [hans.j.albertsson at branneriet.se]
Gesendet: Dienstag, 4. Februar 2014 11:42
An: Discussion list for OpenIndiana
Betreff: Re: [OpenIndiana-discuss] 151a8 boot problems

You may have noted that according to this partition table, part 9 covers
partition 8, the BOOT partition. That's not a good idea for an x86 machine.


On 2014-02-04 11:31, Stefan Müller-Wilken wrote:
> There is one thing I'm not sure about; when looking at the partition table, what makes me wonder is that partition 0 starts at cylinder 0 while other machines in my collection have it start at cylinder 1. Apart from that, it is tagged as 'unassigned' and not root:
>
>
> Current partition table (original):
> Total disk cylinders available: 60795 + 2 (reserved cylinders)
>
> Part      Tag    Flag     Cylinders         Size            Blocks
>    0 unassigned    wm       0 - 60793      931.41GB    (60794/0/0) 1953311220
>    1 unassigned    wm       0                0         (0/0/0)              0
>    2     backup    wu       0 - 60794      931.43GB    (60795/0/0) 1953343350
>    3 unassigned    wm       0                0         (0/0/0)              0
>    4 unassigned    wm       0                0         (0/0/0)              0
>    5 unassigned    wm       0                0         (0/0/0)              0
>    6 unassigned    wm       0                0         (0/0/0)              0
>    7 unassigned    wm       0                0         (0/0/0)              0
>    8       boot    wu       0 -     0       15.69MB    (1/0/0)          32130
>    9 unassigned    wm       0                0         (0/0/0)              0
>
> Could that be a problem? Again: it works once after installgrub and then hangs on GRUB for any subsequent try.
>
> Cheers
>   Stefan
>
>
> ________________________________________
> Von: Predrag Zecevic [Unix Systems Administrator] [predrag.zecevic at 2e-systems.com]
> Gesendet: Dienstag, 4. Februar 2014 10:55
> An: Discussion list for OpenIndiana
> Betreff: Re: [OpenIndiana-discuss] 151a8 boot problems
>
> Hi,
>
> since grub is problem, is it possible that rpool mirror is 'damaged'?
>
> zpool status -v rpool
>
> Otherwise, I have no other idea.
> Regards.
>
> On 02/ 4/14 10:45 AM, Stefan Müller-Wilken wrote:
>> Hmmm... I've booted from DVD, switched to command line, mounted rpool and then diff'ed the stage1 and stage2 binaries. They are identical, so that can't be a problem.  But things are getting even weirder. I booted from DVD, then chain-booted into the HD installation, reinstalled boot loader via installgrub and rebooted. The server went into GRUB menu without a problem and did that again as l resetted from GRUB menu.
>>
>> But getting into GRUB menu works only until I boot through into multi user for the first time. After that, any subsequent boot will end in "GRUB _" or "GRUB loading stage2...".
>>
>> Huh??!
>>
>> Cheers
>>    Stefan
>> ________________________________________
>> Von: Predrag Zecevic [Unix Systems Administrator] [predrag.zecevic at 2e-systems.com]
>> Gesendet: Dienstag, 4. Februar 2014 08:41
>> An: Discussion list for OpenIndiana
>> Betreff: Re: [OpenIndiana-discuss] 151a8 boot problems
>>
>> Hi Stefan,
>>
>> see my comment below.
>>
>> On 02/ 3/14 09:55 PM, Stefan Müller-Wilken wrote:
>>> Hi Predrag,
>>>
>>> you mean simply use installgrub from the DVD? Or copy the files 'stage1' and 'stage2'  to my HD's /boot/grub?
>>>
>>> Cheers
>>>     Stefan
>>>
>> Yes, all from DVD (I had problem with outdated grub structure on USB
>> image, check "OI 1.8 /dev: need help (missing feature for read
>> 'org.illumos:lz4_compress')" discussion - that was completely another
>> problem, but USB image didn't worked).
>>
>> Regards.
>>> ________________________________________
>>> Von: Predrag Zecevic [predrag.zecevic at 2e-systems.com]
>>> Gesendet: Montag, 3. Februar 2014 21:32
>>> An: Discussion list for OpenIndiana
>>> Betreff: Re: [OpenIndiana-discuss] 151a8 boot problems
>>>
>>> Am 03.02.2014 21:11, schrieb Stefan Müller-Wilken:
>>>> Dear all,
>>>>
>>>> I've got a serious booting problem with one of my 151a8 Proliants after switching my root pool mirror with its 2 disksfrom 73GB disks to 1TB disks. Although I've used installgrub to write stage1 and stage2 to each of the two disks using ...
>>>>
>>>> # installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t0d0s0
>>>> # installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t1d0s0
>>>>
>>>> ... the machine will blank the screen after booting and stop with "GRUB" and a blinking cursor. Using the text installer CD and then using "Boot from harddisk" will work. Anything I can do to bring the machine back to normal?
>>>>
>>>> Cheers
>>>>     Stefan
>>>>
>>>> ________________________________
>>>> Acando GmbH, Millerntorplatz 1, 20359 Hamburg, Germany | Geschäftsführer: Guido Ahle | Amtsgericht Hamburg, HRB 76048 | Ust.Ident-Nr.:DE208833022
>>>> _______________________________________________
>>>> OpenIndiana-discuss mailing list
>>>> OpenIndiana-discuss at openindiana.org
>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>
>>> Hi Stefan,
>>>
>>> not quiet sure, but I guess you have to:
>>> a) boot from DVD (not USB)
>>> b) import -f rpool
>>> c) use stage1 and stage 2 files from that booted media (not sure if
>>> /boot/grub/ is linked properly)
>>> d) reboot
>>>
>>> Just an idea.
>>>
>>> Regards.
>>> --
>>> Predrag Zecevic, Technical Support Analyst, 2e Systems GmbH
>>>
>>> Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
>>> Mobile:    +49  174 3109 288,     Skype: predrag.zecevic
>>> E-mail:    predrag.zecevic at 2e-systems.com
>>>
>>> Headquarter:          2e Systems GmbH, Königsteiner Str. 87,
>>>                          65812 Bad Soden am Taunus, Germany
>>> Company registration: Amtsgericht Königstein (Germany), HRB 7303
>>> Managing director:    Phil Douglas
>>>
>>> http://www.2e-systems.com/ - Making your business fly!
>>>
>>>
>>> ________________________________
>>> Acando GmbH, Millerntorplatz 1, 20359 Hamburg, Germany | Geschäftsführer: Guido Ahle | Amtsgericht Hamburg, HRB 76048 | Ust.Ident-Nr.:DE208833022
>>>
>>> _______________________________________________
>>> OpenIndiana-discuss mailing list
>>> OpenIndiana-discuss at openindiana.org
>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>>
>> --
>> Predrag Zečević, Technical Support Analyst, 2e Systems GmbH
>>
>> Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
>> Mobile:    +49  174 3109 288,     Skype: predrag.zecevic
>> E-mail:    predrag.zecevic at 2e-systems.com
>>
>> Headquarter:          2e Systems GmbH, Königsteiner Str. 87,
>>                          65812 Bad Soden am Taunus, Germany
>> Company registration: Amtsgericht Königstein (Germany), HRB 7303
>> Managing director:    Phil Douglas
>>
>> http://www.2e-systems.com/ - Making your business fly!
>>
>> [***]===---
>> Today is the first day of the rest of your life.
>>
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>> ________________________________
>> Acando GmbH, Millerntorplatz 1, 20359 Hamburg, Germany | Geschäftsführer: Guido Ahle | Amtsgericht Hamburg, HRB 76048 | Ust.Ident-Nr.:DE208833022
>>
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>
> --
> Predrag Zečević, Technical Support Analyst, 2e Systems GmbH
>
> Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
> Mobile:    +49  174 3109 288,     Skype: predrag.zecevic
> E-mail:    predrag.zecevic at 2e-systems.com
>
> Headquarter:          2e Systems GmbH, Königsteiner Str. 87,
>                         65812 Bad Soden am Taunus, Germany
> Company registration: Amtsgericht Königstein (Germany), HRB 7303
> Managing director:    Phil Douglas
>
> http://www.2e-systems.com/ - Making your business fly!
>
> [***]===---
> A Law of Computer Programming: Make it possible for programmers to write
> in English and you will find that programmers cannot write in English.
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
> ________________________________
> Acando GmbH, Millerntorplatz 1, 20359 Hamburg, Germany | Geschäftsführer: Guido Ahle | Amtsgericht Hamburg, HRB 76048 | Ust.Ident-Nr.:DE208833022
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss


_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

________________________________
Acando GmbH, Millerntorplatz 1, 20359 Hamburg, Germany | Geschäftsführer: Guido Ahle | Amtsgericht Hamburg, HRB 76048 | Ust.Ident-Nr.:DE208833022

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

________________________________
Acando GmbH, Millerntorplatz 1, 20359 Hamburg, Germany | Geschäftsführer: Guido Ahle | Amtsgericht Hamburg, HRB 76048 | Ust.Ident-Nr.:DE208833022



More information about the OpenIndiana-discuss mailing list