GRUB Error 28: Selected item cannot fit into memory 解决方法

来源:互联网 发布:大众软件 官网 编辑:程序博客网 时间:2024/06/06 02:31
OK, for anyone else who might come across this, here is the solution:

Go to the console and type dmesg > filenameofyourchoice.txt

Examine filenameofyourchoice.txt

Find this section (was at the top for me):

Code:
    /bin/dmesg:    ...    BIOS-provided physical RAM map:    BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)    BIOS-e820: 000000000009ec00 - 00000000000a0000 (reserved)<snip>    BIOS-e820: 0000000100000000 - 0000000100600000 (usable)
Note the number in bold.

Then as a grub parameter instead of mem=4096M use:

memmap=4096M$0x100000000

Obviously, replace 4096M with whatever you actually want and 0x100000000 with whatever your last line is that says useable.
0 0