Linux installation fails because of NVRAM

About QEMU, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
InfoLibre
Space Cadet
Posts: 8
Joined: Wed Jul 15, 2020 12:39 pm

Linux installation fails because of NVRAM

Post by InfoLibre »

Hello,
I'm installing the last version of Debian for PowerPC (https://cdimage.debian.org/cdimage/ports/snapshots/) in a virtual machine, created with AQEMU :

Code: Select all

/usr/bin/qemu-system-ppc \
    -monitor stdio \
    -k fr \
    -machine accel=tcg \
    -m 512 \
    -drive file="/home/david/Documents/debian-10.0.0-powerpc-NETINST-1.iso",if=ide,media=cdrom \
    -drive file="/home/david/Documents/Debian + LXDE sur iMac G3.vmdk",if=ide,media=disk \
    -boot once=d,menu=off \
    -net nic,macaddr=00:e0:4c:2c:09:45,model=rtl8139 \
    -net user \
    -net user,smb=/home/david/Bureau \
    -rtc base=localtime \
    -name "Debian + LXDE sur iMac G3" \
    -M mac99
The installation works fine, excepted at the end, I've got this error :
Image

This is an error with setting the contents of NVRAM. My emulated machine does not provide an accurate emulation of the NVRAM present in PowerMacs which is why the command fails.
Is there a solution ?
User avatar
adespoton
Forum All-Star
Posts: 3348
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Linux installation fails because of NVRAM

Post by adespoton »

You'll have to provide a lot more information... AQEMU is just a front end GUI. What version of QEMU are you running with it?

Also, QEMU doesn't properly emulate the NVRAM; there's an error that comes up when booting OS X too. As long as you populate OpenBIOS correctly, it shouldn't matter; but you'll probably need to populate some variables in OpenBIOS so Debian can find them and boot appropriately.

On here, we mostly focus on running Mac OSes... but on the QEMU website is the command line that boots Buster:

https://wiki.qemu.org/Documentation/Pla ... 8Buster.29
InfoLibre
Space Cadet
Posts: 8
Joined: Wed Jul 15, 2020 12:39 pm

Re: Linux installation fails because of NVRAM

Post by InfoLibre »

$ qemu-system-ppc --version
QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.15)
User avatar
adespoton
Forum All-Star
Posts: 3348
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Linux installation fails because of NVRAM

Post by adespoton »

Follow what Cat_7 said in the other thread... compile a newer QEMU and try the arguments he suggested in viewtopic.php?p=67080#p67080
Post Reply