recentpopularlog in

kme : grub   26

grub2 - How to get to the GRUB menu at boot-time? - Ask Ubuntu |
Menu will appear if you press and hold Shift during loading Grub, if you boot using BIOS. When your system boots using UEFI, press Esc.

For permanent change you'll need to edit your /etc/default/grub file -- place a "#" symbol at the start of line GRUB_HIDDEN_TIMEOUT=0.

Save changes and run sudo update-grub to apply changes.

grub  bootmanager  dammitbrain  solution 
7 weeks ago by kme
How do I increase console-mode resolution? - Ask Ubuntu
No amount of 'GRUB_GFXMODE' or 'GRUB_GFXPAYLOAD' seemd to do me any good, but this old trick worked
This helped me on Ubuntu 14.04 with ESXi 5.5
<code class="language-bash">sudo vi /etc/default/grub</code>
Change line to:
<code>GRUB_CMDLINE_LINUX_DEFAULT="splash vga=792"</code>
centos  centos7  grub  hiresconsole  console  vga  font  solution 
september 2019 by kme
dual boot - How to get grub2 to remember last choice? - Ask Ubuntu -
The documentation in this case is wrong. All variables in /etc/default/grub start with GRUB_, so it's GRUB_DEFAULT=saved, not DEFAULT=saved. I've corrected the Ubuntu wiki to reflect that.

The official grub manual describes this correctly:

Put the following in /etc/default/grub:
<code class="language-bash">

Then run:
<code class="language-bash">
sudo update-grub
linux  windows  grub  grub2  dualboot  bootmanager  configfile  configsetting  dammitbrain  solution 
march 2018 by kme
linux - How do I set the default kernel parameters in CentOS for all existing and future kernels? - Server Fault -
You can have it apply to all current and any future kernels by using ALL. grubby --update-kernel=ALL --remove-args="rhgb quiet" – benjarrell Jul 2 '13 at 18:04

You can also add '--args="vga=792"' to get a decent console resolution.
centos  centos6  grub  console  consolefont  framebufferconsole  configfile  solution 
october 2017 by kme
[SOLVED] Can We Have Grub2 simpy ignore a 2nd drive?
OSPROBED="`os-prober | grep /dev/sdb | tr ' ' '^' | paste -s -d ' '`"
linux  ubuntu  grub  configfile  solution 
may 2017 by kme
Grub2/Troubleshooting - Community Help Wiki
This is what you do when you get an 'error: file not found' error and a "grub rescue>" prompt.

set prefix=(hdX,Y)/boot/grub
set root=(hdX,Y)
insmod normal
grub  troubleshooting  solution  bootmanager  errormessage  linux  ubuntu 
may 2017 by kme
How to Change the UUID of a Linux Partition | Sudo JuiceSudo Juice
You'll want to do this if you, e.g., use GParted to copy a partition from one drive to another.
linux  storage  grub  disk  blkid  uuid  howto  installation  solution 
december 2015 by kme
789 is 800x600x15
792 is 1024x768x15
grub  vga  hiresconsole  linux  reference 
may 2015 by kme
[SOLVED] Problem with TTY Fonts - KDFONTOP: Invalid argument
No replies yet. Solved anyway.
It appears I had framebuffer disabled. Enabled it by editing the /etc/default/grub and adding vga=792 in the default command line arguments for grub.
If anyone has the same problem, this might be a solution.

On CentOS, solved this with "vga=789" (800x600x15) at the end of every kernel in /etc/grub.conf
linux  grub  hiresconsole  configfile  solution  centos  ubuntu 
may 2015 by kme
GRUB. Which config file do I modify?
Don't worry about /etc/sysconfig/grub. You should only have to edit /boot/grub/grub.conf .

Still have no idea what the difference is. The 'grubby' util seems to be used to "clone" existing entries into new ones. Basically, only edit /etc/grub.conf is the answer, I guess.
centos  grub  configfile  bootmanager  sortofsolution 
may 2015 by kme
GRUB - ArchWiki
GRUB can set the framebuffer for both GRUB itself and the kernel. The old vga= way is deprecated. The preferred method is editing /etc/default/grub as the following sample:


grub  arch  hiresconsole  bootmanager  solution 
january 2014 by kme
VirtualBox and Console only Linux
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1280x800x32
set gfxpayload=1600x1200x32
insmod gfxterm
insmod vbe
terminal_output gfxterm
if terminal_output gfxterm; then true ; else
terminal gfxterm
grub  arch  linux  bootmanager  eyecandy  console  hiresconsole  solution 
january 2014 by kme
GRUB - ArchWiki
Out of memory/Syntax error running grub-mkconfig
Note: This is workaround for FS#37904. (

Add GRUB_DISABLE_SUBMENU=y in /etc/default/grub and regenerate grub.cfg.
linux  arch  installation  grub  solution 
january 2014 by kme
How To Use UUID To Mount Partitions / Volumes Under Ubuntu Linux
How do I find out UUID for /dev/sdb2?

To probe filesystem type and read label and uuid for /dev/sdb2 (or any other device) use vol_id command:
# vol_id --uuid {/dev/device } # vol_id --uuid /dev/sdb2 $ sudo vol_id --uuid /dev/sdb2

Sample output:

List all UUIDs Use blkid command-line utility to locate/print block device attributes:
$ sudo blkid
linux  blkid  sysadmin  storage  grub  troubleshooting  bootmanager 
january 2013 by kme
Grub2 - Community Ubuntu Documentation
Cobalt (HP xw440) is doing this again. Here's the fix:

mount the root device as '/mnt'
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
grub-install /dev/sdX
grub-install --recheck /dev/sdx (optional)

A script to do same:
sudo mount $ROOTFS /mnt
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
sudo grub-install $ROOTDEV && sudo grub-install --recheck $ROOTDEV
grub  grub2  ubuntu  cobalt  solution  bootmanager  xw4400  annoyance 
september 2011 by kme

Copy this bookmark:

to read