• Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ernsteiswuerfel
    Posts: 545 from 2015/6/18
    From: Funeralopolis
    Code:
    	## yaboot.conf generated by the Ubuntu installer
    ##
    ## run: "man yaboot.conf" for details. Do not make changes until you have!!
    ## see also: /usr/share/doc/yaboot/examples for example configurations.
    ##
    ## For a dual-boot menu, add one or more of:
    ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

    boot="/dev/disk/by-id/ata-WDC_WD3200BEVE-00A0HT0_WD-WXE309J36020-part4"
    device=/pci@f4000000/ata-6@d/@0
    partition=8
    root="UUID=e7580396-741d-4923-8a8a-50db1b938df3"
    timeout=20
    install=/usr/lib/yaboot/yaboot
    magicboot=/usr/lib/yaboot/ofboot
    enablecdboot
    enableofboot

    macos=/dev/sda3
    defaultos=macos


    image=/vmlinux
    label=Linux
    read-only
    initrd=/initrd.img
    append="rootflags=subvol=@ quiet splash"

    image=/vmlinux.old
    label=old
    read-only
    initrd=/initrd.img.old
    append="rootflags=subvol=@ quiet splash"


    To boot MorphOS from yaboot you need to know the HFS+ boot partition of MorphOS. You need to add macos=/dev/sdX to your /etc/yaboot.conf, X is your partition which in my case is sda3. This adds a "Mac OS" boot entry to the boot menu.

    After you edited yaboot.conf you need to write it to your disk with sudo ybin -v -C /etc/yaboot.conf. If you booted from the Debian CD you first need to mount your Linux partition with /etc/yaboot.conf on it of course.

    Next time you boot you can press "m" to boot into MorphOS, or if you want to default to it you can add the defaultos=macos line to yaboot.conf like I did. enablecdboot or enableofboot are also nice.
    Talos II. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.18 / Gentoo Linux] | Vampire V4 SA [ApolloOS / Amiga OS 3.2.2]
  • »22.01.16 - 00:04
    Profile