Page 8 of 8 FirstFirst ... 678
Results 71 to 79 of 79

Thread: [SOLVED] PowerMac G5 unable to boot PPC ubuntu 7.10

  1. #71
    Join Date
    Aug 2008
    Location
    Toronto
    Beans
    46
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: PowerMac G5 unable to boot PPC ubuntu 7.10

    Code:
    root@ubuntu:/# ls /dev/disk
    by-id  by-label  by-path  by-uuid
    root@ubuntu:/#
    I'm going to have to finish this (I hope), a bit later. Going somewhere and will be back in about 4 hours.
    Last edited by Chucklz15; August 25th, 2008 at 10:32 PM.

  2. #72
    Join Date
    Jun 2008
    Location
    Berlin
    Beans
    784
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: PowerMac G5 unable to boot PPC ubuntu 7.10

    Ok, I go soon to sleep (I live in Berlin...)
    My two last suggestions (for today): run, from the chrooted Ubuntu
    Code:
    mkofboot -v
    and post it here.
    If it should work umount everything, as explained before, and restart.


    Second option:
    If you can't yet boot, try again from Open Firmware (comd+opt+o+f) with following (please, note the difference 0 and 1) :

    Code:
    boot /ht/pci@7/k2-sata-root/k2-sata@0/disk@0:2,\yaboot
    or
    Code:
    boot /ht/pci@7/k2-sata-root/k2-sata@1/disk@0:2,\yaboot
    or
    Code:
    /ht@0,f2000000/pci@7/k2-sata-root@c/k2-sata@0/disk@0:2,\yaboot
    or
    Code:
    /ht@0,f2000000/pci@7/k2-sata-root@c/k2-sata@1/disk@0:2,\yaboot
    Last edited by tiresia; August 26th, 2008 at 01:18 AM.
    PowerMac G5 Debian Squeeze - MacOSX Leopard / Lenovo 3000 N200 Debian Wheezy
    PowerPCFAQ, PowerPCKnownIssues, Booting the Installer on PowerPC, Yaboot - How to configure the PPC Bootloader

  3. #73
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: PowerMac G5 unable to boot PPC ubuntu 7.10

    If you want to pursue the yabootconfig way:

    /dev/disk/by-uuid numbers should point to device names like this (for this box)
    Code:
    admax@g4:~/forum$ ls -l /dev/disk/by-uuid/
    total 0
    lrwxrwxrwx 1 root root 10 2008-08-26 12:51 700bb606-55d1-4229-b211-556bd53b7079 -> ../../hda4
    lrwxrwxrwx 1 root root 10 2008-08-26 12:51 938093c7-954e-4d28-bf0d-f6d0b88133d0 -> ../../hda6
    lrwxrwxrwx 1 root root 10 2008-08-26 12:51 96826303-77b7-48b6-b5cd-bb97015e4fa7 -> ../../hda9
    lrwxrwxrwx 1 root root 10 2008-08-26 12:51 a4e24732-e321-491f-897c-6c687441d856 -> ../../hda8
    lrwxrwxrwx 1 root root 10 2008-08-26 12:51 c7d01fd4-6dc7-4ade-ad2f-b866d13d3cf2 -> ../../hda7
    lrwxrwxrwx 1 root root 10 2008-08-26 12:51 CF127CED1089211F -> ../../hda3
    The by-uuid names should be links pointing to the sda partitions, but yabootconfig and ofpath are trying to interpret the uuid name (got from fstab) as device names which they need.

    If there is some problem there, then an option is to give yabooconfig the bootstrap and root device name.

    For example, (In your case -b /dev/sda2 -r /dev/sda3 I think)
    I ran this as --noinstall for a test.

    This would be done finally from the <chroot>/ with /proc /sys and /dev mounted as you have done.

    Code:
     
    admax@g4:~$ sudo yabootconfig -b /dev/hda2 -r /dev/hda6 --noinstall --debug
    yaboot is the Linux Loader for PowerPC.  yabootconfig sets up your system to boot directly
    from your hard disk, without the need for a boot CD, floppy or a network boot.
    Create simple /etc/yaboot.conf to boot Linux from /dev/hda6? [Yes] y
    Creating a simple /etc/yaboot.conf...
    yabootconfig: DEBUG: KERNEL=/boot/vmlinux
    yabootconfig: DEBUG: INITRD=/boot/initrd.img
    yabootconfig: DEBUG: KERNEL=/boot/vmlinux
    KERNDEV=/dev/hda6
    KERNDIR=/
    LINKDEV=/dev/hda6
    PARTITION=6
    KERNELDISK=/dev/hda
    yabootconfig: DEBUG: INITRD=/boot/initrd.img
    IRDDEV=/dev/hda6
    IRDDIR=/
    IRDLINKDEV=/dev/hda6
    IRDPARTITION=6
    INITRDDISK=/dev/hda
    admax@g4:~$

  4. #74
    Join Date
    Aug 2008
    Location
    Toronto
    Beans
    46
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: PowerMac G5 unable to boot PPC ubuntu 7.10

    And thats it, just run that command with the --noinstall? Or should I try tiresia's 4 solutions first?

    UPDATE - IMPORTANT!!!: I did the ls -l /dev/disk/by-uuid command and this is what I got (I noticed that it didn't do sda2!!!!):

    Code:
    ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid
    total 0
    lrwxrwxrwx 1 root root 10 2008-08-26 10:33 1895efdd-f1bb-4be9-9073-d78878492ae6 -> ../../sda4
    lrwxrwxrwx 1 root root 10 2008-08-26 10:33 cbf5c1ce-4fd7-4862-b096-2efd33909a00 -> ../../sda3
    ubuntu@ubuntu:~$
    Last edited by Chucklz15; August 26th, 2008 at 03:48 PM.
    X

  5. #75
    Join Date
    Jun 2008
    Location
    Berlin
    Beans
    784
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: PowerMac G5 unable to boot PPC ubuntu 7.10

    Hi Chucklz,

    please, before trying my suggestiongs, try what pxwpxw suggests (me too i think is right)
    You must be in the chrooted ubuntu (with /dev, /proc and /sys mounted)

    Code:
    sudo yabootconfig -v -b /dev/sda2 -r /dev/sda3
    Please, tell me what you get.
    If it doesn't work try my other solutions
    PowerMac G5 Debian Squeeze - MacOSX Leopard / Lenovo 3000 N200 Debian Wheezy
    PowerPCFAQ, PowerPCKnownIssues, Booting the Installer on PowerPC, Yaboot - How to configure the PPC Bootloader

  6. #76
    Join Date
    Aug 2008
    Location
    Toronto
    Beans
    46
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Smile Re: PowerMac G5 unable to boot PPC ubuntu 7.10

    BINGO, YES!!! Your second solution seemed to have worked and I think I know why. I was looking around inside my computer and I noticed where my hard disk was located. It was in slot B, meaning slave, so in your second solution when you said "...sata@1..." it meant slave. Thanks everyone for your help.
    X

  7. #77
    Join Date
    Jun 2008
    Location
    Berlin
    Beans
    784
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: PowerMac G5 unable to boot PPC ubuntu 7.10

    Right, I tought yesterday the same (because the patched ofpath gave a different path than that one you found days ago in the OpenFirmware - you have in fact seen the HD in slot A).
    Now, from inside your new Ubuntu, you should anyway run (just to check that the command gives the same path that you used to boot)
    Code:
     ofpath /dev/sda2
    and install a correct Yaboot

    Code:
    sudo yabootconfig -b /dev/sda2 -r /dev/sda3 --debug
    Please, if your g5 is now ok, mark the thread as solved
    PowerMac G5 Debian Squeeze - MacOSX Leopard / Lenovo 3000 N200 Debian Wheezy
    PowerPCFAQ, PowerPCKnownIssues, Booting the Installer on PowerPC, Yaboot - How to configure the PPC Bootloader

  8. #78
    Join Date
    Aug 2008
    Location
    Toronto
    Beans
    46
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Smile Re: PowerMac G5 unable to boot PPC ubuntu 7.10

    How do I do that exactly?

    UPDATE: Everything matchs what I booted with and the yabootconfig is working.
    Last edited by Chucklz15; August 26th, 2008 at 04:12 PM.
    X

  9. #79
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: PowerMac G5 unable to boot PPC ubuntu 7.10

    Quote Originally Posted by Chucklz15 View Post
    How do I do that exactly?
    See the "thread tools" menu at the top.

Page 8 of 8 FirstFirst ... 678

Tags for this Thread

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
  •