Configure the kernel according the size of Ramdisk

来源:互联网 发布:近视眼训练软件下载 编辑:程序博客网 时间:2024/04/29 23:48

attempt to access beyond end of device                                         
ram0: rw=0, want=16482, limit=8192                                             
EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block - inode0
attempt to access beyond end of device                                         
ram0: rw=0, want=16478, limit=8192                                             
EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block - inode8
attempt to access beyond end of device                                         
ram0: rw=0, want=16474, limit=8192                                             
EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block - inode6
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

Solution:
配置内核时, 进入block driver-->block device --> 里面   默认ram大小是4096  修改成ramdisk大小比如10240


原创粉丝点击