리눅스를 설치하고 grub 부트로더를 설정했는데 화면에 보이지 않는 현상이 발생했다.
내가 뭘 잘못했나 해서 다시 설치해봐도 동일한 증상.
그런데 grub 화면이 보이지만 않을 뿐 기능은 동작하고 있는 것으로 보였다.
검색을 해보니 해결책이 몇 가지가 나왔다.
그 중 다 안되고 아래의 첫 번째 방법으로 해결이 됐다.
두 번째 방법을 처음에 해봤지만 안됐는데…그래도 해결한 사람들이 있다고 하니 두 번째 방법으로 될지도 모르겠어서 같이 올려둔다.
Making grub menu visible at the boot and adding windows
원문 링크 : Making grub menu visible at the boot and adding windows
Open the file /etc/default/grub
in an editor, and change the following line…
GRUB_TIMEOUT_STYLE=hidden
… into…
GRUB_TIMEOUT_STYLE=menu
Then, farther down in the file, find the line that reads…
GRUB_DISABLE_OS_PROBER=true
… and change that into…
GRUB_DISABLE_OS_PROBER=false
When you’re done, save the file, and then run the following command in a terminal…
sudo update-grub
That should do it.
Grub menu working but hidden, can’t make it visible
원문 링크 : Grub menu working but hidden, can’t make it visible
I had the same issue and I didn’t settled with the ugly text/console menu.
The answer from Hank W solved it but blinks with the video information on each restart, so it is possible to use another command instead of videoinfo
to the same purpose:
sleep .5
That way grub takes a time to load the modules before going into graphical mode and shows nothing to the screen.
Note: you can experiment with the sleep
value (in seconds) to have it working and not taking much time. I found that sleep .1
still works fine in my system.
Note: just in case you are not sure how to include the command in the /etc/grub.d/00_header
file, here is how I found (BEWARE editing grub files could bring your system not bootable)
sudo gedit /etc/grub.d/00_header
look for the line that says set gfxmode
set gfxmode=${GRUB_GFXMODE}
load_video
insmod gfxterm
and insert the command just before load_video, like this:
set gfxmode=${GRUB_GFXMODE}
sleep .1
load_video
insmod gfxterm
After that run
sudo grub-mkconfig -o /boot/grub/grub.cfg
and finally reboot. It worked for me!