[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building grub2 for use as a kernel on qemu
From: |
Andrei Borzenkov |
Subject: |
Re: Building grub2 for use as a kernel on qemu |
Date: |
Thu, 2 Feb 2017 11:01:58 +0300 |
On Thu, Feb 2, 2017 at 6:25 AM, Andrei Borzenkov <address@hidden> wrote:
...
>>
>> grub-mkimage -O i386-pc -c grub.cfg -o grub2.img at_keyboard configfile
>> biosdisk ext2 linux serial halt minicmd terminal all_video cat echo gzio
>> search linux16 normal disk test true fat memdisk tar ls sleep -p
>> /usr/src/grub/grub-core/
>>
...
>
> Use grub-mkstandalone to create image that includes internal memory disk
> and place your config on this memory disk. Do not include your modules
> in image itself. By default grub-mkstandalone adds all available
> modules; if size is an issue (but this is really a couple of megabytes,
> so I do not expect it), you can restrict module list and other
> components - see help output.
Sorry, missed that you use i386-pc platform, not i386-qemu. Then size
of boot image does matter, you may want to at least exclude themes and
translations (if any). Full standalone image that includes all bells
and whistles for GUI boot does not fit in available memory on this
platform.
- Building grub2 for use as a kernel on qemu, Shaun Reitan, 2017/02/01
- Re: Building grub2 for use as a kernel on qemu, Andrei Borzenkov, 2017/02/01
- Re: Building grub2 for use as a kernel on qemu,
Andrei Borzenkov <=
- Re[2]: Building grub2 for use as a kernel on qemu, Shaun Reitan, 2017/02/02
- Re: Building grub2 for use as a kernel on qemu, Andrei Borzenkov, 2017/02/02
- Re[2]: Building grub2 for use as a kernel on qemu, Shaun Reitan, 2017/02/03
- Re: Building grub2 for use as a kernel on qemu, Andrei Borzenkov, 2017/02/03
- Re[2]: Building grub2 for use as a kernel on qemu, Shaun Reitan, 2017/02/03
- Re: Building grub2 for use as a kernel on qemu, Andrei Borzenkov, 2017/02/04
- Re[2]: Building grub2 for use as a kernel on qemu, Shaun Reitan, 2017/02/06
- Re: Re[2]: Building grub2 for use as a kernel on qemu, Andrei Borzenkov, 2017/02/07
- Re[2]: Building grub2 for use as a kernel on qemu, Shaun Reitan, 2017/02/03