[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to increase block size in grub/tftp?
From: |
Andrei Borzenkov |
Subject: |
Re: How to increase block size in grub/tftp? |
Date: |
Thu, 21 Apr 2016 06:27:49 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
20.04.2016 17:26, Sakar Arora пишет:
> Hi
>
> I have an initrd image 86 MB in size.
>
> Not able to tftp it using grub2. Following message from atftpd server log →
> ------------------------------------------------------
> Requested file to big, increase BLKSIZE
> ------------------------------------------------------
>
> How to do I increase the BLKSIZE?
>
You would need to recompile GRUB to request larger size, currently it
requests 1024 bytes. See grub-core/net/tftp.c:tftp_open().