[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GRUB doesn't install



On 7/20/20 3:21 PM, David VANTYGHEM wrote:
> Le 20/07/2020 à 15:18, John Paul Adrian Glaubitz a écrit :
>> On 7/20/20 12:57 PM, David VANTYGHEM wrote:
>>> and at the end of the installation, GRUB doesn't install :
>>> http://dl.free.fr/jG1llNJtk
>> I don't speak French, so a French error message won't help much.
>>
>> Also, I need the contents of /var/log/syslog, as this message basically
>> just says that the GRUB installation failed.
>>
>> I also need to know which image was used and what the machine configuration
>> was.
>>
>> Adrian
>>
> The image is this :
> https://cdimage.debian.org/cdimage/ports/2020-05-30/debian-10.0.0-powerpc-NETINST-1.iso
> 
> And I'm using this BIOS :
> https://www.ilande.co.uk/tmp/qemu/openbios-ppc-grubfix
> 
> The machine configuration is :
> 
> /usr/bin/qemu-system-ppc \
> 
> -monitor stdio \
> 
> -M mac99 \
> 
> -k fr \
> 
> -machine accel=tcg \
> 
> -m 512 \
> 
> -cdrom /home/david/Bureau/debian-10.0.0-powerpc-NETINST-1.iso \
> 
> -hda /home/david/Documents/Informatique et téléphone/Documentation
> informatique/Macintosh/Debian_10_LXDE \
> 
> -virtfs
> local,id=shared_folder_dev_0,path=/home/david/Bureau,security_model=none,mount_tag=shared0
> \
> 
> -boot once=c,menu=on \
> 
> -net nic,macaddr=00:a2:6d:80:10:8f,model=rtl8139 \
> 
> -net user \
> 
> -net user,smb=/home/david/Bureau \
> 
> -rtc base=localtime \
> 
> -name "Debian + LXDE sur iMac G3" \
> 
> -bios /home/david/Bureau/openbios-ppc-grubfix
> 
> For /var/log/syslog, I don't know how to catch it. I can't boot the
> virtual machine as GRUB did not install. I tried to mount the qcow2
> image with libqcow-utils but it did not work. I will make a new
> installation (3-4 hours) if I find how to catch the log.
> 

I did give a try at your above ( strange ) stuff and not much works
for me at all. I don't know quite why but I don't see a reason to keep
poking it with a stick either.  The installer works great for ppc64
across a number of configs and also on real hardware. Sorry.

I did try a number of silly things however.

ppc64@styx:~$
ppc64@styx:~$ ls
ppc64le.qcow2  ppc64le.sh  ppc64.qcow2  readme  resources
ppc64@styx:~$ ls resources/
debian-10.0.0-powerpc-NETINST-1.iso  openbios-ppc-grubfix
debian-10.0.0-ppc64-NETINST-1.iso
ppc64@styx:~$
ppc64@styx:~$ ls /usr/local/bin/*ppc*
/usr/local/bin/qemu-ppc         /usr/local/bin/qemu-ppc64le
/usr/local/bin/qemu-ppc64       /usr/local/bin/qemu-system-ppc
/usr/local/bin/qemu-ppc64abi32  /usr/local/bin/qemu-system-ppc64
ppc64@styx:~$
ppc64@styx:~$
ppc64@styx:~$
ppc64@styx:~$ uname -a
Linux styx 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07)
x86_64 GNU/Linux
ppc64@styx:~$ /usr/local/bin/qemu-system-ppc --version
QEMU emulator version 5.0.90 (v5.1.0-rc0-66-g1e6c50ad85-dirty)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
ppc64@styx:~$
ppc64@styx:~$ /usr/local/bin/qemu-system-ppc \
> -monitor stdio -M mac99 -k fr -machine accel=tcg \
> -m 512 \
> -cdrom ./resources/debian-10.0.0-powerpc-NETINST-1.iso \
> -hda ppc64.qcow2 \
> -virtfs
local,id=shared_folder_dev_0,path=/home/ppc64,security_model=none,mount_tag=shared0
\
> -boot once=c,menu=on \
> -net nic,macaddr=00:a2:6d:80:10:8f,model=rtl8139 \
> -net user -net user,smb=/home/ppc64 \
> -rtc base=localtime -name "Debian + LXDE sur iMac G3" \
> -bios /home/ppc64/resources/openbios-ppc-grubfix
qemu-system-ppc: Could not find '/usr/sbin/smbd', please install it
ppc64@styx:~$

ppc64@styx:~$
ppc64@styx:~$ /usr/local/bin/qemu-system-ppc \
> -M mac99 -machine accel=tcg \
> -cdrom ./resources/debian-10.0.0-powerpc-NETINST-1.iso \
> -hda ppc64.qcow2 -boot once=c,menu=on \
> -bios /home/ppc64/resources/openbios-ppc-grubfix \
> -name "Debian + LXDE sur iMac G3" \
> -serial stdio -display none -vga none

>> =============================================================
>> OpenBIOS 1.1 [Jul 18 2020 08:00]
>> Configuration device id QEMU version 1 machine id 1
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,G4
milliseconds isn't unique.
Output device screen not found.
Output device screen not found.
Trying hd:,\\:tbxi...
Trying hd:,\ppc\bootinfo.txt...
Trying hd:,%BOOT...
No valid state has been set by load or init-program

0 >

ppc64@styx:~$
ppc64@styx:~$ /usr/local/bin/qemu-system-ppc \
> -M mac99 -hda ppc64.qcow2 \
> -cdrom ./resources/debian-10.0.0-powerpc-NETINST-1.iso \
> -boot menu=on -serial stdio -display none -vga none

>> =============================================================
>> OpenBIOS 1.1 [Jul 7 2020 17:30]
>> Configuration device id QEMU version 1 machine id 1
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,G4
milliseconds isn't unique.
Output device screen not found.
Output device screen not found.
Trying hd:,\\:tbxi...
Trying hd:,\ppc\bootinfo.txt...
Trying hd:,%BOOT...
No valid state has been set by load or init-program

0 > qemu-system-ppc: terminating on signal 2
ppc64@styx:~$

ppc64@styx:~$ /usr/local/bin/qemu-system-ppc \
> -M mac99 -hda ppc64.qcow2 -boot d \
> -cdrom ./resources/debian-10.0.0-powerpc-NETINST-1.iso \
> -boot menu=on -serial stdio -display none -vga none

>> =============================================================
>> OpenBIOS 1.1 [Jul 7 2020 17:30]
>> Configuration device id QEMU version 1 machine id 1
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,G4
milliseconds isn't unique.
Output device screen not found.
Output device screen not found.
Trying cd:,\\:tbxi...
>> switching to new context:
Output device screen not found.
NULL ihandleNULL ihandleNULL ihandleNULL ihandleNULL ihandleNULL
ihandleNULL ihandleNULL ihandleNULL ihandle
Unexpected client interface exception: -2
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
qemu-system-ppc: terminating on signal 2
ppc64@styx:~$


right ... this is going no where fast.  Sorry.

Dennis


Reply to: