Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: booting from usb

Hybrid View

  1. #1
    Join Date
    Mar 2012
    Beans
    24

    booting from usb

    hi,
    I try to install ubuntu13-ppc in my mini-G4 from usb
    in openfirmware I view (dev / ls) :

    /pci@f2000000/usb@1b/hub@1/disk@4

    how can I boot it?

    p.s.I make usb-pendrive with unetbootin


    thank you
    Last edited by sacarde; May 30th, 2013 at 08:02 AM.

  2. #2
    Join Date
    Apr 2013
    Location
    SWFL
    Beans
    30
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: booting from usb

    PPC's cannot boot to USB. They can boot to either a CD/DVD or a FireWire external (if you have one).

    The FireWire option will definitely provide faster boot/install if you have one available. Otherwise, the CD/DVD method should work.

  3. #3
    Join Date
    Mar 2013
    Beans
    47

    Re: booting from usb

    That's not entirely true... i know for a fact that at least the iMac G3 (slot-loading) can boot from USB. I installed Debian, MintPPC, and even Ubuntu 12.04 using this method.... no CD/DVD involved.

    It's simply a matter of burning the ISO image to the USB flash drive using 'dd', booting into the Open Firmware prompt (white screen), and using the appropriate command(s) to tell Open Firmware to boot from the USB device.

    Simply inserting the USB device at boot and not doing anything else won't work. Neither will holding the Option key on the keyboard nor selecting the USB device from OSX or even OS9's Startup Disk control panel.

  4. #4
    Join Date
    Mar 2012
    Beans
    24

    Re: booting from usb

    I view alias:

    usb0 /pci@f2000000/usb@1b,1

    usb1 /pci@f2000000/usb@1b


    and I try:

    > boot usb1/disk@1,\install\yaboot

    but dont works




    p.s.
    I have to make usb with unetbootin or dd ?
    Last edited by sacarde; May 31st, 2013 at 08:34 AM.

  5. #5
    Join Date
    Mar 2013
    Beans
    47

    Re: booting from usb

    Don't use UNetbootin. In fact, if you visit their webpage, it says that USB sticks made with UNetbootin won't be bootable with PPC computers. Despite what Unetbootin says, and despite the fact that it runs on OSX/PPC, it's designed to burn Intel/AMD ISO's for use on Intel/AMD machines.

    So, just use 'dd'. But be real certain that you downloaded the appropriate ISO for PPC G4, and that you know how to use 'dd' from the terminal.

    If you're using Windows to burn the ISO to USB, I created a tutorial here. Though it refers to MintPPC and uses the Debian ISO, you can also use your choice of Ubuntu ISO's. http://www.mintppc.org/forums/viewtopic.php?f=20&t=1163

    If you're using Mac OS X to burn the ISO to USB, you might want to refer to this guide: https://wiki.ubuntu.com/PowerPCFAQ#H...a_USB_drive.3F

    If you're using Linux on a different computer (regardless of whether it's a Linux/Intel, Linux/AMD, or Linux/PPC), you can still use 'dd' to burn your choice of ISO to the USB device.

    After you've successfully burned your ISO to the USB device, be sure you are telling OpenFirmware to boot from the appropriate device tree...


    Why don't you try either one of these in the OpenFirmware prompt (white screen):
    Code:
    boot usb0/disk@1:2,\\yaboot
    or
    Code:
    boot usb1/disk@1:2,\\yaboot

  6. #6
    Join Date
    Mar 2012
    Beans
    24

    Re: booting from usb

    Quote Originally Posted by rkmugen View Post

    Why don't you try either one of these in the OpenFirmware prompt (white screen):
    Code:
    boot usb0/disk@1:2,\\yaboot
    or
    Code:
    boot usb1/disk@1:2,\\yaboot

    I try but boot is stopped



    p.s.
    iso contains: /install/yaboot

  7. #7
    Join Date
    Apr 2013
    Location
    SWFL
    Beans
    30
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: booting from usb

    Sorry for being a bit misleading...I know that PPC can technically boot to USB but the process is much more difficult for those less savvy in that area. That being said, that's why I recommended the CD method as it's easily the most straight forward and foolproof.

    As for writing the image to the USB, I agree with rkmugen in using the 'dd' command and making sure you have the right PPC compatible image.

  8. #8
    Join Date
    Mar 2013
    Beans
    47

    Re: booting from usb

    If you insist on booting from USB, I recommend you take things step-by-step and do not skip anything.

    First, which ISO are you using?
    Are you using the mini 29MB iso?
    http://ports.ubuntu.com/ubuntu-ports...tboot/mini.iso

    Or are you using the full 806MB iso?
    http://cdimage.ubuntu.com/releases/1...op-powerpc.iso

    I recommend that you use the 29MB mini iso so that you don't have to wait for the entire 806MB to load on a slow USB 2.0 port... if you have an even OLDER iMac G4, you'd have an even slower USB 1.1 port! So that's my rationale for sticking with the smaller ISO.

    Also, please keep in mind that if you use the mini ISO, you will NOT get to try/demo the Live desktop. Instead, the mini ISO will take you straight into the installation screens. If you insist on trying the Live desktop (with the GUI), then I recommend that you simply burn the 806MB ISO to a blank DVD. You can burn the DVD in a Windows or Linux machine and it should still be bootable on your G4..... but again, please be sure that you use the PPC-compatible ISO.

    Second, which system are you using to burn the ISO? Are you using Windows, Mac OS X, or Linux?
    PLEASE TELL US, so we can be absolutely certain which method to recommend to you.

    Third, can you please tell us exactly HOW you burned the ISO to your USB disk (most recently).
    The USB disk/flash drive won't work if you typed the wrong commands into 'dd', or if you failed to properly mount/dismount the usb drive (in OSX or Linux). If you have a Windows machine, you DO NOT have to worry about mounting or unmounting the flash drive before burning the ISO to it.

    Fourth, please describe to use your USB device tree EXACTLY as displayed in OpenFirmware.
    I realize that this can be difficult, since all the entries race by real fast... but pay particular attention to USB, as those are the ones we care about.
    For simplicity's sake, I recommend that you DISCONNECT any other USB devices from your computer. The only things you really need to have connected to your iMac G4 (for now) is just your Keyboard, your Mouse, and your USB flash drive. This will make it very easy to visually keep track of what device you're looking at in the OpenFirmware screens.

    Fifth, please follow these instructions:
    Boot in open firmware by holding option+command+o+f. Then find out which is the device:
    Code:
    dev / ls
    You should see somewhere usb with an extra entry disk. Write that number down. In my case, it's usb19. Then look at the devalias:

    Code:
    devalias
    In my case, ther are two entries usb0 and usb1. The one that is associated with usb19 is the boot device. In my case, it is usb1.

    So, I type this in the OpenFirmware prompt to boot from the flash drive on usb1:
    Code:
    boot usb1/disk@1:2,\\yaboot
    If devalias told me something other than usb1, then I'd have to use some other USB alias....
    Code:
    boot usb0/disk@1:2,\\yaboot

    I assure you that I just downloaded the 29MB mini.iso for Ubuntu 13.04 32-bit for PPC. I was able to burn it onto my USB flash drive using a port of 'dd' for Windows. I was also able to boot off of it using the above instructions. So if I can do it on my iMac G3, the process should at least be somewhat similar on your G4.
    Last edited by rkmugen; May 31st, 2013 at 10:57 PM.

  9. #9
    Join Date
    Apr 2013
    Location
    SWFL
    Beans
    30
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: booting from usb

    rkmugen,

    Out of curiosity, how's 13.04 run on that G3?

  10. #10
    Join Date
    Mar 2013
    Beans
    47

    Re: booting from usb

    EXTREMELY slow. Even after downgrading MESA (to get graphics hardware acceleration to work), and using an appropriately tweaked xorg.conf file, the performance is still nowhere near as fast as an LXDE or XFCE-based distro. So, I went back to MintPPC 11 (which is basically Debian 7.0 with LXDE, and some custom compiled packages from Linux Mint). I even tried Lubuntu and Xubuntu 13.04.... but they were still nowhere near as fast as MintPPC11. I believe it has something to do with the newer 3.8.x kernel... In contrast, we're still using the 3.2.x kernel in MintPPC11 (or Debian 7.0).

Page 1 of 2 12 LastLast

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
  •