recentpopularlog in

kme : grub   26

grub2 - How to get to the GRUB menu at boot-time? - Ask Ubuntu | https://askubuntu.com/
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.

Documentation: https://help.ubuntu.com/community/Grub2
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 - https://askubuntu.com/
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: http://www.gnu.org/software/grub/manual/grub.html#Simple-configuration

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

Then run:
<code class="language-bash">
sudo update-grub
</code>
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 - https://serverfault.com/
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
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
GRUB VGA Modes
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_GFXMODE=1024x768x32

GRUB_GFXPAYLOAD_LINUX=keep
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
fi
fi
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. (https://bugs.archlinux.org/task/37904#comment116710)

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:
41c22818-fbad-4da6-8196-c816df0b7aa8

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
chroot
grub-install /dev/sdX
grub-install --recheck /dev/sdx (optional)

A script to do same:
#!/bin/bash
ROOTFS=/dev/sda5
ROOTDEV=${ROOTFS:0:-1}
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