[Top][All Lists]

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

Re: strange grub error on ARM64

From: Daniel Kiper
Subject: Re: strange grub error on ARM64
Date: Mon, 6 Mar 2023 21:59:23 +0100
User-agent: NeoMutt/20170113 (1.7.2)

Adding Gary and Michael...

Gary, Michael, could you help with this? Or at least forward this email
to folks who may help...


On Mon, Mar 06, 2023 at 10:56:52AM -0800, Atish Patra wrote:
> Hi,
> I am working on a cross-architecture cleanup series that removes the
> arch specific headers from RISC-V, ARM, ARM64 and unifies the linux
> loader on ARM64 & Linux.
> The v7 version can be found here.
> It had a few bugs which are fixed and can be found here.
> Here are the patches
> Anybody with ARM64 and/or test setup: Can you please do a quick test
> to see if you see similar or any other failure ?
> I noticed a very strange error during ARM64 testing. I have probably
> done something stupid during the grub build
> as I can reproduce this with upstream grub as well.
> I was trying to boot an OpenSuse image in qemu virt machine for ARM64 as per
> the instructions[1]. The stock grub image works fine however my custom
> build fails to boot
> and drops to the grub command line. It seems the grub detects the disk
> but doesn't read the root partition correctly on my cross-compiled image.
> It has one additional directory ("@") which I don't see when I mount
> the disk. it doesn't list any files as well.
> ============= Cross compiled grub image =====================
> grub> ls -l (hd0,gpt3)/
> DIR          20230302080325 @/
> grub> ls -l (hd0,gpt3)/@/
> DIR          20230302080326 boot/
> DIR         srv/
> DIR          20230302080326 usr/
> DIR         opt/
> DIR          20230302080326 home/
> DIR         var/
> DIR         tmp/
> DIR         root/
> grub> ls -l (hd0,gpt3)/@/boot/
> DIR          20230302080326 grub2/
> grub>
> ============= Stock grub image from the OpenSuse image=====================
> grub> ls (hd0,gpt3)/
> dev/ run/ boot/ config.partids lib sbin srv/ usr/ opt/ config.bootoptions 
> lib64
> .snapshots/ bin home/ etc/ var/ tmp/ sys/ mnt/ proc/ root/
> The same build steps works fine for RISC-V for OpenSuse image though.
> However, I couldn't figure out what it was. Any help is appreciated.
> [1]
> --
> Regards,
> Atish

reply via email to

[Prev in Thread] Current Thread [Next in Thread]