bug-grub
[Top][All Lists]
Advanced

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

grub2 fails to read big initrd files


From: address@hidden
Subject: grub2 fails to read big initrd files
Date: Fri, 28 Jan 2011 15:56:43 +0300

The setup of new linux kernels compiled with [m] option on most modules
results in dramatically big initrd files (65-145MB). Grub2 fails to read
such a big files from at least ext3 partitions and linux kernel panics
because of lack of modules. Quick analysis and debug of grub2 code has
shown that function grub_fshelp_read_file in file [fs/fshelp.c] returns
(-1) because of
blknr = get_block (node, i);
sets grub_errno = 24 while trying to resolve disk block number from file
block number.
The temporary workaround is to format a partition with /boot with option
-b 4096 which increases block size and lower the number of blocks.

-- 
ᚺᛖᛁᛚᛚ:ᛟᚦᛁᚾᚾ







reply via email to

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