ibook g4 rescue usb
I'm sure I'm going to need this information again in a few years, so this seems like the best place to preserve it for the future. To boot into the open firmware: option + command + O + F To boot grub from the Debian installer USB stick with grub: boot usb0/disk@1:,\boot\grub\powerpc.elf caveats include: * plug in the USB stick before powering on the machine * if usb0 doesn't work, try usb1 * to specifically choose another partition, 'disk@1:3' for the 3rd partition -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted signature.asc Description: PGP signature
Re: Trying ppc64 install / USB / G5
On Mon, Sep 2, 2019 at 1:42 PM Mathieu Malaterre wrote: > > So I am trying the netinst iso from a USB key, on a used PowerMac7,2 > from a yard sale (system was sold without disk). All I can get is the > rescue prompt. All other installs seems to fail (eventually the system > start the fan quite loudly). > > Message is: > > Invalid memory access at %SRR0: .0200ba34 %SRR1: 9000.3030 > Apple PowerMac7,2 5.1.4f0 BootROM built on 11/21/03 at 17:41:40 Turns out this is a known issue with bad RAM. Remove all of them, put back in only a pair, now I can boot a kernel ! ref: https://forum.macbidouille.com/index.php?showtopic=186616 Sorry for the noise > > Doing a quick google search reveal: > > * https://bugzilla.redhat.com/show_bug.cgi?id=182180 > > Comments/Suggestions ?
Re: USB-RS232 with G4 (mac mini)
On Thu, May 23, 2019 at 11:11:38AM +0200, Mathieu Malaterre wrote: > Right I misunderstood that part. I still feel dumb, where do you get a > serial port on any modern laptop these days ? Another usb to serial adapter? -- Len Sorensen
Re: USB-RS232 with G4 (mac mini)
On 5/23/19 11:11 AM, Mathieu Malaterre wrote: >> You misunderstood what I said. I would use the converter the other way >> around, with the USB plug on the Mac side and the RS-232 cable on the >> PC side. That should work for a simple serial console for the kernel, >> you won't be able to see any OpenFirmware messages though. > > Right I misunderstood that part. I still feel dumb, where do you get a > serial port on any modern laptop these days ? My Debian workstation in my office has two serial ports which I use for that purpose. I installed a cheap RS-232 serial PCIe card. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: USB-RS232 with G4 (mac mini)
On Thu, May 23, 2019 at 11:03 AM John Paul Adrian Glaubitz wrote: > > On 5/23/19 11:01 AM, Mathieu Malaterre wrote: > >> You can always plug in a USB-RS232 converter and pass "console=ttyUSB0" > >> on the kernel command line. There is no need to use the built-in serial > > > > I am curious about that comment. I do not understand how one would > > actually (physically) plug a USB-RS232 on a Mac Mini G4 ? > > > > Here is a picture of such device (at least how I interpret your comment): > > > > https://raspberrypi.stackexchange.com/questions/15819/how-to-identify-the-usb-to-serial-wire-mismatched > > > > Where do you plug the red/black/white/green cable on your Mac ? > > You misunderstood what I said. I would use the converter the other way > around, with the USB plug on the Mac side and the RS-232 cable on the > PC side. That should work for a simple serial console for the kernel, > you won't be able to see any OpenFirmware messages though. Right I misunderstood that part. I still feel dumb, where do you get a serial port on any modern laptop these days ? > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaub...@debian.org > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: USB-RS232 with G4 (mac mini)
On 5/23/19 11:01 AM, Mathieu Malaterre wrote: >> You can always plug in a USB-RS232 converter and pass "console=ttyUSB0" >> on the kernel command line. There is no need to use the built-in serial > > I am curious about that comment. I do not understand how one would > actually (physically) plug a USB-RS232 on a Mac Mini G4 ? > > Here is a picture of such device (at least how I interpret your comment): > > https://raspberrypi.stackexchange.com/questions/15819/how-to-identify-the-usb-to-serial-wire-mismatched > > Where do you plug the red/black/white/green cable on your Mac ? You misunderstood what I said. I would use the converter the other way around, with the USB plug on the Mac side and the RS-232 cable on the PC side. That should work for a simple serial console for the kernel, you won't be able to see any OpenFirmware messages though. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
USB-RS232 with G4 (mac mini)
Adrian, On Thu, May 9, 2019 at 8:01 AM John Paul Adrian Glaubitz wrote: > > On 5/8/19 7:20 PM, Frank Scheiner wrote: > > Not for the 11,2 type G5s. AFAIK there never was an adapter available > > that would allow access to the - existing - serial console port(s). > > You can always plug in a USB-RS232 converter and pass "console=ttyUSB0" > on the kernel command line. There is no need to use the built-in serial I am curious about that comment. I do not understand how one would actually (physically) plug a USB-RS232 on a Mac Mini G4 ? Here is a picture of such device (at least how I interpret your comment): https://raspberrypi.stackexchange.com/questions/15819/how-to-identify-the-usb-to-serial-wire-mismatched Where do you plug the red/black/white/green cable on your Mac ? > console as a terminal. If that still fails, you can always use netconsole > as I mentioned earlier, see [1], which works on any machine with networking > available. > > Adrian > > > [1] https://wiki.archlinux.org/index.php/Netconsole > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaub...@debian.org > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >
Re: Performing installer tests on PowerMac with USB sticks
Hello! On 5/12/19 11:25 PM, Wolfgang Pfeiffer wrote: > Yes: see this page: > https://lists.debian.org/debian-powerpc/2012/08/msg00042.html > > The previous instructions seem to work still reliably. For a later > install on Debian see this: > https://lists.debian.org/debian-powerpc/2017/12/msg8.html > > Worked on, IIRC, Powerbooks from ~2002 and the another from ~2005. The USB boot topic has already been extensively discussed on the list and the changes to use GRUB as the default boot loader have already been committed to debian-cd and debian-installer. For USB boot, it still needs some polishing though with minor issue being investigated. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: Performing installer tests on PowerMac with USB sticks
Hi Adrian, Sorry, I'm really late with my answer: On Tue, Apr 30, 2019 at 12:54:54PM +0200, John Paul Adrian Glaubitz wrote: Hello! I have dug out one of my iBook G4s now so I can perform installer tests on the PowerMac target. While the machine has a built-in optical drive, I would avoid having to burn CDs for every installation test run (even when using CD-RWs), so I was wondering how well booting from USB sticks works on these machines. Does anyone have experience creating bootable USB media for PowerMacs to install Debian? Yes: see this page: https://lists.debian.org/debian-powerpc/2012/08/msg00042.html The previous instructions seem to work still reliably. For a later install on Debian see this: https://lists.debian.org/debian-powerpc/2017/12/msg8.html Worked on, IIRC, Powerbooks from ~2002 and the another from ~2005. You'll be using open firmware .. Good luck! -- Wolfgang
Re: Installation failed from USB stick: Debian sid (Buster)
On 5/5/19 4:37 PM, Karl Schimanek wrote: > I also tried the image from 2019-01-27 and got the following log (also GRUB > error): > https://ibb.co/Nx2F4cV No idea why you tried this particular image, but you should rather use the one from 2019-04-20: > https://cdimage.debian.org/cdimage/ports/2019-04-20/ > What is the last sid image with Yaboot? Anything which has not a snapshot date, e.g.: > https://cdimage.debian.org/cdimage/ports/10.0/powerpc/iso-cd/ > And what is the mailing list for PPC64el? You are on it. debian-powerpc covers powerpc, powerpcspe, ppc64 and ppc64el. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Installation failed from USB stick: Debian sid (Buster)
Hello, I also tried the image from 2019-01-27 and got the following log (also GRUB error): https://ibb.co/Nx2F4cV Powerbook6,8 Model M9690LL Install language english Internet connection was established What is the last sid image with Yaboot? And what is the mailing list for PPC64el? Because, I will get my Blackbird in the next couple of weeks. Thanks in advance
Re: Performing installer tests on PowerMac with USB sticks
On 5/4/19 8:46 PM, Karl wrote: > Finally the installation is running with the following command: > boot usb0/disk@1:2,\install\yaboot > > I thought the new bootloader is GRUB? The new bootloader for the *installed* system is GRUB, the bootloader for the installer is going to be GRUB within the next days. Try this test image: > https://cdimage.debian.org/cdimage/ports/grub-test/ Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: Performing installer tests on PowerMac with USB sticks
Finally the installation is running with the following command: boot usb0/disk@1:2,\install\yaboot I thought the new bootloader is GRUB? Thanks in advance > Am 04.05.2019 um 11:44 schrieb Linux User #330250 : > > Am 01.05.19 um 12:18 schrieb aggaz: >> After reading your email I was able to see that with a USB stick >> inserted at boot a disk device indeed shows up in the device tree >> (visible by using the command "dev / ls"), but I am still not able to >> list its files by using the command "dir". > > > Which command are you using? > > I've seen similiar issues when using a devalias, e.g. hd:, instead I had > to use ultra1: for my first ATA HDD. That seems odd considering that the > Mac boots fine with the command boot hd:, yet seems unable to list files > on that very same device (alias). > > > Did you try the full device tree path as well? > > Should look like: > >> dir /pci@f200/mac-io@17/ata-3@2/disk@0:3,\ > > Or, for a USB path: > >> dir /ht@0,f200/pci@4/usb@b/disk@2:2,\ > > (yours will look different, as those from above are from a Power Mac G5) > > >> By the way, the USB stick contains a dd'ed debian ISO image and it is >> possible to browse its files on a PowerMac G5 (PowerMac11,2). > > > That is the same way I did it, I used dd on my Linux machine and > successfully booted the netinst image on my iBook G3 from 1999. > > >> I think I am using the correct OF path, derived by looking at the device >> tree and by comparison with the working path on the G5. > > > Are you using an alias like usb0: or ud0: or are you using the full > device tree as the path? (BTW, I would try both...) > > >> For what is worth, I think that a developer in need to test several CD >> images without burning them should consider investing in a FireWire HD. >> As far as I know booting from FireWire should be much easier, but I >> never tried it. > > > Which reminds me... I have a FireWire SATA dock that I use with PCs (USB > 3.0 or eSATA) and Macs (FW400 and FW800). But I've had issues with this > dock when trying to boot from it. Somehow it doesn't always show up as a > valid boot option. Another similar dock always worked (but I have given > this other dock away, thinking they are the same), so I'm guessing that > it must be some weird time-out issue or such, as all the disks work once > booted up. > > > Cheers, > > Linux User #330250 >
Re: Performing installer tests on PowerMac with USB sticks
Hello, if I type the following: boot usb1/disk@1:2,\\yaboot I got the message can’t open device or file. What have I got to do? disk1 is listed in the device tree as dev / ls usb@1b /disk@1 devalias usb1 … usb@1b I have a Powerbook G4 12“ 1.5GHz Powerbook 6,8 Model M9690LL Image is Debian sid 10.0 ->.powerpc: https://cdimage.debian.org/cdimage/ports/2019-04-20/ I burned the image with this command: sudo dd if=/Users/karl/Downloads/debian-10.0-powerpc-NETINST-1.iso of=/dev/disk1 bs=1m USB stick formatted with the APT Thanks in advance > Am 01.05.2019 um 00:16 schrieb Peter : > >> Hello! >> >> I have dug out one of my iBook G4s now so I can perform installer >> tests on the PowerMac target. While the machine has a built-in optical >> drive, I would avoid having to burn CDs for every installation test >> run (even when using CD-RWs), so I was wondering how well booting from >> USB >sticks works on these machines. >> >> Does anyone have experience creating bootable USB media for PowerMacs >> to install Debian? >> >> Adrian > > > I booted and installed from USB on my iBook G4 with the folowing: > > boot usb0/disk@1:2,\\yaboot > > With the USB stick inserted in the port closest to me. I used Etcher to > write the iso to USB. Booted without any extra fiddling, although > rather slow compared to booting from CD. > > This guide got me on the rigt track: > https://wiki.ubuntu.com/PowerPCFAQ > > Peter >
Re: Performing installer tests on PowerMac with USB sticks
Am 01.05.19 um 12:18 schrieb aggaz: > After reading your email I was able to see that with a USB stick > inserted at boot a disk device indeed shows up in the device tree > (visible by using the command "dev / ls"), but I am still not able to > list its files by using the command "dir". Which command are you using? I've seen similiar issues when using a devalias, e.g. hd:, instead I had to use ultra1: for my first ATA HDD. That seems odd considering that the Mac boots fine with the command boot hd:, yet seems unable to list files on that very same device (alias). Did you try the full device tree path as well? Should look like: > dir /pci@f200/mac-io@17/ata-3@2/disk@0:3,\ Or, for a USB path: > dir /ht@0,f200/pci@4/usb@b/disk@2:2,\ (yours will look different, as those from above are from a Power Mac G5) > By the way, the USB stick contains a dd'ed debian ISO image and it is > possible to browse its files on a PowerMac G5 (PowerMac11,2). That is the same way I did it, I used dd on my Linux machine and successfully booted the netinst image on my iBook G3 from 1999. > I think I am using the correct OF path, derived by looking at the device > tree and by comparison with the working path on the G5. Are you using an alias like usb0: or ud0: or are you using the full device tree as the path? (BTW, I would try both...) > For what is worth, I think that a developer in need to test several CD > images without burning them should consider investing in a FireWire HD. > As far as I know booting from FireWire should be much easier, but I > never tried it. Which reminds me... I have a FireWire SATA dock that I use with PCs (USB 3.0 or eSATA) and Macs (FW400 and FW800). But I've had issues with this dock when trying to boot from it. Somehow it doesn't always show up as a valid boot option. Another similar dock always worked (but I have given this other dock away, thinking they are the same), so I'm guessing that it must be some weird time-out issue or such, as all the disks work once booted up. Cheers, Linux User #330250
Re: Performing installer tests on PowerMac with USB sticks
Fienix is by Casey Cullen, not Christian Zigotsky. Likewise for the instructional video. On May 1, 2019, at 9:00 AM, Stephan Hubers wrote: > Hi, > > From what I know about Macintosh and it’s Open Firmware, FireWire is > set as a default boot-option since OF 2. Therefor any G3 or G4 > Macintosh will boot from firewire using the Command+Option boot-key. > The Open Firmware will recognize the FireWire boot-sector by > default. So, yes… trying different images works best on a FireWire > drive. > > However, PowerMac 6,4 should be abled to boot from USB. What I am > thinking is going on with your system, is that the USB-stick does > not have a valid AFS boot-sector for Apple; which is definitely > needed to boot from USB. Christian Zigotsky has done extended > research on this issue with his Fienix distribution. He also > explains it very clearly in his YouTube video on booting his G5 from > USB. > > I hope this’ll help you along a bit further. > > Regards, > > Stephan > >> Op 1 mei 2019, om 12:18 heeft aggaz het >> volgende geschreven: >> >> Thanks for all the information you are providing. >> >> Despite my efforts I still am not able to boot my eMac G4 (Apple >> PowerMac6,4) by USB. >> >> After reading your email I was able to see that with a USB stick >> inserted at boot a disk device indeed shows up in the device tree >> (visible by using the command "dev / ls"), but I am still not able to >> list its files by using the command "dir". >> >> By the way, the USB stick contains a dd'ed debian ISO image and it is >> possible to browse its files on a PowerMac G5 (PowerMac11,2). >> >> I think I am using the correct OF path, derived by looking at the >> device >> tree and by comparison with the working path on the G5. >> >> I can confirm it has OpenFirmware 3 as shown by the following >> command on OF: >> >> 0 > dev /openprom >> 0 > .properties >> name openprom >> device_type BootROM >> modelOpenFirmware 3 >> relative-addressing >> supports-bootinfo >> boot-syntax 0001 >> >> >> This is not the first time I bang my head against OF and USB boot. >> Eventually I ended up using NetBoot for a G3 and this G4 (which was >> not >> easy anyway especially on the G3). >> >> For what is worth, I think that a developer in need to test several >> CD >> images without burning them should consider investing in a FireWire >> HD. >> As far as I know booting from FireWire should be much easier, but I >> never tried it. >> >> Regards >> A. >> >> >> >> >> >> >> >> Il 30/04/19 21:56, Linux User #330250 ha scritto: >>> Am 30.04.19 um 12:54 schrieb John Paul Adrian Glaubitz: >>>> Hello! I have dug out one of my iBook G4s now so I can perform >>>> installer tests on the PowerMac target. While the machine has a >>>> built-in optical drive, I would avoid having to burn CDs for every >>>> installation test run (even when using CD-RWs), so I was >>>> wondering how >>>> well booting from USB sticks works on these machines. Does anyone >>>> have >>>> experience creating bootable USB media for PowerMacs to install >>>> Debian? Adrian >>> >>> Despite what others said, it should really work with every Macintosh >>> that has the NewWorld bootrom and thus at least Open Firmware 3.0, >>> i.e. >>> starting with the iMac "Bondi" 1998 and the PowerBook G3 "Lombard" >>> 1999. >>> >>> And, it's all already written down in a nice way.[1] Don't read on >>> when >>> you are happy with this official guide. >>> >>> Or read this: >>> * http://hints.macworld.com/article.php?story=20060301112336384 >>> * https://lists.debian.org/debian-powerpc/2012/08/msg00042.html >>> * >>> https://sites.google.com/site/shawnhcorey/howto-boot-apple-powerpcs-from-a-usb-drive-in-open-firmware >>> >>> >>> The long read: I wanted to share my own experience as well... >>> >>> Apple did not provide an easy way, like holding a key for this >>> kind of >>> boot selection. The possible keys are, a selection[2]: >>> * c – boot from CD-ROM (or any other /internal/ optical drive) >>> * d – forces boot from first hard disk drive (like it normally >>> would anyway) >>> * n – network boot, looks for suit
Re: Performing installer tests on PowerMac with USB sticks
On 5/1/19 12:18, aggaz wrote: For what is worth, I think that a developer in need to test several CD images without burning them should consider investing in a FireWire HD. As far as I know booting from FireWire should be much easier, but I never tried it. You don't even need a disk attached via FireWire if you have a second Mac that supports target disk mode - just hook both up via their first(? - sorry, don't remember if this is important) FireWire ports and start the one to boot from in target disk mode first. Though I'd say it's less convenient than to use a separate disk. But if you're short on FireWire disk adapters but have plenty of Power Macs, why not? :-) If you have one of the first iPods with FireWire, these can also be used for booting IIRC. Cheers, Frank
Re: Performing installer tests on PowerMac with USB sticks
Hi, From what I know about Macintosh and it’s Open Firmware, FireWire is set as a default boot-option since OF 2. Therefor any G3 or G4 Macintosh will boot from firewire using the Command+Option boot-key. The Open Firmware will recognize the FireWire boot-sector by default. So, yes… trying different images works best on a FireWire drive. However, PowerMac 6,4 should be abled to boot from USB. What I am thinking is going on with your system, is that the USB-stick does not have a valid AFS boot-sector for Apple; which is definitely needed to boot from USB. Christian Zigotsky has done extended research on this issue with his Fienix distribution. He also explains it very clearly in his YouTube video on booting his G5 from USB. I hope this’ll help you along a bit further. Regards, Stephan > Op 1 mei 2019, om 12:18 heeft aggaz het volgende > geschreven: > > Thanks for all the information you are providing. > > Despite my efforts I still am not able to boot my eMac G4 (Apple > PowerMac6,4) by USB. > > After reading your email I was able to see that with a USB stick > inserted at boot a disk device indeed shows up in the device tree > (visible by using the command "dev / ls"), but I am still not able to > list its files by using the command "dir". > > By the way, the USB stick contains a dd'ed debian ISO image and it is > possible to browse its files on a PowerMac G5 (PowerMac11,2). > > I think I am using the correct OF path, derived by looking at the device > tree and by comparison with the working path on the G5. > > I can confirm it has OpenFirmware 3 as shown by the following command on OF: > > 0 > dev /openprom > 0 > .properties > name openprom > device_type BootROM > model OpenFirmware 3 > relative-addressing > supports-bootinfo > boot-syntax 0001 > > > This is not the first time I bang my head against OF and USB boot. > Eventually I ended up using NetBoot for a G3 and this G4 (which was not > easy anyway especially on the G3). > > For what is worth, I think that a developer in need to test several CD > images without burning them should consider investing in a FireWire HD. > As far as I know booting from FireWire should be much easier, but I > never tried it. > > Regards > A. > > > > > > > > Il 30/04/19 21:56, Linux User #330250 ha scritto: >> Am 30.04.19 um 12:54 schrieb John Paul Adrian Glaubitz: >>> Hello! I have dug out one of my iBook G4s now so I can perform >>> installer tests on the PowerMac target. While the machine has a >>> built-in optical drive, I would avoid having to burn CDs for every >>> installation test run (even when using CD-RWs), so I was wondering how >>> well booting from USB sticks works on these machines. Does anyone have >>> experience creating bootable USB media for PowerMacs to install >>> Debian? Adrian >> >> Despite what others said, it should really work with every Macintosh >> that has the NewWorld bootrom and thus at least Open Firmware 3.0, i.e. >> starting with the iMac "Bondi" 1998 and the PowerBook G3 "Lombard" 1999. >> >> And, it's all already written down in a nice way.[1] Don't read on when >> you are happy with this official guide. >> >> Or read this: >> * http://hints.macworld.com/article.php?story=20060301112336384 >> * https://lists.debian.org/debian-powerpc/2012/08/msg00042.html >> * >> https://sites.google.com/site/shawnhcorey/howto-boot-apple-powerpcs-from-a-usb-drive-in-open-firmware >> >> >> The long read: I wanted to share my own experience as well... >> >> Apple did not provide an easy way, like holding a key for this kind of >> boot selection. The possible keys are, a selection[2]: >> * c – boot from CD-ROM (or any other /internal/ optical drive) >> * d – forces boot from first hard disk drive (like it normally would anyway) >> * n – network boot, looks for suitable BOOTP or TFTP network boot source >> * r – (PowerBooks) resets stored screen size to internal default >> * t – target disk mode >> * mouse button held down – forces eject for media in internal optical drive >> * option – shows Open Firmware boot selection >> >> Sadly, Apple decided to include FireWire in the automatic search for >> bootable volumes but to leave out USB. The capability is there >> nonetheless, only that there is no key for it to press and hold, like in >> easy, quick and comfortable... >> >> The solution is to enter the Open Firmware (OF) command prompt by >> holding Option + Command + O + F until you can read the Open Firmware >
Re: Performing installer tests on PowerMac with USB sticks
Thanks for all the information you are providing. Despite my efforts I still am not able to boot my eMac G4 (Apple PowerMac6,4) by USB. After reading your email I was able to see that with a USB stick inserted at boot a disk device indeed shows up in the device tree (visible by using the command "dev / ls"), but I am still not able to list its files by using the command "dir". By the way, the USB stick contains a dd'ed debian ISO image and it is possible to browse its files on a PowerMac G5 (PowerMac11,2). I think I am using the correct OF path, derived by looking at the device tree and by comparison with the working path on the G5. I can confirm it has OpenFirmware 3 as shown by the following command on OF: 0 > dev /openprom 0 > .properties nameopenprom device_type BootROM model OpenFirmware 3 relative-addressing supports-bootinfo boot-syntax 0001 This is not the first time I bang my head against OF and USB boot. Eventually I ended up using NetBoot for a G3 and this G4 (which was not easy anyway especially on the G3). For what is worth, I think that a developer in need to test several CD images without burning them should consider investing in a FireWire HD. As far as I know booting from FireWire should be much easier, but I never tried it. Regards A. Il 30/04/19 21:56, Linux User #330250 ha scritto: > Am 30.04.19 um 12:54 schrieb John Paul Adrian Glaubitz: >> Hello! I have dug out one of my iBook G4s now so I can perform >> installer tests on the PowerMac target. While the machine has a >> built-in optical drive, I would avoid having to burn CDs for every >> installation test run (even when using CD-RWs), so I was wondering how >> well booting from USB sticks works on these machines. Does anyone have >> experience creating bootable USB media for PowerMacs to install >> Debian? Adrian > > Despite what others said, it should really work with every Macintosh > that has the NewWorld bootrom and thus at least Open Firmware 3.0, i.e. > starting with the iMac "Bondi" 1998 and the PowerBook G3 "Lombard" 1999. > > And, it's all already written down in a nice way.[1] Don't read on when > you are happy with this official guide. > > Or read this: > * http://hints.macworld.com/article.php?story=20060301112336384 > * https://lists.debian.org/debian-powerpc/2012/08/msg00042.html > * > https://sites.google.com/site/shawnhcorey/howto-boot-apple-powerpcs-from-a-usb-drive-in-open-firmware > > > The long read: I wanted to share my own experience as well... > > Apple did not provide an easy way, like holding a key for this kind of > boot selection. The possible keys are, a selection[2]: > * c – boot from CD-ROM (or any other /internal/ optical drive) > * d – forces boot from first hard disk drive (like it normally would anyway) > * n – network boot, looks for suitable BOOTP or TFTP network boot source > * r – (PowerBooks) resets stored screen size to internal default > * t – target disk mode > * mouse button held down – forces eject for media in internal optical drive > * option – shows Open Firmware boot selection > > Sadly, Apple decided to include FireWire in the automatic search for > bootable volumes but to leave out USB. The capability is there > nonetheless, only that there is no key for it to press and hold, like in > easy, quick and comfortable... > > The solution is to enter the Open Firmware (OF) command prompt by > holding Option + Command + O + F until you can read the Open Firmware > greeter on your monitor. Then you need to find the device and load the > boot file from there. In essence it is the manual way of what the other > options do for you automatically. > > > The syntax is like this: >> boot :, > > > Examples for : > 1) /pci@f400/ata-6@d/disk@0 > 2) /pci@f200/mac-io@17/ata-3@2/disk@0 > 3) bridge/ACARD,6280M@4/@2 > > Only, on most Macs there are aliases for this long and complicated > device paths. So, for example, all of those above could be just: > 1) hd (is set to the faster first HDD, should be the same as ultra0) > 2) cd (set to internal optical drive, e.g. ide0) > 3) ide0, ide1 (ATA bus) > 4) ultra0, ultra1 (UltraATA bus) > 5) usb0, usb1 > 6) ud0, ud1 – only on later PowerPC-Macs (like the Power Mac G5 or the > iMac G5, starting around 2003) > > So, to replicate the boot from CD-ROM (holding the "c" key on system > start-up) from the default partition (automatic), you can use the > following from the Open Firmware prompt: >> boot cd: > > To choose a specific partition, with a specific file as the initial > bootloader: >> boot cd:2,yaboot > > To use the blessed bootloader on a specific parit
Re: Performing installer tests on PowerMac with USB sticks
Am 01.05.19 um 06:18 schrieb Mark Cave-Ayland: > 2) Plug the USB stick into your Mac and boot into OpenFirmware by > holding down the relevant keys when you hear the chime > (CTRL-Apple-shift-O-F?) This is the precondition. OF doesn't support hot-plugging, so it really needs that USB pen drive already plugged in when the Mac starts. And thanks for your devalias! Cheers, Linux User #330250
Re: Performing installer tests on PowerMac with USB sticks
Hi, John Paul Adrian Glaubitz wrote: > > What about a funding? I would actually be willing to shell out some money Mark Cave-Ayland wrote: > Certainly if there were some funding available, this is something that I > could look at if required. If you do, i am ready for giving advise about libisofs architecture and for reviewing changeset proposals. As said, i am reluctant to accept large crowds of copyright holders, but this can be solved by wrapping the new code in an extra library, which then gets linked to libisofs optionally. (libjte is an example.) But first we should explore the bootability of grub-mkrescue HFS+. I wrote: > > George Danchev tried whether it could substitute for genisoimage's HFS > > on a virtual machine which booted the genisoimage ISO. > > A user rported failure with > > $ qemu-system-ppc -boot d -cdrom repacked.iso -hda linux.img > Do you have any more information on this? It was in summer 2012. I see in the archives "ISO9660/HFS hybrid powerpc testers needed" https://lists.debian.org/debian-powerpc/2012/06/msg00030.html but with no valid replies to see. George revoked his call for testers after first negative results. https://lists.debian.org/debian-powerpc/2012/06/msg00031.html Probably he got the failure reports in private or did own experiments. > FWIW this is one of the ideal use cases for QEMU I cannot judge Sparc emulation. With x86 EFI firmware OVMF, you have to expect success even with clearly inappropriate boot sectors. Partition table based images boot from virtual CD-ROM and El Torito boots from virtual hard disk. So success on OVMF does not predict success on real iron. > bless the folder on the filesystem containing the bootloader and > then set the type to TBXI (ToolBoXImage). Hm. Can it be that there is a successor with "J" instead of "I": grub-mkrescue asks xorriso to set creator and type of .disk_label: xorriso_push ("-hfsplus-file-creator-type"); xorriso_push ("chrp"); xorriso_push ("tbxj"); xorriso_push ("/System/Library/CoreServices/.disk_label"); I don't think that "txbj" is a typo. Have a nice day :) Thomas
Re: Performing installer tests on PowerMac with USB sticks
Hi, John Paul Adrian Glaubitz wrote: > > Odd. I just ran this command on Debian/powerpc but it didn't produce any > > output file but also no error message. > Ah, grub-mkrescue needs xorriso as a dependency. I wonder why this gesture of grub-mkrescue did not tell you: if (!check_xorriso ("graft-points")) { grub_util_error ("%s", _("xorriso not found")); } > I will file a bug report. The problem seems to be that grub-mkrescue is a minor part of grub-common and that the maintainer did not want to make it more important in there or to give it an own package: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633746 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589532 Have a nice day :) Thomas
Re: Performing installer tests on PowerMac with USB sticks
On 30/04/2019 23:59, John Paul Adrian Glaubitz wrote: > Both usb0 and usb1 show an empty list for me on my iBook G4. usb2 lists > the internal keyboard and mouse. So it seems that this particular model > doesn't support USB disks unless I am missing something. I actually managed to install on my G4 Mac Mini using your Debian 10 NETINST CD images with a little of hackery and a USB stick because I didn't have any blank CDs around at the time. 1) I did a "dd if=path/to/cd.iso of=/dev/sdc" or similar to copy your CD image onto the USB stick 2) Plug the USB stick into your Mac and boot into OpenFirmware by holding down the relevant keys when you hear the chime (CTRL-Apple-shift-O-F?) 3) Run "show-devs" to dump the entire device tree 4) In the device tree I could see the USB disk appear under /pci somewhere - it's easy to spot because it's a leaf node of "disk" which is doesn't match the "hd" and "cd" aliases which you can display using "devalias" 5) Next the hack: this was important for yaboot which had hardcoded references to the "cd" alias in its configuration. All I did was point the "cd" alias to the USB disk node above using the path discovered in 4) like this: "devalias cd /pci@f2/.../disk" Note that this change is not persistent unless you explicitly write it to nvram so no need to worry about trashing your Mac's boot configuration. 6) Now execute the standard boot command: "boot cd:,\\:tbxi" and off you go :) As reported elsewhere in this thread boot from USB stick is slower than may be expected, but I was able to do a complete install from your ports images this way. ATB, Mark.
Re: Performing installer tests on PowerMac with USB sticks
On 4/30/19 6:07 PM, Steve Burkhart wrote: > This has worked for me on every ibook / powerbook I have tried it on. > First check to see where your usb stick is located. You would do > > dev usb0 > > ls > > dev usb1 > > ls > > etc.. until you find the one that has @disk1 Both usb0 and usb1 show an empty list for me on my iBook G4. usb2 lists the internal keyboard and mouse. So it seems that this particular model doesn't support USB disks unless I am missing something. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: Performing installer tests on PowerMac with USB sticks
https://fienixppc.blogspot.com/p/instructions-for-open-firmware-g5.html https://www.youtube.com/watch?v=cS58kQ10qas On Apr 30, 2019, at 6:54 AM, John Paul Adrian Glaubitz wrote: > Hello! > > I have dug out one of my iBook G4s now so I can perform installer > tests > on the PowerMac target. While the machine has a built-in optical > drive, > I would avoid having to burn CDs for every installation test run (even > when using CD-RWs), so I was wondering how well booting from USB > sticks > works on these machines. > > Does anyone have experience creating bootable USB media for PowerMacs > to install Debian? > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaub...@debian.org > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >
Re: Performing installer tests on PowerMac with USB sticks
>Hello! > >I have dug out one of my iBook G4s now so I can perform installer >tests on the PowerMac target. While the machine has a built-in optical >drive, I would avoid having to burn CDs for every installation test >run (even when using CD-RWs), so I was wondering how well booting from >USB >sticks works on these machines. > >Does anyone have experience creating bootable USB media for PowerMacs >to install Debian? > >Adrian I booted and installed from USB on my iBook G4 with the folowing: boot usb0/disk@1:2,\\yaboot With the USB stick inserted in the port closest to me. I used Etcher to write the iso to USB. Booted without any extra fiddling, although rather slow compared to booting from CD. This guide got me on the rigt track: https://wiki.ubuntu.com/PowerPCFAQ Peter
Re: Performing installer tests on PowerMac with USB sticks
On 4/30/19 11:38 PM, John Paul Adrian Glaubitz wrote: > On 4/30/19 10:42 PM, Thomas Schmitt wrote: >> A merely bootable ISO which leads to a GRUB console prompt is produced >> by: >> >> mkdir minimal >> touch minimal/empty-file.txt >> grub-mkrescue -o output.iso minimal >> >> output.iso is supposed to contain an Apple Partition Map and a HFS+ >> superblock with directory tree. I expect it to be prepared for booting >> from CD, DVD, and USB stick. > Odd. I just ran this command on Debian/powerpc but it didn't produce any > output file but also no error message. Ah, grub-mkrescue needs xorriso as a dependency. I will file a bug report. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: Performing installer tests on PowerMac with USB sticks
On 4/30/19 10:42 PM, Thomas Schmitt wrote: > A merely bootable ISO which leads to a GRUB console prompt is produced > by: > > mkdir minimal > touch minimal/empty-file.txt > grub-mkrescue -o output.iso minimal > > output.iso is supposed to contain an Apple Partition Map and a HFS+ > superblock with directory tree. I expect it to be prepared for booting > from CD, DVD, and USB stick. Odd. I just ran this command on Debian/powerpc but it didn't produce any output file but also no error message. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: Performing installer tests on PowerMac with USB sticks
Hello all, In response to the booting G4 from USB... I booted my iBook G4 (A1134 2005 model with 1,42 GHz cpu and 1GB DDR) with the string : > boot usb0/disk@1:2,\\yaboot Going straight into the second partition on the USB, where all the boot information is stored. Some use the third partition (replace the 2 with a 3 in the command), however; the third partition contains the live boot. You want the second partition to get the command-line environment. Next I started the install with ‘install32’ and loaded Linux onto my hard disk. After finishing, I made the yaboot load with flags: radeon.modeset=0 radeon.agpmode=-1 radeonfb=1024x768-32 Since my iBook G4 has an old Radeon 9600 GPU in it. Hence the flags. I don’t know how this would translate to loading GRUB and booting Linux on G4’s, but I thought this might be of considerable help. Kindest regards, Stephan Hubers Verstuurd vanaf mijn iPhone > Op 30 apr. 2019 om 18:07 heeft Steve Burkhart het > volgende geschreven: > > This has worked for me on every ibook / powerbook I have tried it on. > First check to see where your usb stick is located. You would do > > dev usb0 > > ls > > dev usb1 > > ls > > etc.. until you find the one that has @disk1 > > this is the one that you want to tell OF to boot from. So, lets say > your usb stick is at usb0. You would do > > boot usb0/disk@1:,\\yaboot > > > >> On 4/30/19, Karl wrote: >> Last Gen of Powerbook G4 12“ doesn’t boot from USB also. >> >> >> >>> Am 30.04.2019 um 16:08 schrieb John Paul Adrian Glaubitz >>> : >>> >>>> On 4/30/19 3:49 PM, aggaz wrote: >>>> (snip) >>>> I find the documentation from NetBSD be the best companion to exploit >>>> OpenFirmware, in case of problems I suggest to take a look at it [1,2]. >>>> >>>> [1] https://www.netbsd.org/ports/macppc/faq.html >>>> [2] https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.0/macppc/INSTALL.html >>> >>> Thanks. That's extensive enough. >>> >>>> P.S: Are ISO images capable to boot with GRUB instead of yaboot already >>>> available for the masses? If so I would like to try to boot one. >>> No, I haven't created any test images yet. Building a bootable image with >>> GRUB is quite complicated and I expect the first rounds of the image to >>> be completely broken, so there wouldn't be much sense to publish >>> anything. >>> >>> Adrian >>> >>> -- >>> .''`. John Paul Adrian Glaubitz >>> : :' : Debian Developer - glaub...@debian.org >>> `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de >>> `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >>> >> >> >
Re: Performing installer tests on PowerMac with USB sticks
Hello! On 4/30/19 10:42 PM, Thomas Schmitt wrote: > There is a GRUB_INSTALL_PLATFORM_POWERPC_IEEE1275 for which > grub-mkrescue produces bootable ISOs. I understand that the ISO gets > prepared with HFS+ for this platform if a directory > > /usr/lib/grub/powerpc-ieee1275 > > exists with the files from > > https://packages.debian.org/sid/ppc64el/grub-ieee1275-bin/filelist > > A merely bootable ISO which leads to a GRUB console prompt is produced > by: > > mkdir minimal > touch minimal/empty-file.txt > grub-mkrescue -o output.iso minimal > > output.iso is supposed to contain an Apple Partition Map and a HFS+ > superblock with directory tree. I expect it to be prepared for booting > from CD, DVD, and USB stick. > (DVD+RW is about as easy to overwrite as an USB stick. Either with > a burn program or with plain dd and sync.) > > If you see a GRUB prompt, then the equipment suffices and the storage > device works for booting. This is exactly what I thought I will do next after reading that OpenFirmware apparently supports HFS+. I have finally brought my iBook G4 home from the office today and will start experimenting with the bootloader tomorrow. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: Performing installer tests on PowerMac with USB sticks
Hi, aggaz wrote: > Are ISO images capable to boot with GRUB instead of yaboot already > available for the masses? If so I would like to try to boot one. There is a GRUB_INSTALL_PLATFORM_POWERPC_IEEE1275 for which grub-mkrescue produces bootable ISOs. I understand that the ISO gets prepared with HFS+ for this platform if a directory /usr/lib/grub/powerpc-ieee1275 exists with the files from https://packages.debian.org/sid/ppc64el/grub-ieee1275-bin/filelist A merely bootable ISO which leads to a GRUB console prompt is produced by: mkdir minimal touch minimal/empty-file.txt grub-mkrescue -o output.iso minimal output.iso is supposed to contain an Apple Partition Map and a HFS+ superblock with directory tree. I expect it to be prepared for booting from CD, DVD, and USB stick. (DVD+RW is about as easy to overwrite as an USB stick. Either with a burn program or with plain dd and sync.) If you see a GRUB prompt, then the equipment suffices and the storage device works for booting. Have a nice day :) Thomas
Re: Performing installer tests on PowerMac with USB sticks
On 4/30/19 21:56, Linux User #330250 wrote: Despite what others said, it should really work with every Macintosh that has the NewWorld bootrom and thus at least Open Firmware 3.0, i.e. starting with the iMac "Bondi" 1998 and the PowerBook G3 "Lombard" 1999. And, it's all already written down in a nice way.[1] Don't read on when you are happy with this official guide. Or read this: * http://hints.macworld.com/article.php?story=20060301112336384 * https://lists.debian.org/debian-powerpc/2012/08/msg00042.html * https://sites.google.com/site/shawnhcorey/howto-boot-apple-powerpcs-from-a-usb-drive-in-open-firmware The long read: I wanted to share my own experience as well... [...] Good write-up! Thanks for posting this. For what it's worth, USB booting on a Power Mac is alwayy trial and error. Write down what works. I heard that it should be possible to define a new devalias somehow... OpenBoot has NVRAMRC, specifically `nvalias` to store a devalias in NVRAMRC. See e.g [1]. IIRC I've seen a nvramrc environment var in OF, too, but not sure. [1]: https://docs.oracle.com/cd/E63648_01/html/E63649/gpsjv.html Cheers, Frank
Re: Performing installer tests on PowerMac with USB sticks
Am 30.04.19 um 12:54 schrieb John Paul Adrian Glaubitz: > Hello! I have dug out one of my iBook G4s now so I can perform > installer tests on the PowerMac target. While the machine has a > built-in optical drive, I would avoid having to burn CDs for every > installation test run (even when using CD-RWs), so I was wondering how > well booting from USB sticks works on these machines. Does anyone have > experience creating bootable USB media for PowerMacs to install > Debian? Adrian Despite what others said, it should really work with every Macintosh that has the NewWorld bootrom and thus at least Open Firmware 3.0, i.e. starting with the iMac "Bondi" 1998 and the PowerBook G3 "Lombard" 1999. And, it's all already written down in a nice way.[1] Don't read on when you are happy with this official guide. Or read this: * http://hints.macworld.com/article.php?story=20060301112336384 * https://lists.debian.org/debian-powerpc/2012/08/msg00042.html * https://sites.google.com/site/shawnhcorey/howto-boot-apple-powerpcs-from-a-usb-drive-in-open-firmware The long read: I wanted to share my own experience as well... Apple did not provide an easy way, like holding a key for this kind of boot selection. The possible keys are, a selection[2]: * c – boot from CD-ROM (or any other /internal/ optical drive) * d – forces boot from first hard disk drive (like it normally would anyway) * n – network boot, looks for suitable BOOTP or TFTP network boot source * r – (PowerBooks) resets stored screen size to internal default * t – target disk mode * mouse button held down – forces eject for media in internal optical drive * option – shows Open Firmware boot selection Sadly, Apple decided to include FireWire in the automatic search for bootable volumes but to leave out USB. The capability is there nonetheless, only that there is no key for it to press and hold, like in easy, quick and comfortable... The solution is to enter the Open Firmware (OF) command prompt by holding Option + Command + O + F until you can read the Open Firmware greeter on your monitor. Then you need to find the device and load the boot file from there. In essence it is the manual way of what the other options do for you automatically. The syntax is like this: > boot :, Examples for : 1) /pci@f400/ata-6@d/disk@0 2) /pci@f200/mac-io@17/ata-3@2/disk@0 3) bridge/ACARD,6280M@4/@2 Only, on most Macs there are aliases for this long and complicated device paths. So, for example, all of those above could be just: 1) hd (is set to the faster first HDD, should be the same as ultra0) 2) cd (set to internal optical drive, e.g. ide0) 3) ide0, ide1 (ATA bus) 4) ultra0, ultra1 (UltraATA bus) 5) usb0, usb1 6) ud0, ud1 – only on later PowerPC-Macs (like the Power Mac G5 or the iMac G5, starting around 2003) So, to replicate the boot from CD-ROM (holding the "c" key on system start-up) from the default partition (automatic), you can use the following from the Open Firmware prompt: > boot cd: To choose a specific partition, with a specific file as the initial bootloader: > boot cd:2,yaboot To use the blessed bootloader on a specific parition, in this example partition 3 from the hard disk drive: > boot hd:3,\\:tbxi The "\\:tbxi" is not a real file, instead OF will look for the one file that is blessed on this partition, that is the one file that has specific attributes to it. For Mac OS X this will be bootx, for Linux normally yaboot or grub2. To my knowledge this only works on a partition with HFS. So, now we want to boot from USB. First you need to identify the path of the USB device you want to boot from. Then you need to know the partition number. And, maybe, also the name of the bootloader (or try :tbxi). To find out what aliases your Mac already has defined, run the following: > devalias To see the full device tree without aliases: > dev / > ls Other usefull commands in Open Firmware: * lsdev * .properties * devalias, devalias * nvalias * printenv, printenv * set-env * set-default * set-defaults * dir : * eject cd: * mac-boot (will boot the standard) * reset-nvram (same as Cmd+Opt+N+V) * reset-all (will reboot) If you somehow messed up your Open Firmware settings, you can always reset/zap the NVRAM and the parameter memory (PRAM): * Hold Cmd+Opt+P+R to zap the PRAM * Hold Cmd+Opt+N+V to zap the NVRAM hold the keys until you hear the startup chime. I always held the keys until I heard the chime /again/ and /again/ 3 times in total. It's said that it has to be done this way. I think that on my Power Mac G5 (PowerMac11,2) from 2005 I was able to boot from the USB drive with: > boot ht@0,f200/pci@4/usb@b/disk@2:2,\\:tbxi or > boot ht@0/pci@4/usb@b/disk@2:2,\install\yaboot I found some notes, this must have been last year or so. I just tried 2019-04-24/debian-10.0-powerpc-NETINST-1.iso on my iBook G3 (original Clamshell, 1999) and
Re: Performing installer tests on PowerMac with USB sticks
This has worked for me on every ibook / powerbook I have tried it on. First check to see where your usb stick is located. You would do dev usb0 ls dev usb1 ls etc.. until you find the one that has @disk1 this is the one that you want to tell OF to boot from. So, lets say your usb stick is at usb0. You would do boot usb0/disk@1:,\\yaboot On 4/30/19, Karl wrote: > Last Gen of Powerbook G4 12“ doesn’t boot from USB also. > > > >> Am 30.04.2019 um 16:08 schrieb John Paul Adrian Glaubitz >> : >> >> On 4/30/19 3:49 PM, aggaz wrote: >>> (snip) >>> I find the documentation from NetBSD be the best companion to exploit >>> OpenFirmware, in case of problems I suggest to take a look at it [1,2]. >>> >>> [1] https://www.netbsd.org/ports/macppc/faq.html >>> [2] https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.0/macppc/INSTALL.html >> >> Thanks. That's extensive enough. >> >>> P.S: Are ISO images capable to boot with GRUB instead of yaboot already >>> available for the masses? If so I would like to try to boot one. >> No, I haven't created any test images yet. Building a bootable image with >> GRUB is quite complicated and I expect the first rounds of the image to >> be completely broken, so there wouldn't be much sense to publish >> anything. >> >> Adrian >> >> -- >> .''`. John Paul Adrian Glaubitz >> : :' : Debian Developer - glaub...@debian.org >> `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de >> `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >> > >
Re: Performing installer tests on PowerMac with USB sticks
Last Gen of Powerbook G4 12“ doesn’t boot from USB also. > Am 30.04.2019 um 16:08 schrieb John Paul Adrian Glaubitz > : > > On 4/30/19 3:49 PM, aggaz wrote: >> (snip) >> I find the documentation from NetBSD be the best companion to exploit >> OpenFirmware, in case of problems I suggest to take a look at it [1,2]. >> >> [1] https://www.netbsd.org/ports/macppc/faq.html >> [2] https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.0/macppc/INSTALL.html > > Thanks. That's extensive enough. > >> P.S: Are ISO images capable to boot with GRUB instead of yaboot already >> available for the masses? If so I would like to try to boot one. > No, I haven't created any test images yet. Building a bootable image with > GRUB is quite complicated and I expect the first rounds of the image to > be completely broken, so there wouldn't be much sense to publish anything. > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaub...@debian.org > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >
Re: Performing installer tests on PowerMac with USB sticks
Pretty straight forward 1. Burn the image to usb 2. Plug it in 3 boot into the boot loader by holding down the opt key 4. You should see the usb as a boot device Sent from my iPhone > On Apr 30, 2019, at 3:54 AM, John Paul Adrian Glaubitz > wrote: > > Hello! > > I have dug out one of my iBook G4s now so I can perform installer tests > on the PowerMac target. While the machine has a built-in optical drive, > I would avoid having to burn CDs for every installation test run (even > when using CD-RWs), so I was wondering how well booting from USB sticks > works on these machines. > > Does anyone have experience creating bootable USB media for PowerMacs > to install Debian? > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaub...@debian.org > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >
Re: Performing installer tests on PowerMac with USB sticks
On 4/30/19 3:49 PM, aggaz wrote: > (snip) > I find the documentation from NetBSD be the best companion to exploit > OpenFirmware, in case of problems I suggest to take a look at it [1,2]. > > [1] https://www.netbsd.org/ports/macppc/faq.html > [2] https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.0/macppc/INSTALL.html Thanks. That's extensive enough. > P.S: Are ISO images capable to boot with GRUB instead of yaboot already > available for the masses? If so I would like to try to boot one. No, I haven't created any test images yet. Building a bootable image with GRUB is quite complicated and I expect the first rounds of the image to be completely broken, so there wouldn't be much sense to publish anything. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: Performing installer tests on PowerMac with USB sticks
As far as I know, only newer machines are able to boot from USB. I was able to boot from USB on a PowerMac G5 (PowerMac11,2), but I was not able to boot on an iMac G3 and on a eMac G4. In the case of the G5, if the machine is booted with a USB stick in it, it should be possible to see the "ud" alias in the "devalias" output. If this is the case, it should be possible to boot the USB stick like a CD-ROM, but of course specifying the proper alias/path. For example: boot ud:,\install\yaboot Here, the alias "ud" is followed by the path to the yaboot executable. In case of GRUB I would try to look for the path of it by using the command: dir ud:,\ In my experience, the command: ud:,\\:tbxi sometimes works, sometime does not. I suppose it depends on how the ISO file was created. I find the documentation from NetBSD be the best companion to exploit OpenFirmware, in case of problems I suggest to take a look at it [1,2]. [1] https://www.netbsd.org/ports/macppc/faq.html [2] https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.0/macppc/INSTALL.html P.S: Are ISO images capable to boot with GRUB instead of yaboot already available for the masses? If so I would like to try to boot one. Regards A. Il 30/04/19 12:54, John Paul Adrian Glaubitz ha scritto: > Hello! > > I have dug out one of my iBook G4s now so I can perform installer tests > on the PowerMac target. While the machine has a built-in optical drive, > I would avoid having to burn CDs for every installation test run (even > when using CD-RWs), so I was wondering how well booting from USB sticks > works on these machines. > > Does anyone have experience creating bootable USB media for PowerMacs > to install Debian? > > Adrian >
Re: Performing installer tests on PowerMac with USB sticks
On 4/30/19 2:42 PM, Frank Scheiner wrote: > Hi Adrian, > IIRC "aggaz" used a USB stick to boot his G5, see [1]. Seems like one > can just `dd` the ISO to the USB stick and it works with `boot > :,\install\yaboot` or sometimes also with `boot > :,\\:tbxi` - if USB boot is supported by the machine. Okay, I obviously don't want to boot Yaboot but GRUB ;). > [1]: https://lists.debian.org/debian-powerpc/2019/04/msg00070.html > > Maybe you first start by attaching the USB stick to the machine and boot > into OF, to see if a new device alias gets created for it. Good idea, thanks. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: Performing installer tests on PowerMac with USB sticks
Hi Adrian, On 4/30/19 12:54, John Paul Adrian Glaubitz wrote: Hello! I have dug out one of my iBook G4s now so I can perform installer tests on the PowerMac target. While the machine has a built-in optical drive, I would avoid having to burn CDs for every installation test run (even when using CD-RWs), so I was wondering how well booting from USB sticks works on these machines. Does anyone have experience creating bootable USB media for PowerMacs to install Debian? IIRC "aggaz" used a USB stick to boot his G5, see [1]. Seems like one can just `dd` the ISO to the USB stick and it works with `boot :,\install\yaboot` or sometimes also with `boot :,\\:tbxi` - if USB boot is supported by the machine. [1]: https://lists.debian.org/debian-powerpc/2019/04/msg00070.html Maybe you first start by attaching the USB stick to the machine and boot into OF, to see if a new device alias gets created for it. Cheers, Frank
Performing installer tests on PowerMac with USB sticks
Hello! I have dug out one of my iBook G4s now so I can perform installer tests on the PowerMac target. While the machine has a built-in optical drive, I would avoid having to burn CDs for every installation test run (even when using CD-RWs), so I was wondering how well booting from USB sticks works on these machines. Does anyone have experience creating bootable USB media for PowerMacs to install Debian? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: rescue of install / booting from USB
Hi Frank! good news. On 1/3/19 8:13 AM, Frank Scheiner wrote: Afterwards maybe check a hash (e.g. SHA256) of the file on both sender and receiver to be sure it was transferred intact. When chrooted to the actual installation, you should have hfsutils around (`/proc` and `/sys` might need to be mounted). First - if it is mounted - unmount the HFS partition with `umount`, then (pseudo)mount it again with `hmount`, then use `hattrib -t tbxi -c UNIX yaboot`. Afterwards, `humount` the HFS partition and try a reboot with the older yaboot from disk. I was able to transfer the yaboot of the debian 7.11 disk to the HFS boot partition and thus boot the previously installed debian. Strangely, I was unable to mount the HFS partition when using the "shell", or, better, it always mounted read-only (I do wonder how the installer is capable of installing Yaboot then). However, mounting the target root and chrooting (proc, sys and dev need to be mounted to be able to mount under the chrooted environment succesfully). Luckily, the installer image has a yaboot file in it in the installer directory. Voilà, I was able to boot and continue installation, upgrading and installing and have again a working iBook. I'm operative again! I have a couple of issues though. This replacement I got is slightly different than the old one I had: 14" vs 12", hardware is slightly different (including the yaboot issue which did not happen on the 12") Do we have a new reliable yaboot? I have the fear that at the next upgrade and thus install of its package, the computer will halt again (I made a back-up copy of the working yaboot file for safety) I will describe these issues in separate mails to have clean threads! I already started working again on ArcticFox... more to report on that too! Riccardo
Re: rescue of install / booting from USB
On 1/3/19 00:53, Riccardo Mottola wrote: On 1/1/19 7:48 PM, Frank Scheiner wrote: now however I perhaps need some magic to fix things. I am able to get into the "ash" and mount my hard disk, so I have on /cdrom my local key stuff and in /mnt my target. I an also mount the small HFS partition which contains 3 files: ofboot.b yaboot yaboot.conf What could I do to transplant Yaboot ? Where does it live? I suppose both a file in the linux partition as well as one in the small HFS partition I have, right? I thought that they USB key would also have two partition, mac-fdisk lists sdb1 and sdb2, sdb1 being mounted, but I cannot mount sdb2 (HFS), no device node exists for that Any tricks off-heads for the frankenstein Yaboot I want to attempt? If all else fails, you can still mount the original ISO on another machine and copy the included `yaboot` (from `/install`) to a convenient place. From there you can transfer it into the rescue system or directly to the HFS partition with e.g.: On receiver: ``` nc -l -p 9000 > yaboot ``` On sender: ``` nc receiver 9000 < yaboot ``` Afterwards maybe check a hash (e.g. SHA256) of the file on both sender and receiver to be sure it was transferred intact. When chrooted to the actual installation, you should have hfsutils around (`/proc` and `/sys` might need to be mounted). First - if it is mounted - unmount the HFS partition with `umount`, then (pseudo)mount it again with `hmount`, then use `hattrib -t tbxi -c UNIX yaboot`. Afterwards, `humount` the HFS partition and try a reboot with the older yaboot from disk. HTH, Frank
Re: rescue of install / booting from USB
On Tue, Jan 01, 2019 at 07:10:17PM +0100, Riccardo Mottola wrote: [ ... ] Fine, why not try just booting a debian 8 image and see? I could tryi fixing yaboot (e.g. by installing the one just booted) or by installing debian 8 and then upgrading later. I got the netinst iso on a USB stick just by doing on Linux (intel): sudo dd if=debian-8.11.0-powerpc-netinst.iso of=/dev/sdb bs=4M; sync looks good ... one just has to be extremely careful about the the "of=sdX" part of the incantation ... ;) one small mistake and a disk might be destroyed .. Is that fine on PPC too? I hope so. To boot it, enter in Open-Firmware and "boot usb". would be nice if it was that easy ... ;) ... You're close, but still: there's more to it: see below .. I get into the First Stage GNU/Linux bootstrap and type "l" for GNU/Linux. I get: Decrementer exception at %SRR0: 001001d8 %%SRR1: 10003030 Am I sure I am booting from the USB key and not from HD or the two boot stages are getting mixed? Detailed instructions on how to boot from a USB stick via Open Firmware to a PowerPc machine: https://lists.debian.org/debian-powerpc/2012/08/msg00042.html The page is a few years old but it worked here about a year ago. You probably already know that you'll be, IIRC, on an qwerty keyboard in OF - so be prepared to search and find the needed keys: https://lists.debian.org/debian-powerpc/2017/12/msg8.html Good luck! Wolfgang
Re: rescue of install / booting from USB
On 1/1/19 7:48 PM, Frank Scheiner wrote: To boot it, enter in Open-Firmware and "boot usb". I get into the First Stage GNU/Linux bootstrap and type "l" for GNU/Linux. I get: Decrementer exception at %SRR0: 001001d8 %%SRR1: 10003030 First, what gives `devalias usb` on your machine? no alias Then, what happens if you boot with `boot usb:,\install\yaboot`? Prior to that you can also check with `dir usb:,\` if you can actually list the files on the USB device. The correct command on my machine is boot usb0/disk@1:,\install\yaboot With that I can boot the 7.11 USB key I made (maybe it worked also before) now however I perhaps need some magic to fix things. I am able to get into the "ash" and mount my hard disk, so I have on /cdrom my local key stuff and in /mnt my target. I an also mount the small HFS partition which contains 3 files: ofboot.b yaboot yaboot.conf What could I do to transplant Yaboot ? Where does it live? I suppose both a file in the linux partition as well as one in the small HFS partition I have, right? I thought that they USB key would also have two partition, mac-fdisk lists sdb1 and sdb2, sdb1 being mounted, but I cannot mount sdb2 (HFS), no device node exists for that Any tricks off-heads for the frankenstein Yaboot I want to attempt? Riccardo
Re: rescue of install / booting from USB
On 1/1/19 19:10, Riccardo Mottola wrote: To boot it, enter in Open-Firmware and "boot usb". I get into the First Stage GNU/Linux bootstrap and type "l" for GNU/Linux. I get: Decrementer exception at %SRR0: 001001d8 %%SRR1: 10003030 First, what gives `devalias usb` on your machine? Then, what happens if you boot with `boot usb:,\install\yaboot`? Prior to that you can also check with `dir usb:,\` if you can actually list the files on the USB device. Cheers, Frank
rescue of install / booting from USB
Hi all! if you remember, I was able to install from CD-ROM to my hard disk of the iBook G4, but then I am unable to boot it because yaboot issues the dreaded "Decrementer exception". I thought at first to try the trick I used for booting using the USB key and then from the CDROM also for booting from the HD, but it did not work. Fine, why not try just booting a debian 8 image and see? I could tryi fixing yaboot (e.g. by installing the one just booted) or by installing debian 8 and then upgrading later. I got the netinst iso on a USB stick just by doing on Linux (intel): sudo dd if=debian-8.11.0-powerpc-netinst.iso of=/dev/sdb bs=4M; sync Is that fine on PPC too? I hope so. To boot it, enter in Open-Firmware and "boot usb". I get into the First Stage GNU/Linux bootstrap and type "l" for GNU/Linux. I get: Decrementer exception at %SRR0: 001001d8 %%SRR1: 10003030 Am I sure I am booting from the USB key and not from HD or the two boot stages are getting mixed? Or is 8.11.0 already "bad" ? I tried 8.10.0 and I get the same decrementer exception so I ask :) Riccardo
Re: Problems installing Jessie to Powerbook from USB Stick
> Am 18.05.2017 um 15:25 schrieb Linux User #330250 : > > Hello Carlos! > Have you also tried a different USB pen drive (USB stick) yet? Some USB > devices use non-standard modes which may not be supported by Open Firmware. > > Good luck, > Linux User #330250 Hello Linux User #330250, yes I have tried two different pen drives. Non of them are working … Regards Carlos
Re: Problems installing Jessie to Powerbook from USB Stick
Hello Carlos! Have you also tried a different USB pen drive (USB stick) yet? Some USB devices use non-standard modes which may not be supported by Open Firmware. Good luck, Linux User #330250
Re: Problems installing Jessie to Powerbook from USB Stick
> Am 18.05.2017 um 14:28 schrieb Mathieu Malaterre : > > On Thu, May 18, 2017 at 1:50 PM, Carlos wrote: >> Mathieu, >> >> thanks for your help. >> But sadly, I don’t find anything like: >>/pci@f200 >> /usb@18 >>/disk@1 >> >> The „disk“ connected to USB I don’t find. But the LED on the USB-Stick is >> burning. > > When you follow the old doc: > > https://www.debian.org/releases/sarge/powerpc/ch05s01.html.en#usb-boot > > Do you see anything containing 'usb' string in`dev / ls` (devalias) > > -M usb I see (e. g. usb@1b,1), but no „ disk@x“ attached to this. The LED of the USB key is burning, also in OF. In OS X, the key automatically pops up. In devalias no „ud“ at all.
Re: Problems installing Jessie to Powerbook from USB Stick
On Thu, May 18, 2017 at 1:50 PM, Carlos wrote: > Mathieu, > > thanks for your help. > But sadly, I don’t find anything like: > /pci@f2000000 > /usb@18 > /disk@1 > > The „disk“ connected to USB I don’t find. But the LED on the USB-Stick is > burning. When you follow the old doc: https://www.debian.org/releases/sarge/powerpc/ch05s01.html.en#usb-boot Do you see anything containing 'usb' string in`dev / ls` (devalias) -M
Re: Problems installing Jessie to Powerbook from USB Stick
Hello Luke, sadly, I don’t find the USB key. If I type devalias, it doesn’t also appear „ud“ Does this mean, my PowerBook isn’t able to boot from USB? Because somewhere I have read, if „ud“ doesn’t appear, no USB booting possible. Is it a OpenFirmware „problem“? It’s the latest 12“ PowerBook from 2005 … Thanks in advance Carlos > Am 18.05.2017 um 08:50 schrieb Luke : > > Hi Carlos, have you tried to write the complete OF boot path to the USB key? > Also on my PowerBook the shortcut wont run. > Bye. > > > Il 17/mag/2017 08:45 PM, "Carlos" ha scritto: > > But I don’t find the USB-Stick. I also tried this command: „boot ud:,\\:tbxi“ > as described there: > http://ben-collins.blogspot.de/2010/08/booting-your-ibook-g4-from-usb-stick.html >
Re: Problems installing Jessie to Powerbook from USB Stick
Hello Richard, I tried the following in the link you posted: To do the same in OSX, do the following. First convert the .iso file to an .img file in OSX so that it can be written to a USB stick: hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/source.iso After I hit return, it appears the „target.img“, but after the operation is done, the „target.img“ is disappearing. What have I done wrong? Thanks in advance Carlos > Am 18.05.2017 um 07:24 schrieb Richard Kuenz : > > This helped me when i needed to boot usb > > http://mintppc.org/content/installation-mintppc-92 > > On 17.05.2017 20:29, Carlos wrote: >> Hello to all, >> >> first of, great community. This is my first post but I have read a lot of >> threads on this mailing list. And I’m a totally noob on Linux. >> >> I would like to install Debian from a USB-Stick, but sadly it fails. >> >> First off, my system requirements: >> >> Apple PowerBook G4 1.5GHz >> Model Identifier: PowerBook6,8 (February 2005) >> Model Number: A1104 >> Boot-ROM Version: 4.9.0f0 >> OS: MacOS X v10.4.11 >> >> >> These steps I have done so far: >> >> 1. Downloaded Debian 8.8.0 non-free Firmware edition from here: >> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.8.0+nonfree/powerpc/iso-cd/ >> 2. I copied the ISO to USB-Stick with this command: >> sudo dd if=/Users/test/Downloads/firmware-8.8.0-powerpc-netinst.iso >> of=/dev/rdisk1 bs=1m >> >> After I performed this command, I got: >> 308+1 records in >> 308+1 records out >> 323665920 bytes transferred in 27.002575 secs (11986484 bytes/sec) >> >> And the stick appears in the Finder called „Debian/PowerPC_jessie (with lot >> of folders, e. g. install/yaboot) >> >> The USB-Stick is shown in the disk utility as follows: >> File system: MacOS standard (disk1s2) >> Partition type: Apple_HFS (Apple partition scheme) >> >> 3. Booting the PowerBook in OpenFirmware >> 4. typed dev / ls and devalias >> >> As described there: >> https://lists.debian.org/debian-powerpc/2012/08/msg00042.html >> >> But I don’t find the USB-Stick. I also tried this command: „boot >> ud:,\\:tbxi“ as described there: >> http://ben-collins.blogspot.de/2010/08/booting-your-ibook-g4-from-usb-stick.html >> >> But only it appears a no stopping sign. I also have tried a different >> Stick. The first one with 2GB, the second with 8GB. >> >> Could maybe someone give me a advice, please? >> >> Thanks in advance >> Carlos >>
Re: Problems installing Jessie to Powerbook from USB Stick
Mathieu, thanks for your help. But sadly, I don’t find anything like: /pci@f200 /usb@18 /disk@1 The „disk“ connected to USB I don’t find. But the LED on the USB-Stick is burning. Any ideas? Karl > Am 18.05.2017 um 08:14 schrieb Mathieu Malaterre : > > On Wed, May 17, 2017 at 9:39 PM, Mathieu Malaterre wrote: >> On Wed, May 17, 2017 at 8:29 PM, Carlos wrote: >>> Hello to all, >>> >>> first of, great community. This is my first post but I have read a lot of >>> threads on this mailing list. And I’m a totally noob on Linux. >>> >>> I would like to install Debian from a USB-Stick, but sadly it fails. >> >> Here is what I use: >> >> https://lists.debian.org/debian-powerpc/2016/04/msg00081.html > > Sorry about that, I meant: > > https://lists.debian.org/debian-powerpc/2016/04/msg00103.html > > The previous link was my first attempt. Burning the ISO directly seems > to work in a lot of cases.
Re: Problems installing Jessie to Powerbook from USB Stick
Hi Carlos, have you tried to write the complete OF boot path to the USB key? Also on my PowerBook the shortcut wont run. Bye. Il 17/mag/2017 08:45 PM, "Carlos" ha scritto: But I don’t find the USB-Stick. I also tried this command: „boot ud:,\\:tbxi“ as described there: http://ben-collins.blogspot. de/2010/08/booting-your-ibook-g4-from-usb-stick.html
Re: Problems installing Jessie to Powerbook from USB Stick
On Wed, May 17, 2017 at 9:39 PM, Mathieu Malaterre wrote: > On Wed, May 17, 2017 at 8:29 PM, Carlos wrote: >> Hello to all, >> >> first of, great community. This is my first post but I have read a lot of >> threads on this mailing list. And I’m a totally noob on Linux. >> >> I would like to install Debian from a USB-Stick, but sadly it fails. > > Here is what I use: > > https://lists.debian.org/debian-powerpc/2016/04/msg00081.html Sorry about that, I meant: https://lists.debian.org/debian-powerpc/2016/04/msg00103.html The previous link was my first attempt. Burning the ISO directly seems to work in a lot of cases.
Re: Problems installing Jessie to Powerbook from USB Stick
This helped me when i needed to boot usb http://mintppc.org/content/installation-mintppc-92 On 17.05.2017 20:29, Carlos wrote: Hello to all, first of, great community. This is my first post but I have read a lot of threads on this mailing list. And I’m a totally noob on Linux. I would like to install Debian from a USB-Stick, but sadly it fails. First off, my system requirements: Apple PowerBook G4 1.5GHz Model Identifier: PowerBook6,8 (February 2005) Model Number: A1104 Boot-ROM Version: 4.9.0f0 OS: MacOS X v10.4.11 These steps I have done so far: 1. Downloaded Debian 8.8.0 non-free Firmware edition from here: https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.8.0+nonfree/powerpc/iso-cd/ 2. I copied the ISO to USB-Stick with this command: sudo dd if=/Users/test/Downloads/firmware-8.8.0-powerpc-netinst.iso of=/dev/rdisk1 bs=1m After I performed this command, I got: 308+1 records in 308+1 records out 323665920 bytes transferred in 27.002575 secs (11986484 bytes/sec) And the stick appears in the Finder called „Debian/PowerPC_jessie (with lot of folders, e. g. install/yaboot) The USB-Stick is shown in the disk utility as follows: File system: MacOS standard (disk1s2) Partition type: Apple_HFS (Apple partition scheme) 3. Booting the PowerBook in OpenFirmware 4. typed dev / ls and devalias As described there: https://lists.debian.org/debian-powerpc/2012/08/msg00042.html But I don’t find the USB-Stick. I also tried this command: „boot ud:,\\:tbxi“ as described there: http://ben-collins.blogspot.de/2010/08/booting-your-ibook-g4-from-usb-stick.html But only it appears a no stopping sign. I also have tried a different Stick. The first one with 2GB, the second with 8GB. Could maybe someone give me a advice, please? Thanks in advance Carlos
Re: Problems installing Jessie to Powerbook from USB Stick
On Wed, May 17, 2017 at 8:29 PM, Carlos wrote: > Hello to all, > > first of, great community. This is my first post but I have read a lot of > threads on this mailing list. And I’m a totally noob on Linux. > > I would like to install Debian from a USB-Stick, but sadly it fails. Here is what I use: https://lists.debian.org/debian-powerpc/2016/04/msg00081.html
Problems installing Jessie to Powerbook from USB Stick
Hello to all, first of, great community. This is my first post but I have read a lot of threads on this mailing list. And I’m a totally noob on Linux. I would like to install Debian from a USB-Stick, but sadly it fails. First off, my system requirements: Apple PowerBook G4 1.5GHz Model Identifier: PowerBook6,8 (February 2005) Model Number: A1104 Boot-ROM Version: 4.9.0f0 OS: MacOS X v10.4.11 These steps I have done so far: 1. Downloaded Debian 8.8.0 non-free Firmware edition from here: https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.8.0+nonfree/powerpc/iso-cd/ 2. I copied the ISO to USB-Stick with this command: sudo dd if=/Users/test/Downloads/firmware-8.8.0-powerpc-netinst.iso of=/dev/rdisk1 bs=1m After I performed this command, I got: 308+1 records in 308+1 records out 323665920 bytes transferred in 27.002575 secs (11986484 bytes/sec) And the stick appears in the Finder called „Debian/PowerPC_jessie (with lot of folders, e. g. install/yaboot) The USB-Stick is shown in the disk utility as follows: File system: MacOS standard (disk1s2) Partition type: Apple_HFS (Apple partition scheme) 3. Booting the PowerBook in OpenFirmware 4. typed dev / ls and devalias As described there: https://lists.debian.org/debian-powerpc/2012/08/msg00042.html But I don’t find the USB-Stick. I also tried this command: „boot ud:,\\:tbxi“ as described there: http://ben-collins.blogspot.de/2010/08/booting-your-ibook-g4-from-usb-stick.html But only it appears a no stopping sign. I also have tried a different Stick. The first one with 2GB, the second with 8GB. Could maybe someone give me a advice, please? Thanks in advance Carlos
Re: d-i: 4.3. Preparing Files for USB Memory Stick Booting
On Wed, Apr 20, 2016 at 2:33 PM, Mathieu Malaterre wrote: > On Wed, Apr 20, 2016 at 2:29 PM, Lennart Sorensen > wrote: >> On Wed, Apr 20, 2016 at 08:36:22AM +0200, Mathieu Malaterre wrote: >>> Hi, >>> >>> On Tue, Apr 19, 2016 at 6:53 PM, Lennart Sorensen >>> wrote: >>> > On Tue, Apr 19, 2016 at 12:16:27PM +0200, Mathieu Malaterre wrote: >>> >> Does anyone knows what happen to section: >>> >> >>> >> 4.3. Preparing Files for USB Memory Stick Booting >>> >> >>> >> in the powerpc install guide ? >>> >> >>> >> I see it alright from here: >>> >> >>> >> https://www.debian.org/releases/stable/amd64/ch04.html.en >>> > >>> > Well that's x86_64 so totally different thing. >>> > >>> >> but not from here: >>> >> >>> >> https://www.debian.org/releases/stable/powerpc/ch04.html.en >>> >> >>> >> AFAIK USB booting works from powerpc system (at least some that I tried). >>> >> >>> >> Also I see reference to powerpc in the raw XML file: >>> >> >>> >> http://anonscm.debian.org/viewvc/d-i/trunk/manual/en/install-methods/boot-usb-files.xml?view=markup >>> >> >>> >> Comments ? >>> > >>> > You could try to follow the older instructions and it might work: >>> > >>> > https://www.debian.org/releases/etch/powerpc/ch05s01.html.en >>> > >>> > Section 5.1.3 says newworld mac booting from USB. It has to be done >>> > manually from openfirmware though, so it is probably the most complicated >>> > boot method there is. >>> > >>> > It also had a warning that it might not work. Maybe it was removed from >>> > newer release's documentation for a reason. >>> >>> That was precisely my point: why did it got removed ? And if so why is >>> the upstream (raw) XML still referencing the USB boot mechanism for >>> powerpc ? >>> >>> > The instructions from Ubuntu might work too: >>> > https://wiki.ubuntu.com/PowerPCFAQ#How_do_I_boot_from_a_USB_drive.3F >>> >>> Neat it contains some more extra information I was not aware, thanks ! >>> >>> I did follow: >>> >>> https://lists.debian.org/debian-powerpc/2012/08/msg00042.html >>> >>> and it works for me, on a Mac Mini G4 (PPC). >>> >>> Full steps: >>> >>> # wget >>> http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.4.0/powerpc/iso-cd/firmware-8.4.0-powerpc-netinst.iso >>> # wget >>> http://ftp.nl.debian.org/debian/dists/jessie/main/installer-powerpc/current/images/powerpc/hd-media/boot.img.gz >>> # zcat boot.img.gz > /dev/sdb >>> # sync >>> [manually eject + plug USB drive again] >>> # cp firmware-8.4.0-powerpc-netinst.iso /media/mathieu/bootable >>> drive/shortname.iso >>> >>> [reboot + press and hold cmd/option/o/f] >>> >>> > boot usb1/disk@1:2,\\yaboot >>> [some silly warning that partition cannot be read] >>> boot: install >> >> I think maybe the 2 should be a 1 for the partition. Not certain. >> >>> done ! >>> >>> The only tricky part was that the name >>> 'firmware-8.4.0-powerpc-netinst.iso' is a bit too long for HFS (AFAIK) >>> and the file extension was *.si instead of *.iso which is an issue for >>> the debian installer (hence the need for a shorter name on the USB >>> disk). >>> >>> I'll make an installation-reports bug report for stretch and ask for >>> the documentation clarification from there. >> >> Well checking the iso powerpc image, it has a partition table and yaboot >> is there, so I think the hd-media step is not needed. I think you can >> just write the iso to the usb key and it would work just as well. > > Hum. I tried burning the iso directly on key, but the filesystem was > ISO 9660 which Open Firmware refused to read... > > If you want I can try harder tonight, but I assumed the key needed to be in > HFS. My Mac Mini G4 does support ISO 9660. Steps: $ sudo dd if=debian.iso of=/dev/sdb bs=1M $ sudo sync [eject + put the USB key on mac mini, power up + cmd+option/o/f] > dir usb0/disk@1:2,\ -> should list the 'install' directory (and some other stuff) > boot usb0/disk@1:2,\install\yaboot done !
Re: d-i: 4.3. Preparing Files for USB Memory Stick Booting
On Wed, Apr 20, 2016 at 7:51 PM, Milan Kupcevic wrote: > On 04/19/2016 06:16 AM, Mathieu Malaterre wrote: >> Does anyone knows what happen to section: >> >> 4.3. Preparing Files for USB Memory Stick Booting >> >> in the powerpc install guide ? >> > > > The Mac producer officially does not support USB booting on PowerPC > machines. While it is often possible to do it, the firmware behavior is > inconsistent from version to version. Thus there is no official Debian > guideline on how to do it. The situation with IBM Power machines could > be different. > > There were discussions about this issue over the years on debian-powerpc > mailing list. Search the list for more hints. I could not find any solid arguments searching: "site:https://lists.debian.org/debian-powerpc usb boot open firmware" Everywhere else it seems to be working: - http://mac.linux.be/content/booting-open-firmware - http://apple.stackexchange.com/questions/11128/how-do-i-make-my-1-5-ghz-powerbook-g4-boot-from-a-usb-stick * http://apple.stackexchange.com/a/19958/85526 * http://apple.stackexchange.com/a/160252/85526 ← this one looks a bit crazy though I do not see why the d-i manual should not mention a method that works for some systems, we just need to put a warning.
Re: d-i: 4.3. Preparing Files for USB Memory Stick Booting
On 04/19/2016 06:16 AM, Mathieu Malaterre wrote: > Does anyone knows what happen to section: > > 4.3. Preparing Files for USB Memory Stick Booting > > in the powerpc install guide ? > The Mac producer officially does not support USB booting on PowerPC machines. While it is often possible to do it, the firmware behavior is inconsistent from version to version. Thus there is no official Debian guideline on how to do it. The situation with IBM Power machines could be different. There were discussions about this issue over the years on debian-powerpc mailing list. Search the list for more hints. Milan signature.asc Description: OpenPGP digital signature
Re: d-i: 4.3. Preparing Files for USB Memory Stick Booting
On Wed, Apr 20, 2016 at 02:33:50PM +0200, Mathieu Malaterre wrote: > Hum. I tried burning the iso directly on key, but the filesystem was > ISO 9660 which Open Firmware refused to read... > > If you want I can try harder tonight, but I assumed the key needed to be in > HFS. Hmm, I did not check what filesystem it was when I loop mounted the partition. I guess I figured it was a hybrid iso like x86 is and hence would have a different filesystem. Maybe some openfirmware versions can read iso. -- Len Sorensen
Re: d-i: 4.3. Preparing Files for USB Memory Stick Booting
On Wed, Apr 20, 2016 at 2:29 PM, Lennart Sorensen wrote: > On Wed, Apr 20, 2016 at 08:36:22AM +0200, Mathieu Malaterre wrote: >> Hi, >> >> On Tue, Apr 19, 2016 at 6:53 PM, Lennart Sorensen >> wrote: >> > On Tue, Apr 19, 2016 at 12:16:27PM +0200, Mathieu Malaterre wrote: >> >> Does anyone knows what happen to section: >> >> >> >> 4.3. Preparing Files for USB Memory Stick Booting >> >> >> >> in the powerpc install guide ? >> >> >> >> I see it alright from here: >> >> >> >> https://www.debian.org/releases/stable/amd64/ch04.html.en >> > >> > Well that's x86_64 so totally different thing. >> > >> >> but not from here: >> >> >> >> https://www.debian.org/releases/stable/powerpc/ch04.html.en >> >> >> >> AFAIK USB booting works from powerpc system (at least some that I tried). >> >> >> >> Also I see reference to powerpc in the raw XML file: >> >> >> >> http://anonscm.debian.org/viewvc/d-i/trunk/manual/en/install-methods/boot-usb-files.xml?view=markup >> >> >> >> Comments ? >> > >> > You could try to follow the older instructions and it might work: >> > >> > https://www.debian.org/releases/etch/powerpc/ch05s01.html.en >> > >> > Section 5.1.3 says newworld mac booting from USB. It has to be done >> > manually from openfirmware though, so it is probably the most complicated >> > boot method there is. >> > >> > It also had a warning that it might not work. Maybe it was removed from >> > newer release's documentation for a reason. >> >> That was precisely my point: why did it got removed ? And if so why is >> the upstream (raw) XML still referencing the USB boot mechanism for >> powerpc ? >> >> > The instructions from Ubuntu might work too: >> > https://wiki.ubuntu.com/PowerPCFAQ#How_do_I_boot_from_a_USB_drive.3F >> >> Neat it contains some more extra information I was not aware, thanks ! >> >> I did follow: >> >> https://lists.debian.org/debian-powerpc/2012/08/msg00042.html >> >> and it works for me, on a Mac Mini G4 (PPC). >> >> Full steps: >> >> # wget >> http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.4.0/powerpc/iso-cd/firmware-8.4.0-powerpc-netinst.iso >> # wget >> http://ftp.nl.debian.org/debian/dists/jessie/main/installer-powerpc/current/images/powerpc/hd-media/boot.img.gz >> # zcat boot.img.gz > /dev/sdb >> # sync >> [manually eject + plug USB drive again] >> # cp firmware-8.4.0-powerpc-netinst.iso /media/mathieu/bootable >> drive/shortname.iso >> >> [reboot + press and hold cmd/option/o/f] >> >> > boot usb1/disk@1:2,\\yaboot >> [some silly warning that partition cannot be read] >> boot: install > > I think maybe the 2 should be a 1 for the partition. Not certain. > >> done ! >> >> The only tricky part was that the name >> 'firmware-8.4.0-powerpc-netinst.iso' is a bit too long for HFS (AFAIK) >> and the file extension was *.si instead of *.iso which is an issue for >> the debian installer (hence the need for a shorter name on the USB >> disk). >> >> I'll make an installation-reports bug report for stretch and ask for >> the documentation clarification from there. > > Well checking the iso powerpc image, it has a partition table and yaboot > is there, so I think the hd-media step is not needed. I think you can > just write the iso to the usb key and it would work just as well. Hum. I tried burning the iso directly on key, but the filesystem was ISO 9660 which Open Firmware refused to read... If you want I can try harder tonight, but I assumed the key needed to be in HFS.
Re: d-i: 4.3. Preparing Files for USB Memory Stick Booting
On Wed, Apr 20, 2016 at 08:36:22AM +0200, Mathieu Malaterre wrote: > Hi, > > On Tue, Apr 19, 2016 at 6:53 PM, Lennart Sorensen > wrote: > > On Tue, Apr 19, 2016 at 12:16:27PM +0200, Mathieu Malaterre wrote: > >> Does anyone knows what happen to section: > >> > >> 4.3. Preparing Files for USB Memory Stick Booting > >> > >> in the powerpc install guide ? > >> > >> I see it alright from here: > >> > >> https://www.debian.org/releases/stable/amd64/ch04.html.en > > > > Well that's x86_64 so totally different thing. > > > >> but not from here: > >> > >> https://www.debian.org/releases/stable/powerpc/ch04.html.en > >> > >> AFAIK USB booting works from powerpc system (at least some that I tried). > >> > >> Also I see reference to powerpc in the raw XML file: > >> > >> http://anonscm.debian.org/viewvc/d-i/trunk/manual/en/install-methods/boot-usb-files.xml?view=markup > >> > >> Comments ? > > > > You could try to follow the older instructions and it might work: > > > > https://www.debian.org/releases/etch/powerpc/ch05s01.html.en > > > > Section 5.1.3 says newworld mac booting from USB. It has to be done > > manually from openfirmware though, so it is probably the most complicated > > boot method there is. > > > > It also had a warning that it might not work. Maybe it was removed from > > newer release's documentation for a reason. > > That was precisely my point: why did it got removed ? And if so why is > the upstream (raw) XML still referencing the USB boot mechanism for > powerpc ? > > > The instructions from Ubuntu might work too: > > https://wiki.ubuntu.com/PowerPCFAQ#How_do_I_boot_from_a_USB_drive.3F > > Neat it contains some more extra information I was not aware, thanks ! > > I did follow: > > https://lists.debian.org/debian-powerpc/2012/08/msg00042.html > > and it works for me, on a Mac Mini G4 (PPC). > > Full steps: > > # wget > http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.4.0/powerpc/iso-cd/firmware-8.4.0-powerpc-netinst.iso > # wget > http://ftp.nl.debian.org/debian/dists/jessie/main/installer-powerpc/current/images/powerpc/hd-media/boot.img.gz > # zcat boot.img.gz > /dev/sdb > # sync > [manually eject + plug USB drive again] > # cp firmware-8.4.0-powerpc-netinst.iso /media/mathieu/bootable > drive/shortname.iso > > [reboot + press and hold cmd/option/o/f] > > > boot usb1/disk@1:2,\\yaboot > [some silly warning that partition cannot be read] > boot: install I think maybe the 2 should be a 1 for the partition. Not certain. > done ! > > The only tricky part was that the name > 'firmware-8.4.0-powerpc-netinst.iso' is a bit too long for HFS (AFAIK) > and the file extension was *.si instead of *.iso which is an issue for > the debian installer (hence the need for a shorter name on the USB > disk). > > I'll make an installation-reports bug report for stretch and ask for > the documentation clarification from there. Well checking the iso powerpc image, it has a partition table and yaboot is there, so I think the hd-media step is not needed. I think you can just write the iso to the usb key and it would work just as well. -- Len Sorensen
Re: d-i: 4.3. Preparing Files for USB Memory Stick Booting
Hi, On Tue, Apr 19, 2016 at 6:53 PM, Lennart Sorensen wrote: > On Tue, Apr 19, 2016 at 12:16:27PM +0200, Mathieu Malaterre wrote: >> Does anyone knows what happen to section: >> >> 4.3. Preparing Files for USB Memory Stick Booting >> >> in the powerpc install guide ? >> >> I see it alright from here: >> >> https://www.debian.org/releases/stable/amd64/ch04.html.en > > Well that's x86_64 so totally different thing. > >> but not from here: >> >> https://www.debian.org/releases/stable/powerpc/ch04.html.en >> >> AFAIK USB booting works from powerpc system (at least some that I tried). >> >> Also I see reference to powerpc in the raw XML file: >> >> http://anonscm.debian.org/viewvc/d-i/trunk/manual/en/install-methods/boot-usb-files.xml?view=markup >> >> Comments ? > > You could try to follow the older instructions and it might work: > > https://www.debian.org/releases/etch/powerpc/ch05s01.html.en > > Section 5.1.3 says newworld mac booting from USB. It has to be done > manually from openfirmware though, so it is probably the most complicated > boot method there is. > > It also had a warning that it might not work. Maybe it was removed from > newer release's documentation for a reason. That was precisely my point: why did it got removed ? And if so why is the upstream (raw) XML still referencing the USB boot mechanism for powerpc ? > The instructions from Ubuntu might work too: > https://wiki.ubuntu.com/PowerPCFAQ#How_do_I_boot_from_a_USB_drive.3F Neat it contains some more extra information I was not aware, thanks ! I did follow: https://lists.debian.org/debian-powerpc/2012/08/msg00042.html and it works for me, on a Mac Mini G4 (PPC). Full steps: # wget http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.4.0/powerpc/iso-cd/firmware-8.4.0-powerpc-netinst.iso # wget http://ftp.nl.debian.org/debian/dists/jessie/main/installer-powerpc/current/images/powerpc/hd-media/boot.img.gz # zcat boot.img.gz > /dev/sdb # sync [manually eject + plug USB drive again] # cp firmware-8.4.0-powerpc-netinst.iso /media/mathieu/bootable drive/shortname.iso [reboot + press and hold cmd/option/o/f] > boot usb1/disk@1:2,\\yaboot [some silly warning that partition cannot be read] boot: install done ! The only tricky part was that the name 'firmware-8.4.0-powerpc-netinst.iso' is a bit too long for HFS (AFAIK) and the file extension was *.si instead of *.iso which is an issue for the debian installer (hence the need for a shorter name on the USB disk). I'll make an installation-reports bug report for stretch and ask for the documentation clarification from there. Thanks -M
Re: d-i: 4.3. Preparing Files for USB Memory Stick Booting
On Tue, Apr 19, 2016 at 12:16:27PM +0200, Mathieu Malaterre wrote: > Does anyone knows what happen to section: > > 4.3. Preparing Files for USB Memory Stick Booting > > in the powerpc install guide ? > > I see it alright from here: > > https://www.debian.org/releases/stable/amd64/ch04.html.en Well that's x86_64 so totally different thing. > but not from here: > > https://www.debian.org/releases/stable/powerpc/ch04.html.en > > AFAIK USB booting works from powerpc system (at least some that I tried). > > Also I see reference to powerpc in the raw XML file: > > http://anonscm.debian.org/viewvc/d-i/trunk/manual/en/install-methods/boot-usb-files.xml?view=markup > > Comments ? You could try to follow the older instructions and it might work: https://www.debian.org/releases/etch/powerpc/ch05s01.html.en Section 5.1.3 says newworld mac booting from USB. It has to be done manually from openfirmware though, so it is probably the most complicated boot method there is. It also had a warning that it might not work. Maybe it was removed from newer release's documentation for a reason. The instructions from Ubuntu might work too: https://wiki.ubuntu.com/PowerPCFAQ#How_do_I_boot_from_a_USB_drive.3F -- Len Sorensen
d-i: 4.3. Preparing Files for USB Memory Stick Booting
Does anyone knows what happen to section: 4.3. Preparing Files for USB Memory Stick Booting in the powerpc install guide ? I see it alright from here: https://www.debian.org/releases/stable/amd64/ch04.html.en but not from here: https://www.debian.org/releases/stable/powerpc/ch04.html.en AFAIK USB booting works from powerpc system (at least some that I tried). Also I see reference to powerpc in the raw XML file: http://anonscm.debian.org/viewvc/d-i/trunk/manual/en/install-methods/boot-usb-files.xml?view=markup Comments ?
Debian Testing NO USB
Hello i download the yesterday build of debian testing iso dvd imageand on my quad G5 i didt have the usb working .pratically i cant use my keyboard (G5 Quad Apple keyboard) Same as the mouse was not initialized (no turned on) Thanks Luigi
Re: Debian ppc64 8.1.0 reformats USB Stick
* szukw...@arcor.de [2015-06-19 17:32 +]: > On Fri, 19 Jun 2015 16:17:14 +0200, Elimar Riesebieter wrote: > > >What tells (as root) > > > ># fdisk -l /dev/sdb > > root@g5:~# fdisk -l /dev/sdb > > Disk /dev/sdb: 58,9 GiB, 63216549888 bytes, 123469824 sectors > Units: sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes If that is the complete output it seems that your stick is unformatted. There are no partitions nor a disklabel For example one of mine: Disk /dev/sdb: 29.1 GiB, 31221153792 bytes, 60978816 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x1dcdb45e Device BootStart End Sectors Size Id Type /dev/sdb1 *2048 29362175 29360128 14G b W95 FAT32 /dev/sdb2 29362176 31459327 20971521G b W95 FAT32 /dev/sdb3 31459328 60977151 29517824 14.1G 83 Linux Elimar -- You cannot propel yourself forward by patting yourself on the back. -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150620061128.gc2...@galadriel.home.lxtec.de
Re: Debian ppc64 8.1.0 reformats USB Stick
On Fri, 19 Jun 2015 16:17:14 +0200, Elimar Riesebieter wrote: >What tells (as root) > ># fdisk -l /dev/sdb root@g5:~# fdisk -l /dev/sdb Disk /dev/sdb: 58,9 GiB, 63216549888 bytes, 123469824 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes winfried -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150619173209.1de05fec61b1ceae02271...@arcor.de
Re: Debian ppc64 8.1.0 reformats USB Stick
* szukw...@arcor.de [2015-06-19 16:01 +]: > I had installed ppc64 7.6.0. Now I have installed 8.1.0. > > Some images were stored on a USB stick. This USB stick > I had inserted when I installed 8.1.0. > > Unfortunately this stick now seems to be reformatted: the > type is no longer FAT32. I do not know which type it is: > trying to mount with different types fails. > > The files 'syslog' and 'messages' show: > > sdb: [mac] sdb1 sdb2 sdb3 sdb4 sdb5 What tells (as root) # fdisk -l /dev/sdb ? Elimar -- Alles was viel bedacht wird ist bedenklich!;-) Friedrich Nietzsche -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150619141714.ga2...@galadriel.home.lxtec.de
Debian ppc64 8.1.0 reformats USB Stick
I had installed ppc64 7.6.0. Now I have installed 8.1.0. Some images were stored on a USB stick. This USB stick I had inserted when I installed 8.1.0. Unfortunately this stick now seems to be reformatted: the type is no longer FAT32. I do not know which type it is: trying to mount with different types fails. The files 'syslog' and 'messages' show: sdb: [mac] sdb1 sdb2 sdb3 sdb4 sdb5 Are all images lost? winfried -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150619160157.e5fb4c6bb3424fbd3396f...@arcor.de
Re: qemu-system-ppc64: usb kbd not working
hi Konstantinos, On 03/04/2015 11:14 AM, Konstantinos Margaritis wrote: > Hi all, > > Tried to boot some ppc64 d-i image that I created for testing[1], and > can't get past the language chooser, as usb kbd doesn't seem to be > working on qemu-system-ppc64. The input buffer seems to fill quickly and > I get the message: I just tried it on my Ubuntu hypervisor and things work very well. I was not able to install because it seems that only the cdrom installation is working at the moment, and we don't have the cdrom image so far, right? I also don't see any reference for kbd in the logs. I am running in POWER8 with the following command: # qemu-system-ppc64 --enable-kvm -nographic -nodefaults -monitor stdio -serial pty -M pseries -smp 1 -m 4G --kernel vmlinux --initrd initrd.gz -append "console=hvc0" $ qemu-system-ppc --version QEMU emulator version 2.1.0 (Debian 2.1+dfsg-4ubuntu6.4), Copyright (c) 2003-2008 Fabrice Bellard Thanks for working on it. -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54f74e14.7010...@br.ibm.com
qemu-system-ppc64: usb kbd not working
Hi all, Tried to boot some ppc64 d-i image that I created for testing[1], and can't get past the language chooser, as usb kbd doesn't seem to be working on qemu-system-ppc64. The input buffer seems to fill quickly and I get the message: usb-kbd: warning: key event queue full numerous times, before I kill the process. Anything I tried didn't seem to work, same behaviour even on qemu 2.2 from experimental. Any ideas greatly appreciated. Konstantinos [1]: http://freevec.org/files/installer-ppc64.tar.xz just vmlinux, initrd.gz for now. [2]: The imac g5 that Risto sent me is working fine, but for some reason fans are making a whining noise at all times, I'll probably have to do some case mod, to replace the fans with some quieter ones. -- Konstantinos Margaritis email: mar...@freevec.org, mar...@debian.org blog: http://freevec.org gpg: 3FC3 7391 FECD D3CB 5501 7121 6606 027F 6437 124C signature.asc Description: This is a digitally signed message part
Re: Jessie PowerPC installer doesn't see USB keyboard on PowerPC Mac machines
I downloaded one on Aug 8 from the weekly-builds folder, it looks like daily-builds is out of business. http://cdimage.debian.org/cdimage/weekly-builds/powerpc/iso-cd/ It didn't have that problem, but still had the iso-scan problem I reported earlier. I did get an install after working around that, though. Chris -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5f64bd48-3947-4b75-9efb-931fe8090...@googlegroups.com
Re: Jessie PowerPC installer doesn't see USB keyboard on PowerPC Mac machines
В письме от 7 июня 2014 15:04:14 пользователь Rick Thomas написал: > PS: Jessie on a powerpc64 (Apple MacPro dual G5) crashes randomly upon > attempting to reboot. Anybody else noticing this? This might be the problem I've noticed. I also have random crashes with kernel panic in XOrg. And same on reboot. (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728839*)* Disabling acceleration in xorg helped. PS: There's no yet 3d acceleration since 3.10. glxinfo tells that it can't open nouveau.so -- WBR, Vladimir Berezenko.
Re: Jessie PowerPC installer doesn't see USB keyboard on PowerPC Mac machines
Hmmm... I originally reported this back in November. After a while, it went away for me. Downloading the latest (about January time-frame) "netinst" image worked fine -- both Jessie and Wheezy. I haven't tried it recently, though. Possibly a regression? Rick PS: Jessie on a powerpc64 (Apple MacPro dual G5) crashes randomly upon attempting to reboot. Anybody else noticing this? On Jun 6, 2014, at 10:24 AM, Tiziano CERETTO wrote: > I have the same problem now with weezy powerpc net installer on iMag g4 (the > sunflower) 800Mhz... > Do you or anyone solved it?? > Excesu me for my English i am italian > > Thanks -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/69d810ad-c979-4bae-9946-8c660a861...@pobox.com
Re: Jessie PowerPC installer doesn't see USB keyboard on PowerPC Mac machines
I have the same problem now with weezy powerpc net installer on iMag g4 (the sunflower) 800Mhz... Do you or anyone solved it?? Excesu me for my English i am italian Thanks -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5391f965.9060...@tsc-informatica.it
Re: Debian testing installer does not dectect USB keyboard.
Today's (2013-12-23 17:10) http://cdimage.debian.org/cdimage/daily-builds/sid_d-i/arch-latest/powerpc/iso-cd/debian-testing-powerpc-netinst.iso seems to have this fixed. Risto -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cacyrqa0br9oql45jqr0u5n5d2+6scn1asmxf6pts7huof1u...@mail.gmail.com
Re: Debian testing installer does not dectect USB keyboard.
On Sun, 2013-12-15 at 21:16 +0100, aexlfowley wrote: > This seems closed. > http://anonscm.debian.org/viewvc/kernel?view=revision&revision=20878 > Right, Ben? It's pending. It won't be closed until the new kernel package is uploaded. Ben. -- Ben Hutchings Q. Which is the greater problem in the world today, ignorance or apathy? A. I don't know and I couldn't care less. signature.asc Description: This is a digitally signed message part
Debian testing installer does not dectect USB keyboard.
This seems closed. http://anonscm.debian.org/viewvc/kernel?view=revision&revision=20878 Right, Ben? -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1387138580.28438.3.camel@homepc
Re: Bugs #728936, #730789, #731939 are duplicates: no USB input in debian-installer due to missing ohci-pci
Hi, thank you very much to all. Software development is sophisticated work, but software for specific hardware is very very hard work. Best regards Manfred Am 15.12.2013 18:04, schrieb Andreas Cadhalpun: Hi Manfred, thanks for providing this information. I think your problem was similar to the current ohci_hcd driver split, only for ehci_hcd, as in linux 3.8 the ehci-pci was introdced and linux 3.9.6-1 migrated to testing on 2013-06-21, where before that it was still 3.2. Apparently this has been fixed in the meantime, as the current installer correctly loads ehci-pci. Best regards, Andreas -- COMPARAT Software-Entwicklungs-GmbH Prießstraße 16 23558 Lübeck Telefon: 0451/479 56 60 Geschf: Manfred Rebentisch AG Lübeck, HRB 3559 Web: http://www.comparat.de Die Cards: https://cards.athesios.de Der Cards-Film: http://www.youtube.com/watch?v=siZaciL6mdg Businessplattform: https://www.athesios.de Lübeck: http://www.luebeck-info.com Twitter: http://twitter.com/COMPARAT -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52ae0e5a.3080...@comparat.de
Re: Bugs #728936, #730789, #731939 are duplicates: no USB input in debian-installer due to missing ohci-pci
Hi Manfred, thanks for providing this information. I think your problem was similar to the current ohci_hcd driver split, only for ehci_hcd, as in linux 3.8 the ehci-pci was introdced and linux 3.9.6-1 migrated to testing on 2013-06-21, where before that it was still 3.2. Apparently this has been fixed in the meantime, as the current installer correctly loads ehci-pci. Best regards, Andreas -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52ade120.4000...@googlemail.com
Re: Bugs #728936, #730789, #731939 are duplicates: no USB input in debian-installer due to missing ohci-pci
Hello Andreas, Am 15.12.2013 01:10, schrieb Andreas Cadhalpun:> To clarify this, Manfred, could you please boot the current testing > installer in expert mode and after choosing the language and setting the > keyboard layout, switch to the console and report us the output of the > following command: > # lspci -knn | grep -Ei "usb|hci" > If you still have the installer that failed, please do the same for this > installer. > > Best regards, > Andreas > > I do the test with the actual testing: Debian GNU/Linux testing "Jessie" - Official Snapshot amd64 NETINST * = * Binary-1 20131210-03:47 Origin: Debian Label: Debian Suite: testing Codename: jessie Date: Tue, 10 Dec 2013 02:47:14 UTC Valid-Until: Tue, 17 Dec 2013 02:47:14 UTC Architectures: amd64 Components: main contrib Description: Debian x.y Testing distribution - Not Released Result: 00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05) Kernel driver in use: ehci-pci 00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05) Kernel driver in use: ehci-pci 00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller [8086:1c02] (rev 05) Kernel driver in use: ahci 02:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 03) Kernel driver in use: xhci_hcd * === * Binary-1 20130504-14:43 Origin: Debian Label: Debian Suite: stable Version: 7.0.0 Codename: wheezy Date: Sat, 04 May 2013 12:51:10 UTC Architectures: amd64 Components: main contrib Description: Debian 7.0.0 Released 04 May 2013 Result: 00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05) Kernel driver in use: ehci_hcd 00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05) Kernel driver in use: ehci_hcd 00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller [8086:1c02] (rev 05) Kernel driver in use: ahci 02:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 03) Kernel driver in use: xhci_hcd * === * Binary-1 20130708-05:17 Origin: Debian Label: Debian Suite: testing Codename: jessie Date: Mon, 08 Jul 2013 02:40:44 UTC Valid-Until: Mon, 15 Jul 2013 02:40:44 UTC Architectures: amd64 Components: main contrib Description: Debian x.y Testing distribution - Not Released This last Version Binary-1 20130708-05:17 does not work. I cannot make the test, because the PC ist completely dead after switching to the first dialog with "Choose Language". Hope, this helps. Best regards Manfred -- COMPARAT Software-Entwicklungs-GmbH Prießstraße 16 23558 Lübeck Telefon: 0451/479 56 60 Geschf: Manfred Rebentisch AG Lübeck, HRB 3559 Web: http://www.comparat.de Die Cards: https://cards.athesios.de Der Cards-Film: http://www.youtube.com/watch?v=siZaciL6mdg Businessplattform: https://www.athesios.de Lübeck: http://www.luebeck-info.com Twitter: http://twitter.com/COMPARAT -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52adc601.6030...@comparat.de
Re: Bugs #728936, #730789, #731939 are duplicates: no USB input in debian-installer due to missing ohci-pci
Control: reassign 728936 src:linux Control: reassign 731939 src:linux Control: forcemerge 730789 728936 731939 On Sun, 2013-12-15 at 01:10 +0100, Andreas Cadhalpun wrote: [...] > Ben, I think we both are right, but your observation is more helpful for > solving this bug. According to Wikipedia only Intel and VIA use UHCI and > all the other (including AMD and PowerPC) use OHCI. I thought Intel had switched to OHCI in more recent chipsets, but I must be mistaken. [...] > I don't know, how many OHCI USB ports are currently in use, but I think > that this is not a negligible number, so this bug deserves severity > serious, since installation is impossible with USB keyboard in an OHCI port. Right. > Since I am not sure, which package needs fixing, I do not (yet) merge > the bugs. Is it that the OHCI USB driver is missing in the kernel (in > which case it would be a linux bug), or is it just not included in the > installer (which would make this a bug in debian-installer)? [...] Module selection for the intaller is also largely defined by the linux package. Ben. -- Ben Hutchings Q. Which is the greater problem in the world today, ignorance or apathy? A. I don't know and I couldn't care less. signature.asc Description: This is a digitally signed message part
Bugs #728936, #730789, #731939 are duplicates: no USB input in debian-installer due to missing ohci-pci
Control: tags 728936 d-i Control: tags 730789 d-i Control: severity 728936 serious Control: severity 730789 serious Control: severity 731939 serious Justification: installation not possible with USB keyboard in OHCI port Hi all, On 12.12.2013 19:57, Ben Hutchings wrote: On Thu, Dec 12, 2013 at 06:11:12PM +0100, Andreas Cadhalpun wrote: I noticed one difference between my and Manfred's setup to Jason's: It seems USB input works now on Intel hardware (hadn't worked in the past), but not on AMD hardware (and also not on PowerPC). I seriously doubt that this is the important difference. These bugs are probably duplicates of #730789: the OHCI driver (ohci-pci, previously called ohci-hcd) is missing. I believe that breaks: > > - All devices in USB 1.x ports (except in systems with UHCI) > - Low speed and full speed devices in USB 2.0 ports > > But these should still work: > > - High speed devices in USB 2.0 ports (handled by ehci-pci) > - All devices in USB 3.0 ports (handled by xhci) > > Keyboards and mice are generally low speed or full speed, but a > keyboard with a built-in hub might be high speed. Ben, I think we both are right, but your observation is more helpful for solving this bug. According to Wikipedia only Intel and VIA use UHCI and all the other (including AMD and PowerPC) use OHCI. I tested five different machines (all Intel, as I currently don't have access to other machines) and indeed all have UHCI. The USB keyboard I used is a Logitech DeLuxe 250. I don't know, whether that is low, full or high speed, but it works with all USB ports/drivers I tested, including uhci_hcd, ehci-pci and xhci_hcd, for example: # lspci -knn | grep -Ei "usb|hci" 00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 01) Kernel driver in use: uhci_hcd 00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 01) Kernel driver in use: uhci_hcd 00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 01) Kernel driver in use: uhci_hcd 00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 01) Kernel driver in use: uhci_hcd 00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 01) Kernel driver in use: ehci-pci 03:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller [1912:0014] (rev 03) Kernel driver in use: xhci_hcd 05:01.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev 46) Subsystem: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] Kernel driver in use: firewire_ohci (The OHCI here is a firewire driver (not USB) so this is not related.) I don't know, how many OHCI USB ports are currently in use, but I think that this is not a negligible number, so this bug deserves severity serious, since installation is impossible with USB keyboard in an OHCI port. Since I am not sure, which package needs fixing, I do not (yet) merge the bugs. Is it that the OHCI USB driver is missing in the kernel (in which case it would be a linux bug), or is it just not included in the installer (which would make this a bug in debian-installer)? One thing that I do not understand: What happened on Manfred's machine? He has an Intel PC, so there should be no OHCI around, but still the USB keyboard did not work in the past, although it works fine now. (see bug #715408) To clarify this, Manfred, could you please boot the current testing installer in expert mode and after choosing the language and setting the keyboard layout, switch to the console and report us the output of the following command: # lspci -knn | grep -Ei "usb|hci" If you still have the installer that failed, please do the same for this installer. Best regards, Andreas -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52acf361.3060...@googlemail.com
Re: Bug#715408: possibly duplicate: Bug#728936: Debian testing installer does not dectect USB keyboard
On Dec 9, 2013, at 1:36 PM, Andreas Cadhalpun wrote: > Hi Rick, > > On 09.12.2013 22:19, Rick Thomas wrote: >> As noted in bugreport 728936, I tried this with a recent amd64 netinst daily. >> It works fine. The problem only appears on PowerPC hardware. > I also have the impression that the amd64 installer works with USB keyboards, > which I find great, since e.g. the original reporter of Bug #728936 reported > a problem with the amd64 installer. > > So something seems to have fixed that and perhaps a similar change could fix > it for PowerPC as well. That's what I'm hoping! Unfortunately, I'm "just a user". Building kernels and install CDs to test is a skill I haven't acquired yet. Is there someone on the d-boot list or d-powerpc list who has those skills and is willing to help? I can test both amd64 and powerMac, and there are folks with an interest in this who can test it on YDL PowerPC hardware as well. I have heard from at least one person with IBM Power hardware who says it works OK for them. That may be because the keyboard is not USB (I don't know, I'm just guessing! I don't have IBM hardware myself…) As it stands, Wheezy is not installable in the normal way on Mac or YDL hardware, unless it has an ADB keyboard. Maybe it would be appropriate to increase the severity of this bug? Please and Thank you! Rick -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/0f6ec73b-d092-4907-ab15-618fab4cb...@pobox.com
Jessie PowerPC installer doesn't see USB keyboard on PowerPC Mac machines
Hi, all! I just downloaded the powerpc netinst installer from /cdimage/daily-builds/daily/arch-latest/powerpc/iso-cd debian-testing-powerpc-netinst.iso 2013-11-24 23:02 257M I checked the md5 and sha1 sums, and burned it to CD. All went well. But when I booted it (on two different G4 machines and a G5) when it got to the "chose language" screen, there was no response to the keyboard or the mouse. Anybody know what's up with that? Thanks! Rick -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5292b8e0.3030...@pobox.com
Re: How to make a custom installer CD/DVD/BD/USB-stick?
[ Just seen this thread, apologies for delayed responses ] On Fri, Jul 05, 2013 at 11:40:54PM -0700, Rick Thomas wrote: > >On Jul 5, 2013, at 1:25 PM, Brian wrote: > >>Well wouldn't documentation for Jigdo template be in Jigdo package? > >The jigdo template is a lot lower level than I was hoping for. It's >kinda like the object code, where I'm looking for the high-level >language source code and a compiler to produce the object code from >it. Correct. >It's theoretically possible to edit the jigdo template, and all the >binary parts it contains, just as it's theoretically possible to edit >the java byte-code for a subroutine that almost does what you want -- >but it's much more convenient (and comprehensible) to edit the java >source code. What I'm hoping for is that there's something like a >compiler that takes a human understandable specification, in the form >of list of packages and other configurable components of an installer >CD/DVD/BD/etc, and outputs a jigdo template (or such) that implements >that specification. > >I'm hoping that's exactly what simple-cdd is. simple-cdd is meant to do that kind of thing AFAIK, yes. Alternatively, debian-cd is the core package that we use for creating the main Debian images. It's very flexible and (sorry!) not particularly well documented... -- Steve McIntyre, Cambridge, UK.st...@einval.com "...In the UNIX world, people tend to interpret `non-technical user' as meaning someone who's only ever written one device driver." -- Daniel Pead -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130917231048.gt14...@einval.com
Re: How to make a custom installer CD/DVD/BD/USB-stick?
Well maybe if you are lucky the package will allow you to edit an existing template. It should! On Jul 5, 2013, at 11:40 PM, Rick Thomas wrote: >> On Jul 4, 2013, at 7:13 PM, Rick Thomas wrote: >> >>>> On Jul 3, 2013, at 1:06 PM, Rick Thomas wrote: >>>> >>>>> >>>>> Can somebody point me at some docs or packages I could use to create a >>>>> customized CD/DVD/BD image for installing Debian PowerPC? >>>>> >>>>> I'd like to create a 32GB (or larger?) USB memory stick that can be used >>>>> to do a complete installation of PowerPC Debian (Wheezy right now, but >>>>> into the future... who knows?) without access to the Internet at install >>>>> time. E.g. behind a *very* restrictive firewall or a very slow ISP >>>>> connection. >>>>> >>>>> I know that jigdo templates are provided for BD images that will do the >>>>> job, but only for AMD64, not for PowerPC, hence the need to roll my own. >>>>> >>>>> And besides, I think it might be fun to learn more about the process. >>>>> >>>>> Maybe my google foo is at a low ebb today: I did my duty as a >>>>> question-asker -- searching the web for answers before I ask the list -- >>>>> but came up dry. In any case, a pointer in the right direction would be >>>>> much appreciated! >>> >>> On Jul 4, 2013, at 1:39 PM, Brian wrote: >>> >>>> How about editing the amd64 template? >>> >>> That might work if I knew where the template was, and how to use it. >>> >>> I've installed simple-cdd and started to read the documentation. Is the >>> configuration file mentioned there the same as the template you are talking >>> about? >>> >>> Or is there a different package that I should be looking at... > > > On Jul 5, 2013, at 1:25 PM, Brian wrote: > >> Well wouldn't documentation for Jigdo template be in Jigdo package? > > The jigdo template is a lot lower level than I was hoping for. It's kinda > like the object code, where I'm looking for the high-level language source > code and a compiler to produce the object code from it. > > It's theoretically possible to edit the jigdo template, and all the binary > parts it contains, just as it's theoretically possible to edit the java > byte-code for a subroutine that almost does what you want -- but it's much > more convenient (and comprehensible) to edit the java source code. What I'm > hoping for is that there's something like a compiler that takes a human > understandable specification, in the form of list of packages and other > configurable components of an installer CD/DVD/BD/etc, and outputs a jigdo > template (or such) that implements that specification. > > I'm hoping that's exactly what simple-cdd is. > > Enjoy! > > Rick > > > > -- > To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > http://lists.debian.org/836fb2bb-4d9a-465d-ad9e-a3531b182...@pobox.com > -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/294f79d9-949b-472e-9631-4fbf4c25b...@gmail.com
Re: How to make a custom installer CD/DVD/BD/USB-stick?
On Jul 4, 2013, at 7:13 PM, Rick Thomas wrote: On Jul 3, 2013, at 1:06 PM, Rick Thomas wrote: Can somebody point me at some docs or packages I could use to create a customized CD/DVD/BD image for installing Debian PowerPC? I'd like to create a 32GB (or larger?) USB memory stick that can be used to do a complete installation of PowerPC Debian (Wheezy right now, but into the future... who knows?) without access to the Internet at install time. E.g. behind a *very* restrictive firewall or a very slow ISP connection. I know that jigdo templates are provided for BD images that will do the job, but only for AMD64, not for PowerPC, hence the need to roll my own. And besides, I think it might be fun to learn more about the process. Maybe my google foo is at a low ebb today: I did my duty as a question-asker -- searching the web for answers before I ask the list -- but came up dry. In any case, a pointer in the right direction would be much appreciated! On Jul 4, 2013, at 1:39 PM, Brian wrote: How about editing the amd64 template? That might work if I knew where the template was, and how to use it. I've installed simple-cdd and started to read the documentation. Is the configuration file mentioned there the same as the template you are talking about? Or is there a different package that I should be looking at... On Jul 5, 2013, at 1:25 PM, Brian wrote: Well wouldn't documentation for Jigdo template be in Jigdo package? The jigdo template is a lot lower level than I was hoping for. It's kinda like the object code, where I'm looking for the high-level language source code and a compiler to produce the object code from it. It's theoretically possible to edit the jigdo template, and all the binary parts it contains, just as it's theoretically possible to edit the java byte-code for a subroutine that almost does what you want -- but it's much more convenient (and comprehensible) to edit the java source code. What I'm hoping for is that there's something like a compiler that takes a human understandable specification, in the form of list of packages and other configurable components of an installer CD/DVD/BD/etc, and outputs a jigdo template (or such) that implements that specification. I'm hoping that's exactly what simple-cdd is. Enjoy! Rick -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/836fb2bb-4d9a-465d-ad9e-a3531b182...@pobox.com
Re: How to make a custom installer CD/DVD/BD/USB-stick?
Well wouldn't documentation for Jigdo template be in Jigdo package? On Jul 4, 2013, at 7:13 PM, Rick Thomas wrote: >> On Jul 3, 2013, at 1:06 PM, Rick Thomas wrote: >> >>> >>> Can somebody point me at some docs or packages I could use to create a >>> customized CD/DVD/BD image for installing Debian PowerPC? >>> >>> I'd like to create a 32GB (or larger?) USB memory stick that can be used to >>> do a complete installation of PowerPC Debian (Wheezy right now, but into >>> the future... who knows?) without access to the Internet at install time. >>> E.g. behind a *very* restrictive firewall or a very slow ISP connection. >>> >>> I know that jigdo templates are provided for BD images that will do the >>> job, but only for AMD64, not for PowerPC, hence the need to roll my own. >>> >>> And besides, I think it might be fun to learn more about the process. >>> >>> Maybe my google foo is at a low ebb today: I did my duty as a >>> question-asker -- searching the web for answers before I ask the list -- >>> but came up dry. In any case, a pointer in the right direction would be >>> much appreciated! > > On Jul 4, 2013, at 1:39 PM, Brian wrote: > >> How about editing the amd64 template? > > That might work if I knew where the template was, and how to use it. > > I've installed simple-cdd and started to read the documentation. Is the > configuration file mentioned there the same as the template you are talking > about? > > Or is there a different package that I should be looking at... > > Thanks! > > Rick -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4eceb8c9-4bca-4393-8b15-a4317c978...@gmail.com
Re: How to make a custom installer CD/DVD/BD/USB-stick?
On Jul 3, 2013, at 1:06 PM, Rick Thomas wrote: Can somebody point me at some docs or packages I could use to create a customized CD/DVD/BD image for installing Debian PowerPC? I'd like to create a 32GB (or larger?) USB memory stick that can be used to do a complete installation of PowerPC Debian (Wheezy right now, but into the future... who knows?) without access to the Internet at install time. E.g. behind a *very* restrictive firewall or a very slow ISP connection. I know that jigdo templates are provided for BD images that will do the job, but only for AMD64, not for PowerPC, hence the need to roll my own. And besides, I think it might be fun to learn more about the process. Maybe my google foo is at a low ebb today: I did my duty as a question-asker -- searching the web for answers before I ask the list -- but came up dry. In any case, a pointer in the right direction would be much appreciated! On Jul 4, 2013, at 1:39 PM, Brian wrote: How about editing the amd64 template? That might work if I knew where the template was, and how to use it. I've installed simple-cdd and started to read the documentation. Is the configuration file mentioned there the same as the template you are talking about? Or is there a different package that I should be looking at... Thanks! Rick -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/6bddbcec-37e4-45b2-8631-80e20ff3c...@pobox.com
Re: How to make a custom installer CD/DVD/BD/USB-stick?
How about editing the amd64 template? On Jul 3, 2013, at 1:06 PM, Rick Thomas wrote: > > Can somebody point me at some docs or packages I could use to create a > customized CD/DVD/BD image for installing Debian PowerPC? > > I'd like to create a 32GB (or larger?) USB memory stick that can be used to > do a complete installation of PowerPC Debian (Wheezy right now, but into the > future... who knows?) without access to the Internet at install time. E.g. > behind a *very* restrictive firewall or a very slow ISP connection. > > I know that jigdo templates are provided for BD images that will do the job, > but only for AMD64, not for PowerPC, hence the need to roll my own. > > And besides, I think it might be fun to learn more about the process. > > Maybe my google foo is at a low ebb today: I did my duty as a question-asker > -- searching the web for answers before I ask the list -- but came up dry. > In any case, a pointer in the right direction would be much appreciated! > > Thanks in advance! > > Rick > > > > -- > To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > http://lists.debian.org/c922f6d5-ad3e-4c9b-89b7-0c147d920...@pobox.com > -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ffe1f156-c49e-4bc2-98eb-dd2776203...@gmail.com
How to make a custom installer CD/DVD/BD/USB-stick?
Can somebody point me at some docs or packages I could use to create a customized CD/DVD/BD image for installing Debian PowerPC? I'd like to create a 32GB (or larger?) USB memory stick that can be used to do a complete installation of PowerPC Debian (Wheezy right now, but into the future... who knows?) without access to the Internet at install time. E.g. behind a *very* restrictive firewall or a very slow ISP connection. I know that jigdo templates are provided for BD images that will do the job, but only for AMD64, not for PowerPC, hence the need to roll my own. And besides, I think it might be fun to learn more about the process. Maybe my google foo is at a low ebb today: I did my duty as a question-asker -- searching the web for answers before I ask the list -- but came up dry. In any case, a pointer in the right direction would be much appreciated! Thanks in advance! Rick -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/c922f6d5-ad3e-4c9b-89b7-0c147d920...@pobox.com
Detailed notes: How to boot and install Debian from a USB stick on a PowerPC Mac
Here are my notes from recently installing Wheezy on a couple of G4 Power-Mac machines, including a G4 "mini". Comments are welcome! Rick - Your details may vary, such as the device name assigned to your USB-stick by the OS and the name of the iso file... Download the PowerPC installer ".iso" file in the normal way from http://cdimage.debian.org/cdimage/ You can use a browser, wget, jigdo, bittorrent, or whatever suits your fancy. I have used the "businesscard", "netinst", "CD-1", and "DVD-1" isos successfully. Copy the iso to the USB stick: dd if=debian-testing-powerpc-netinst.iso of=/dev/sdd bs=1M; sync Be careful! If you get this wrong, you can over-write your hard disk and lose data. One way of checking is: ls -l /dev/disk/by-id/ You may see (among lots of other stuff) a line like this: usb-Generic_Flash_Disk_1514C017-0:0 -> ../../sdd If you have multiple USB sticks plugged in, you will probably have several of these lines. You can cross your fingers and guess, or you can use a heuristic such as: Get the listing before and after plugging in the stick; then compare the two listings; anything new belongs to the new stick. Now, plug the USB stick into a port on the Mac you plan to install. It's best to use one of the built-in ports, rather than going through an external hub. The Open Firmware ("OF") magic to make it boot from the stick is easier that way. Boot the Mac while simultaneously holding down the , , O, and F keys (It's not easy! Yes, it takes both hands to do this. It helps to have a friend push the power button on the Mac while you have both hands tied up with the keyboard.) When you get to the OF welcome message you can do as it says, and release the keys. At the OF prompt, type dev / ls You will get a tree structured list of devices that Open Firmware is prepared to deal with. Somewhere in that list will be something like this: /pci@f200 /usb@18 /disk@1 There will be other stuff interspersed between the three lines you see, but the indentation tree-structure will be like that shown above. The addresses (numbers) after the @ will vary from machine to machine. Just note what's there on your machine because you'll need it in a minute. What this is saying is that the machine has a "disk-like" device connected to a USB port that is in turn connected to a PCI slot on the motherboard. Even if your machine is a Mac-mini or a laptop with no actual PCI card slots, there is a PCI interface chip somewhere on the motherboard that looks (to the CPU) like a PCI card slot. Now, at the OF prompt, type: devalias You'll get a long list of device locations and short names (aliases) for them. Somewhere in that list will be something like this: usb0 /pci@f200/usb@18 What that says is that you can use "usb0" as the alias for the USB port you have your stick inserted in. It may be "usb1" rather than "usb0" and if your Mac has lots of USB ports, you may see others as well. Pick the alias that matches the tree structure you found above. Once again, the addresses (numbers) for your machine will probably be different. Finally, at the OF prompt type: boot usb0/disk@1:2,\\yaboot What that tells OF to do is this: Go to the second partition on the USB disk (the ":2") and search for a file called "yaboot". Load that file and pass control to it. And one last time -- this is just an example. You should tailor what you type based on what you saw in the previous steps; the addresses (numbers) for your machine may well be different from the above. After a few seconds, you will see the familiar welcome message from the installer. "Welcome to Debian GNU/Linux...!" You may also see a message: "WARNING: Bootstrap partition type is wrong: "Apple_HFS" type should be: "Apple_Bootstrap" You can ignore this message. I'll be submitting a bug report, but as far as I can tell, it does no harm. Choose the appropriate installer for your Mac. Install and enjoy! Appendix: Problems I have encountered in the past that may have gone away in recent releases: 1) Sometimes when the installer searches for the installation CD, for some reason it gets it wrong. For example, when I was installing the Wheezy Beta-1 DVD-1, the installer decided to mount /dev/sdd1 (the Apple partition map) on /cdrom. When it did that, it got read errors trying to copy the .deb files off the "disk". I had to go to the -F2 virtual console to unmount it and mount it properly without the partition number: umount /cdrom mount /dev/sdd /cdrom 2) If you have a PCI card installed on your machine to give you extra USB ports, or you decided to use a USB port on a hu
Re: Installing from an usb stick (liveusb) on iMac G4
Hello, Risto Suominen writes: [snip (23 lines)] > Sounds reasonable, or at least possible. I've been doing something > similar. If I remember correctly... Ok. > I defined 'devalias usb /pci@f200/usb@19/disk@1' and then booted > with 'boot usb:,\\:tbxi'. The idea was probably to be able to use the > same stick on several machines, as the OF path for the USB stick > varies. In any case, ofboot.b has to be patched to contain 'boot > usb:2,\install\yaboot'. Or, you could boot yaboot directly with this > command. Hm yes, actually I haven't thought patching ofboot.b but it's a good idea. I will try to play with that. Well yes if it fails, finding the right OF path isn't a big issue. > My iMac G4/800 has USB 1.1, which makes the boot process quite slow. Yes me too and it's not a problem. Thank you very much for your answer. I'll give some report on the ml after my (I hope) sucessfull installation. Regards, -- ~ #ID: e20100633 #TTY: 9-8M 4554 ~ TYPE 1707-A3 S/N L3-M2812 SLACKWARE 13.0 RLU #527034 ,--- They say that Nethack bugs are Seldon planned `---{,_,"> http://porneia.free.fr/ -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87hayltdks@shyla.porneia.net
Re: Installing from an usb stick (liveusb) on iMac G4
2012/2/20, e20100633 : > Hello, > > I'm planning to install Debian on my iMac PowerPC G4. I already > installed it years ago on an iBook G4 so I know the process. But my > question is about booting and installing it from an usb stick instead of > a cd-rom or tftp. > > I didn't found anything about booting from an usb stick in the > documentation, but around the web I found that it might be possible > through alt-cmd-o-f. > > So my plan is : > > * make a "liveusb" of debian-powerpc netinstall with unetbootin > * reboot and alt-cmd-o-f > * find the usb stick and try to boot it according to what I found > (dev / ls ; devalias ; boot usb1/disk@1:2,\\:tbxi for example) > * getting this way the boot: prompt > * install as usual > > Has anyone already tried that? Is that a good way according to you? > Sounds reasonable, or at least possible. I've been doing something similar. If I remember correctly... I defined 'devalias usb /pci@f200/usb@19/disk@1' and then booted with 'boot usb:,\\:tbxi'. The idea was probably to be able to use the same stick on several machines, as the OF path for the USB stick varies. In any case, ofboot.b has to be patched to contain 'boot usb:2,\install\yaboot'. Or, you could boot yaboot directly with this command. My iMac G4/800 has USB 1.1, which makes the boot process quite slow. Risto -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cacyrqa1n180hwup+s6eszf6g5-aygc+klrgppt3hyvfbvvg...@mail.gmail.com
Installing from an usb stick (liveusb) on iMac G4
Hello, I'm planning to install Debian on my iMac PowerPC G4. I already installed it years ago on an iBook G4 so I know the process. But my question is about booting and installing it from an usb stick instead of a cd-rom or tftp. I didn't found anything about booting from an usb stick in the documentation, but around the web I found that it might be possible through alt-cmd-o-f. So my plan is : * make a "liveusb" of debian-powerpc netinstall with unetbootin * reboot and alt-cmd-o-f * find the usb stick and try to boot it according to what I found (dev / ls ; devalias ; boot usb1/disk@1:2,\\:tbxi for example) * getting this way the boot: prompt * install as usual Has anyone already tried that? Is that a good way according to you? Regards, -- ~ #ID: e20100633 #TTY: 9-8M 4554 ~ TYPE 1707-A3 S/N L3-M2812 SLACKWARE 13.0 RLU #527034 ,--- They say that Nethack bugs are Seldon planned `---{,_,"> http://porneia.free.fr/ -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87obsty4r4@shyla.porneia.net