From 太極
Jump to navigation Jump to search


Repair/update Grub2

Ubuntu: Boot Repair from a live USB

Not see Grub after re-install/upgrade Windows

Fix Grub Not Showing For Windows 10 Linux Dual Boot

Add a new entry to boot an ISO

Pop_OS! does not use Grub, but rather systemd-boot

How to install grub menu on pop os?

Configuration - /etc/default/grub

How to Configure the GRUB2 Boot Loader’s Settings

Configuration options:

  • Scripts in /etc/grub.d
  • Configuration file at /etc/default/grub

Incorporating changes:

  • grub2-mkconfig (or grub-mkconfig for Grub v1) reads configurations and generates a new configuration for /boot/grub2 (or /boot/grub)

Show the grub2 screen

To show the grub2 screen, run sudo nano /etc/default/grub and comment out the line GRUB_HIDDEN_TIMEOUT=0 and change the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="". Remember to run 'sudo update-grub' after any change to grub.

Change theme

How To Change GRUB Theme In Linux

Set Screen Resolution

Set Screen Resolution using Kernel Boot Parameter on Linux. I try "vga=ask" and "vga=341" and both do not work.

How do I set the grub timeout and the grub default boot entry?

  1. gksudo gedit /etc/default/grub
  2. Change as you like. Save and closed the file.
    • You can change the default from 0 to any number
    • You can change the "hidden timeout" (no menu)
    • You can force the grub menu to show by commenting out the two GRUB_HIDDEN lines with a # at the beginning of the line
    • set the grub menu timeout (default is 10 seconds)
  3. sudo update-grub
  4. Reboot

Grub Customizer - GUI program

Add a splash image

Follow the instruction at Note that Grub2 will search the image based on some priority and there are also some minor requirements on the images. To test

sudo apt-get install grub2-splashimages
sudo cp /usr/share/images/grub/Moraine_Lake_17092005.tga /boot/grub/
sudo update-grub

Boot into command line

  1. Highlight the first item (default) and press 'e' in the GRUB menu
  2. Navigate to the line that starts with ‘linux’, change the runlevel to 3 (at the end of the line). Level 3 means multi-user, command-line only system
  3. Press Ctrl+x or F10 to boot into

To switch back to GUI, type sudo init 5. Level 5 is the default.

Dual boot

How to setup a Windows 10, Linux Mint 19.1 Dual Boot with Encrypted Partitions on a Dell XPS 15 9560

Triple boot

Where is grub installed


Share files between OSes

Create a completely separate partition using a suitable filesystem, such as NTFS that both can read.

Run Live Linux on Ram Disk

Increase root partition in Live session

  • For Ubuntu/Mint, the "toram" option in boot can get about 3.9GB root partition. So I cannot test the "dd" command to back up a DVD disk since it requires more than 3.9GB space for the final iso file.
  • How to adjust the size of the root partition on live Arch Linux system?
  • How To Adjust The Size Of The Root Partition On Live Arch Linux. When you boot the Arch Linux livecd, press e or hit tab key to edit the kernel parameters. Go to the end of the line that says ".... linux=... initrd=...." something like that and append cow_spacesize=1G at the end to get 1GB size root partition or whatever space left from RAM. It seems that cow_spacesize is specific to Arch Linux and its derivatives.


Legacy BIOS

Fedora 37 Looks To Deprecate Legacy BIOS Support



  • Installing Linux alongside Windows is usually fairly painless – for many installs, you don’t need to disable Secure Boot now as most distros are signed. However, sometimes, the installer runs but you can’t see your hard disk. This can be resolved by switching the hard disk mode from RAID to AHCI – provided you aren’t specifically using RAID features, this should cause no ill effects. You will need to give Windows a heads-up or you’ll get a blue screen!
  • Dual boot - Preparation

Bootable DOS USB Drive for BIOS update

How to Create a Bootable DOS USB Drive

Dell Optiplex