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

Re: GRUB doesn't install



On 7/25/20 11:54 AM, Mark Cave-Ayland wrote:
> That's complaining that nvsetenv fails which is because QEMU doesn't emulate
> persistent NVRAM so that is to be expected (and indeed, yaboot raised an error in
> exactly the same way during installation).

Okay, then it's not surprising that grub-install fails. The emulation
here is just incomplete here then.

> First thing to ask is does your newly created vm-ppc HD image boot when you change
> the "-boot" parameter to "-boot c"?
You can just skip the failed installation of GRUB and continue with no bootloader.

Then extract kernel and initrd from the VM image and pass them to QEMU with
"-kernel" and "-initrd" respectively.

You don't really need bootloader for a QEMU anyway as you can always specify
kernel and initrd through parameters as explained above.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: