Re: Bootloader problem on IBM Power7 LPAR

Dinar Valeev <[email protected]> Thu, 5 Jun 2014 12:57:11 +0200
Newsgroups gmane.linux.suse.ppc
Message-ID <CADqALGSWuDHes938XfctWE8NJjBPfVocuqB9Ci_vBjO2WRvi_Q@mail.gmail.com>
On Thu, Jun 5, 2014 at 12:44 PM, Schneck Dennis CIS SDE
<[email protected]> wrote:
> parted /dev/sda resize 1 8M
> WARNING: you are attempting to use parted to operate on (resize) a file system.
> parted's file system manipulation code is not as robust as what you'll find in
> dedicated, file-system-specific packages like e2fsprogs.  We recommend
> you use parted only to manipulate partition tables, whenever possible.
> Support for performing most operations on most types of file systems
> will be removed in an upcoming release.
> End?  [214MB]?
> Error: Could not detect file system.
Oh.. then delete partition manually and create a new one. Don't forget
to set prep and boot flags on it.
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]] Im Auftrag von Dinar Valeev
> Gesendet: Donnerstag, 5. Juni 2014 12:40
> An: Schneck Dennis CIS SDE; [email protected]
> Betreff: Re: [opensuse-ppc] Bootloader problem on IBM Power7 LPAR
>
> On Thu, Jun 5, 2014 at 12:37 PM, Schneck Dennis CIS SDE <[email protected]> wrote:
>> Hi,
>> i made a new install without LVM.
>>
>> grub2-mkconfig -o /boot/grub2/grub.conf
>>
>> grub2-install --force --recheck --no-nvram /dev/sda1
>> 170+1 records in
>> 170+1 records out
>> Installation finished. No error reported.
>>
>> But now:
>>
>> PReP-BOOT : Unable to load full PReP image.
>> Loaded bf8000  out of cb00000  bytes.
>>
>>                       .----------------------------------.
>>                       |  No Operating Systems Installed  |
>>                       `----------------------------------'
>>
>>
>>
> It seems your PReP partition is quite big.
> parted /dev/sda resize 1 8M
> grub2-install /dev/sda1
>>
>> -----Ursprüngliche Nachricht-----
>> Von: [email protected] [mailto:[email protected]] Im Auftrag von Dinar
>> Valeev
>> Gesendet: Donnerstag, 5. Juni 2014 09:48
>> An: [email protected]
>> Betreff: Re: [opensuse-ppc] Bootloader problem on IBM Power7 LPAR
>>
>> Hi,
>> On Thu, Jun 5, 2014 at 9:06 AM, Schneck Dennis CIS SDE
>> <[email protected]> wrote:
>>>
>>> Hello,
>>> i have installed openSuSE 13.1 on a IBM Power7 LPAR.
>>> The Problem is that the bootloader can not installed.
>>>
>>> I installed the openSuSE on LVM (with multipath).
>>>
>>> Yaboot (ybin) ist not available.
>> We have yaboot wrapped by lilo script. (lilo package)
>>> Is it possible to get it work with grub2 ?
>>> Or is there another bootloader to boot ?
>>>
>>> # grub2-install
>> You shouls specify PReP partition to install to. Like grub2-install
>> /dev/sda1
>>
>>> Path `/boot/grub2' is not readable by GRUB on boot. Installation is impossible. Aborting.
>>>
>>> # grub2-mkconfig -o /boot/grub2/grub.cfg
>>>
>>>
>>> #vgdisplay
>>>
>>>   Check that device-mapper is available in the kernel.
>>>   Found duplicate PV tW1RfVfr0u3qt1daYZdTrMbzYP5um143: using /dev/sdb2 not /dev/sda2
>>>   --- Volume group ---
>>>   VG Name               system
>>>   System ID
>>>   Format                lvm2
>>>   Metadata Areas        1
>>>   Metadata Sequence No  4
>>>   VG Access             read/write
>>>   VG Status             resizable
>>>   MAX LV                0
>>>   Cur LV                3
>>>   Open LV               0
>>>   Max PV                0
>>>   Cur PV                1
>>>   Act PV                1
>>>   VG Size               9.80 GiB
>>>   PE Size               4.00 MiB
>>>   Total PE              2508
>>>   Alloc PE / Size       2507 / 9.79 GiB
>>>   Free  PE / Size       1 / 4.00 MiB
>>>   VG UUID               31SQqL-xam3-eVXS-k7z4-7QCr-EPvG-FjUomq
>>>
>>> # lvdisplay
>>>   /dev/mapper/control: mknod failed: No such file or directory
>>>   Failure to communicate with kernel device-mapper driver.
>>>   Check that device-mapper is available in the kernel.
>>>   Found duplicate PV tW1RfVfr0u3qt1daYZdTrMbzYP5um143: using /dev/sdb2 not /dev/sda2
>>>   --- Logical volume ---
>>>   LV Path                /dev/system/home
>>>   LV Name                home
>>>   VG Name                system
>>>   LV UUID                3162uV-PvOa-O1el-0Oan-tWjm-nHiw-fvGqW3
>>>   LV Write Access        read/write
>>>   LV Creation host, time 10.1.7.154, 2014-06-05 08:16:35 +0200
>>>   LV Status              NOT available
>>>   LV Size                2.79 GiB
>>>   Current LE             715
>>>   Segments               1
>>>   Allocation             inherit
>>>   Read ahead sectors     auto
>>>
>>>   --- Logical volume ---
>>>   LV Path                /dev/system/root
>>>   LV Name                root
>>>   VG Name                system
>>>   LV UUID                0e1yxZ-kqLq-3dUV-fU7D-UhDy-6AhB-duqOIF
>>>   LV Write Access        read/write
>>>   LV Creation host, time 10.1.7.154, 2014-06-05 08:16:35 +0200
>>>   LV Status              NOT available
>>>   LV Size                5.00 GiB
>>>   Current LE             1280
>>>   Segments               1
>>>   Allocation             inherit
>>>   Read ahead sectors     auto
>>>
>>>   --- Logical volume ---
>>>   LV Path                /dev/system/swap
>>>   LV Name                swap
>>>   VG Name                system
>>>   LV UUID                qCA7TJ-cMAf-EDOu-vHbK-vuk4-TGNk-ttsDIW
>>>   LV Write Access        read/write
>>>   LV Creation host, time 10.1.7.154, 2014-06-05 08:16:35 +0200
>>>   LV Status              NOT available
>>>   LV Size                2.00 GiB
>>>   Current LE             512
>>>   Segments               1
>>>   Allocation             inherit
>>>   Read ahead sectors     auto
>>>
>>> Dennis
>>> --
>>> To unsubscribe, e-mail: [email protected]
>>> To contact the owner, e-mail: [email protected]
>>>
>> --
>> To unsubscribe, e-mail: [email protected]
>> To contact the owner, e-mail: [email protected]
>>
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]