Re: Installing Debian for PowerPC in Qemu

2023-01-23 Thread John Paul Adrian Glaubitz


> On Jan 23, 2023, at 6:16 PM, David VANTYGHEM  
> wrote:
> 
> I tried almost all ISO, none is working (installation is OK but not first 
> boot).
> 
I am pretty sure the March version works.

If it doesn’t, I need a log file.

Adrian

Re: Installing Debian for PowerPC in Qemu

2023-01-23 Thread Dan Whitehouse
The powerpc snapshot from here: 
https://cdimage.debian.org/cdimage/ports/snapshots/2022-03-28/

works for me in qemu. Try that one if you haven’t already. If you have tried 
that then maybe its some other setting.




Re: Installing Debian for PowerPC in Qemu

2023-01-23 Thread David VANTYGHEM

Hello Adrian,

I tried almost all ISO, none is working (installation is OK but not 
first boot).


I will try nexts.


Le 23/01/2023 à 10:34, John Paul Adrian Glaubitz a écrit :

Hello David!

On 1/23/23 01:06, David VANTYGHEM wrote:
Today, I installed the last version 
https://cdimage.debian.org/cdimage/ports/snapshots/2022-12-09/debian-11.0.0-powerpc-NETINST-1.iso 
in a virtual machine with AQEMU. I choosed LXDE.


The installation is working completely now. But the first boot 
doesn't work :


I followed all these steps: 
https://infolib.re/Installer_Linux_sur_un_ordinateur_Apple_Macintosh_equipe_d_un_microprocesseur_PowerPC?


During the partitionning, no HFS partition is created but an ext2 
partition instead.


Please just use an older, known-to-work installation issue.

Due to the complexity of the bootloader setup on PowerMacs, the 
creation of the images
still need some manual intervention and therefore not all images are 
guaranteed to work.


Adrian


--
Passez à Linux :https://infolib.re

.--.
   |o_o |
   ||_/ |
  //\\Envoyé depuis mon Linux
 (|  |)
/ \_   _/ \
\___)=(___/


Re: Installing Debian for PowerPC in Qemu

2023-01-23 Thread David VANTYGHEM

I used this command:




qemu-system-ppc \

-monitor stdio \

-k fr \

-machine accel=tcg \

-m 512 \

-drive 
file="/home/david/Documents/Informatique/Documentation/Macintosh/debian-11.0.0-powerpc-NETINST-1.iso",if=ide,media=disk 
\


-drive 
file="/home/david/Documents/Informatique/Documentation/Macintosh/Debian 
+ LXDE sur iMac G3.vmdk",if=ide,media=disk \


-boot once=c,menu=on \

-net nic,macaddr=00:e0:4c:2c:09:45,model=rtl8139 \

-net user \

-rtc base=localtime \

-name "Debian + LXDE sur iMac G3" \

-M g3beige

Le 23/01/2023 à 09:35, Dan Whitehouse a écrit :

What command did you use to attempt the install?

I used something like this:

#!/bin/bash

qemu-system-ppc \
   -L pc-bios \
   -boot d \
   -M mac99 \
   -m 2048 \
   -prom-env 'auto-boot?=true' \
   -prom-env 'boot-args=-v' \
   -prom-env 'vga-ndrv?=true' \
   -drive 
file=/var/lib/libvirt/images/debian-11.0.0-powerpc-NETINST-1.iso,format=raw,media=cdrom
 \
   -drive 
file=/var/lib/libvirt/images/debian_32bit.qcow2,format=qcow2,media=disk \
   -netdev user,id=mynet0,net=192.168.76.0/24,dhcpstart=192.168.76.10 \
   -device sungem,netdev=mynet0 \
   -monitor stdio

I haven’t tried your specific snapshot but the above got me a working install 
on Qemu. It’s extremely slow though and I have no luck getting KVM to work.
My installer is:

Debian GNU/Linux 11.0.0 "Sid" - Unofficial powerpc NETINST with
firmware 20220323-11:37

Thanks,

Dan



--
Passez à Linux :https://infolib.re

.--.
   |o_o |
   ||_/ |
  //\\Envoyé depuis mon Linux
 (|  |)
/ \_   _/ \
\___)=(___/


Re: Installing Debian for PowerPC in Qemu

2023-01-23 Thread John Paul Adrian Glaubitz

Hello David!

On 1/23/23 01:06, David VANTYGHEM wrote:

Today, I installed the last version 
https://cdimage.debian.org/cdimage/ports/snapshots/2022-12-09/debian-11.0.0-powerpc-NETINST-1.iso
 in a virtual machine with AQEMU. I choosed LXDE.

The installation is working completely now. But the first boot doesn't work :

I followed all these steps: 
https://infolib.re/Installer_Linux_sur_un_ordinateur_Apple_Macintosh_equipe_d_un_microprocesseur_PowerPC?

During the partitionning, no HFS partition is created but an ext2 partition 
instead.


Please just use an older, known-to-work installation issue.

Due to the complexity of the bootloader setup on PowerMacs, the creation of the 
images
still need some manual intervention and therefore not all images are guaranteed 
to work.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Installing Debian for PowerPC in Qemu

2023-01-23 Thread Dan Whitehouse
What command did you use to attempt the install?

I used something like this:

#!/bin/bash

qemu-system-ppc \
  -L pc-bios \
  -boot d \
  -M mac99 \
  -m 2048 \
  -prom-env 'auto-boot?=true' \
  -prom-env 'boot-args=-v' \
  -prom-env 'vga-ndrv?=true' \
  -drive 
file=/var/lib/libvirt/images/debian-11.0.0-powerpc-NETINST-1.iso,format=raw,media=cdrom
 \
  -drive 
file=/var/lib/libvirt/images/debian_32bit.qcow2,format=qcow2,media=disk \
  -netdev user,id=mynet0,net=192.168.76.0/24,dhcpstart=192.168.76.10 \
  -device sungem,netdev=mynet0 \
  -monitor stdio

I haven’t tried your specific snapshot but the above got me a working install 
on Qemu. It’s extremely slow though and I have no luck getting KVM to work.
My installer is:

Debian GNU/Linux 11.0.0 "Sid" - Unofficial powerpc NETINST with
   firmware 20220323-11:37

Thanks,

Dan