Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 39763782B86 for ; Fri, 3 Jan 2020 12:33:04 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id z3so42319580wru.3 for ; Fri, 03 Jan 2020 04:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SRhlPQZYJCkIAFVsQo41ixbjpsYMgHNKDbWQKfgrWdU=; b=vZK+9xVs6EnR2LmX6pZ+FC36C4gP+fAjqYEgwIUHeCrrGA9hbfHzrT37e8bgfeIoDE 7a0WS/ue/AUjT9YQu6RCkjzkcIV/gAZ8vDx5xINGO06LewhxIcpfis0WKRzCnAM1YnW3 7sMrp7e6IAPYa7PReSs8hMb/jJsuEbtnSnve6hQIL3iyUQMOoIX3TE2iAXwZgHItgL6t c5zRR5roqdaCoRbwVRIszakJVaesZHf4RyXK5ORGzCfmv2CVYAIqLj6/wcvziPbCcHAZ 0n3d7jVvFhiKZOKpkY26fVB8Jw1ZiQkIjNY6h6K/kk4a4BFj7Z2aN6NQ0DvwtiGmkck8 ceLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SRhlPQZYJCkIAFVsQo41ixbjpsYMgHNKDbWQKfgrWdU=; b=L0JCgnaHCSTQeKrz0OT8slHcyXxWNqtbZMMMVV3tqPK31KvA6SOyemj8PvAg9ejCWu fodW+ItLFAgf3kZkAmUQWAlvfNzrtq8hs3SP4aWEq3K+DRyoX55dSh3ETE8LcL/IFm9F lmvr9lPj053P2yowY5kbLdbkJgy18KyO6VCy46WcjCChRFdwdITPXIriQdFZ+lwDhR2S 6Y1WCEOs+Pik+mfiLeX3hOQ60ZzIoMPRxc8Q4r/WicigJ2VyFfohxYCoOl8CqXF+60Of Bzzoxz+rLePaaJv9Z7435FJZIRURtTvlnsKPY1gn/XCsh56JVmeyDAtiWSjUuZMbF2oI uvjg== X-Gm-Message-State: APjAAAXOwwI5UL7f9RYsYlujbtFn52OEAYe69JNxh7YbAGr5e/0hL91p 0cPJ2tIuLQ/k9VBPmLTTHsD+KDN/uLaJkV9QL1I= X-Google-Smtp-Source: APXvYqyBUl8ImmM4mwZHPGGatvsQewUxexwPNcm89lyugFGcvEvWRT2tDbzTg5/hi0tM9fTB1ubAPUAF/biMVhaM3nY= X-Received: by 2002:adf:e74f:: with SMTP id c15mr91699024wrn.274.1578054783647; Fri, 03 Jan 2020 04:33:03 -0800 (PST) MIME-Version: 1.0 References: <923bc5f0-6452-7c5f-bc09-4b91c3235802@h6g.de> In-Reply-To: From: Peter Hanzel Date: Fri, 3 Jan 2020 13:32:51 +0100 Message-ID: Subject: Re: Using aarch64 ISO with QEMU To: Paul Zillmann Cc: alpine-user@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Hello again. I have made progress. It looks like efi_vars was missing. I added empty 64MB img file as second pflash and then it booted to console line. My qemu cmd line looks like: qemu-system-aarch64.exe -M virt -m 1G -cpu cortex-a57 -pflash edk2-aarch64-code.fd -pflash efi_vars.img -cdrom alpine-virt-3.11.2-aarch64.iso -vga none -device virtio-gpu-pci,xres=800,yres=600 -net nic,model=virtio -net user,hostfwd=tcp::2222-:22 -device usb-ehci,id=ehci -device usb-tablet,bus=ehci.0 . Then I can successfully login on serial console. Other problem is that on graphic console (virtio-gpu-pci) the keyboard is not working eventhough I have added usb-tablet. But that's another story. I was not able to get keyboard and mouse with virtio-gpu-pci on any distribution I have tried. Maybe some qemu command line parameter is missing. So now I can boot and ISO is working. On Fri, Jan 3, 2020 at 12:25 PM Peter Hanzel wrote: > > Hello. > > I have used original aarch64 ISO from > http://dl-cdn.alpinelinux.org/alpine/v3.11/releases/aarch64/alpine-virt-3.11.2-aarch64.iso > I use QEMU 4.1.0 on windows. I use edk2-aarch64-code.fd as UEFI > bios.and arrch64 ISO as -cdrom. > It normally boots UEFI and then starts GRUB from above ISO. It > contains only "Linux virt" menuitem and after I press enter on it it > fails to start linux. There are some messages but it quickly returns > to GRUB menu, so I can't read it. Then I used grub command line to try > to set root and kernel manually, but it fails to read partitions from > ISO. > > So that's the steps I have tried. > > > On Fri, Jan 3, 2020 at 9:52 AM Paul Zillmann wrote: > > > > Hello Peter, > > > > do you use the GRUB inside the ISO or any other GRUB? > > On the ISO you are looking to boot /efi/boot/bootaa64.efi - this should > > be the GRUB on the ISO with the right configuration file. > > > > I don't think you will be able to access an ISOHYBRID with gpt nor hd0. > > > > - Paul > > > > Am 02.01.20 um 14:50 schrieb Peter Hanzel: > > > Hello. > > > > > > I have downloaded aarch64 ISO for virtual. I want to run it inside QEMU. > > > I have added edk2 as flash (UEFI). It boots to GRUB but then it fails > > > to run Linux virt. Has anybody qemu command line to run aarch64 alpine > > > ISO. > > > I don't want to extract kernel and initrd and run it this way. I want > > > to try it to boot as UEFI. I used -cdrom parameter for qemu but for > > > grub inside QEMU it appears as disk with 3 parts: gap1, msdos1 and > > > gap2 and grub cannot read them from grub command line. (ls (hd0,gpt1)/ > > > shows unknown file system). > > > > > > Thanks for any hint I could try.