Comment 7 for bug 1630017

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-10-11 10:49 EDT-------
I gave a try on a baremetal installation with the daily image available on October 9th.
I didn't get the grub error on installation, but after the reboot, petitboot doesn't show the JFS partition (/dev/sda2) to boot from.

I tried another run and just before the reboot, I installed grub manually from a shell. Here a snippet of the error message:

...
grub-install: info: Partition 0 starts from 2048.
grub-install: info: Partition 1 starts from 16384.
grub-install: info: grub-mkimage --directory '/usr/lib/grub/powerpc-ieee1275' --prefix '(,gpt2)/boot/grub' --output '/boot/grub/powerpc-ieee1275/core.elf' --format 'powerpc-ieee1275' --compression 'auto' 'jfs' 'part_gpt'
.
grub-install: info: the total module size is 0x2a14.
grub-install: info: reading /usr/lib/grub/powerpc-ieee1275/kernel.img.
grub-install: info: locating the section .text at 0x0.
grub-install: info: locating the section .rodata at 0xcd0c.
grub-install: info: locating the section .eh_frame at 0xf23c.
grub-install: info: locating the section .data at 0xf2e0.
grub-install: info: locating the section .module_license at 0xffa0.
grub-install: info: locating the section .sdata at 0xffc0.
grub-install: info: locating the section .sbss at 0xffd0.
grub-install: info: locating the section .bss at 0x10038.
grub-install: info: reading /usr/lib/grub/powerpc-ieee1275/jfs.mod.
grub-install: info: reading /usr/lib/grub/powerpc-ieee1275/part_gpt.mod.
grub-install: info: kernel_img=0x10005288b90, kernel_size=0xffce.
grub-install: info: the core size is 0x129e2.
grub-install: info: writing 0x12b24 bytes.
grub-install: info: copying `/boot/grub/powerpc-ieee1275/core.elf' -> `/boot/grub/grub'.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/sda is 3907029168.
grub-install: error: the chosen partition is not a PReP partition.

BTW, if I set the partition as ext4 or btrfs instead of JFS, it works. I mean, grub isn't installed (it couldn't as there is no Prep partition / there is no grub msg in dmesg) but petitboot shows the partition and I can boot from it.