Only showing 3.5GB?
cat /proc/meminfo
command and verify that the displayed quantity is the same as the known amount of RAM in your system. If they are not equal, you can first make a temporary change to confirm whether editing the kernel will be effective.
e
for edit.
linux
or linuxefi
.
kernel
line, add
mem=xxM
cat /proc/meminfo
again. If the known amount of RAM in your system is now displayed, add the following to the GRUB_CMDLINE_LINUX
line in /etc/default/grub
, inside the quotes, to make the change permanent:
mem=xxM
grub.cfg
file so that the change will take effect, run the following command with root privileges.
# for BIOS systems
grub2-mkconfig --output=/boot/grub2/grub.cfg
# for UEFI systems
grub2-mkconfig --output=/boot/efi/EFI/fedora/grub.cfg
menuentry 'Fedora (3.16.0-0.rc2.git2.1.fc21.x86_64) 21 (Rawhide)' { load_video set gfxpayload=keep insmod gzio insmod part_gpt insmod ext2 set root='hd1,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 b34a57d9-03d7-415f-94f6-91689404d951 else search --no-floppy --fs-uuid --set=root b34a57d9-03d7-415f-94f6-91689404d951 fi linuxefi /vmlinuz-3.16.0-0.rc2.git2.1.fc21.x86_64 root=UUID=ece86abc-6419-4f29-84b6-1b810128f98d ro rootflags=subvol=root vconsole.font=latarcyrheb-sun16 vconsole.keymap=us LANG=en_US.UTF-8 mem=8192M initrdefi /initramfs-3.16.0-0.rc2.git2.1.fc21.x86_64.img }