[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu]: How to use qemu to run 64MB bmc image?
From: |
Joel Stanley |
Subject: |
Re: [qemu]: How to use qemu to run 64MB bmc image? |
Date: |
Thu, 6 Aug 2020 22:09:26 +0000 |
On Thu, 6 Aug 2020 at 15:12, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
>
> On 8/6/20 3:54 PM, Cédric Le Goater wrote:
> > Hello,
> >
> > On 8/6/20 3:58 AM, www wrote:
> >> Hi Joel Stanley, Andrew Jeffery, Cédric Le Goater,
> >>
> >> How to modify it so that QEMU can run 64MB BMC image?
> >
> > You can increase the FW image file size with 'dd' or with :
> >
> > cat foo foo > bar
> >
> > if the expected size is 128MB
>
> You can use 'truncate' from coreutils:
>
> $ truncate -s 128M image.bin
Nice tip!
(What an obvious name for a tool to extend files)
Cheers,
Joel