Results 1 to 10 of 18

Thread: How To: Boot PowerPC live/desktop ISOs via grub2

Threaded View

  1. #1
    Join Date
    Jan 2011
    Beans
    939

    How To: Boot PowerPC live/desktop ISOs via grub2

    This how to shows how grub2 can be used to boot a PowerPC live/desktop iso file stored on a USB flash drive. It is an alternative to using the dd command or extracting the contents of the iso file.

    This method is so easy my dog could do it!

    I've tested this on a fat32 flash drive using an MS-DOS partition table. You'll have to do some adjustments if the flash drive is formatted with an Apple Partition Map (becuase the map takes up partition 1).

    Copy the live/desktop iso file to the first partition of your USB flash drive.
    Copy the attached files (grub.cfg, grub.img and ofboot.b) to the first partition of your USB flash drive.

    Boot into openfirmware

    Check you have fat support:
    Code:
    dev /packages ls
    and look for the listing "/fat-files".

    Find your usb partition using the dir command (this command lists files). Your partition will probably be usb0/disk@1:1 , usb1/disk@1:1 or ud:1
    Code:
    dir usb0/disk@1:1,\
    dir usb1/disk@1:1,\
    dir ud:1,\
    Then boot the ofboot.b file. For example:
    Code:
    boot usb0/disk@1:1,\ofboot.b
    You'll get some error message about prefix not being set. Just ignore it.

    Choose your ubuntu derivative and machine from the menu. The menu entries are setup for 12.04, so if you've downloaded a different version you'll have to edit the menu entry by pressing 'e'. Change the isofile value to the name of the iso.

    Your live system should now boot!

    For info:

    The gub.img was created with this command

    Code:
    sudo grub-mkimage --prefix="(grubdevice,1)" -o grub.img -O powerpc-ieee1275 -v part_apple part_msdos hfs hfsplus ext2 fat iso9660 loopback linux configfile
    If you want to re-run the command you need to install the grub-ieee1275 package.
    Attached Files Attached Files

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •