Quantcast
Channel: Ubuntu Forums - Apple Hardware Users
Viewing all articles
Browse latest Browse all 2868

[PPC] Yaboot.conf needs openfirmware path??

$
0
0
Folks:

As mentioned in the previous post, I'm trying to fix my Yaboot.conf so it will again work, I did look at "man yaboot.conf" but it doesn't provide in situ examples. My question is specific to the ybin config line "ybin: Try specifying the real OpenFirmware path for macos=/dev/disk/by-id/scsi-SATA_WDC_WD2500AAJB-WD-WCARZ0037064-part9 in /mnt/etc/yaboot.conf" . . . this was the yaboot set up, linux thought that since it's an old computer that it is running OS9, but it had OSX. In spite of that, Yaboot booted OSX 10.4.11. The upgraded cpu seemed to destroy the 10.4.11 install, and installing 10.5 seemed to mess up the Yaboot.conf. So, no big deal to change "macos" to "macosx" but, I'm not quite sure how to handle the first "boot" line . . . showing "-part10" . . . which is the OSX partition?? Then, the linux bootstrap says "partition=11" (which seems correct) . . . but, then the "macos" line ends with "part9" . . . meaning "partition 9"??? which is some free space. Should I change that to "part10" . . . which will then be like the first boot line?? Would ybin then "understand"??


Code:

/dev/sda8          Apple_Patches Patch Partition          512 @ 1312      (256.0k)  Unknown
/dev/sda9              Apple_Free                      262144 @ 1824      (128.0M)  Free space
/dev/sda10              Apple_HFS Apple_HFS_Untitled_2 206731488 @ 263968    ( 98.6G)  HFS
/dev/sda11        Apple_Bootstrap untitled              19532 @ 206995456 (  9.5M)  NewWorld bootblock
/dev/sda12        Apple_UNIX_SVR2 untitled            46875000 @ 207014988 ( 22.4G)  Linux native
/dev/sda13        Apple_UNIX_SVR2 swap                5585938 @ 253889988 (  2.7G)  Linux swap
/dev/sda14            Apple_Free                    228921242 @ 259475926 (109.2G)  Free space

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/scsi-SATA_WDC_WD2500AAJB-WD-WCARZ0037064-part10"
device=/pci@f2000000/pci-bridge@d/mac-io@7/ata-4@1f000/@0
partition=11
root="UUID=70b01520-58df-4c6a-a500-bc8aed2fa47a"
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
macos="/dev/disk/by-id/scsi-SATA_WDC_WD2500AAJB-WD-WCARZ0037064-part9"

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

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


Code:

xbuntu@xbuntu:~$ sudo mount /dev/sda12 /mnt
xbuntu@xbuntu:~$ sudo nano /mnt/etc/yaboot.conf
xbuntu@xbuntu:~$ sudo ybin --config /mnt/etc/yaboot.conf -v
ybin: Finding OpenFirmware device path to `/dev/sda10'...
ybin: Finding OpenFirmware device path to `/dev/disk/by-id/scsi-SATA_WDC_WD2500AAJB-WD-WCARZ0037064-part9'...
ofpath: /dev/disk/by-id/scsi-SATA_WDC_WD2500AAJB-WD-WCARZ0037064-part9: No such file or directory
ybin: Unable to determine OpenFirmware path for macos=/dev/disk/by-id/scsi-SATA_WDC_WD2500AAJB-WD-WCARZ0037064-part9
ybin: Try specifying the real OpenFirmware path for macos=/dev/disk/by-id/scsi-SATA_WDC_WD2500AAJB-WD-WCARZ0037064-part9 in /mnt/etc/yaboot.conf
xbuntu@xbuntu:~$


Viewing all articles
Browse latest Browse all 2868

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>