Handbook Talk:PPC64/Blocks/Bootloader

From Gentoo Wiki
Jump to:navigation Jump to:search

Grub unneeded steps

Talk status
This discussion is still ongoing as of 2024-09-20.

yaboot seems Turbo Obsolete and not developed. Should we be encouraging its use? For PReP (IBM PowerVM) systems, the Grub on G5 instructions aren't quite accurate. Grub seems to work, but the information about setting up /boot with HFS and all seems unneeded; all you need to do is

root #grub-install /dev/sda1

(where sda1 is your PReP boot partition) and the other command to make the config; this seems to work with a single root partition, as the partitioning section for IBM systems suggests. The PReP boot partition is only 7/8 MB which seems worrying, but this seems sufficient for Grub; it might be worth calming users about this. --Calvin (talk) 00:22, 20 September 2024 (UTC)

When under going testing these steps were required for G5 mac, if you could write a simplified set of instructions then I will be happy to test these and update.
Immolo (talk) 01:11, 20 September 2024 (UTC)
First draft is now ready for review at User:Immolo/sandbox/bootloader
I would ideally like some feedback left below about what machines this has been tested on and if we can drop the yaboot section with this added please.
Immolo (talk) 02:27, 20 September 2024 (UTC)

update yaboot to use intramfs

Talk status
This discussion is done as of 2024-09-20.

To match changes at PPC64/Blocks/Kernel and keep the handbook working this change is also needed:

Proposed changes - Please make edits here until a final revision is agreed upon.

That's it!
FILE yaboot.confExample yaboot.conf for IBM hardware
device=disk:
partition=2
root=
default=linux
timeout=50
  
image=/boot/kernel-
    label=linux
    initrd=/boot/initramfs-
    append="console=ttyS0,9600"
    read-only

For POWER4, POWER5, and blade-based hardware (where the PReP disk partition and the disk partition that contains the kernel are on the same physical disk), it is possible to use a simplified yaboot.conf. The following should be sufficient:


FILE yaboot.confyaboot.conf for PReP hardware
default = linux
timeout = 100
image=/boot/kernel-
        label=linux
        initrd=/boot/initramfs-
        read-only
        root = 
        append="root=/dev/sda2"
Fixed in Special:Diff/1279698/1313966, thanks!
--csfore (talk) 02:28, 20 September 2024 (UTC)