Showing posts with label grub. Show all posts
Showing posts with label grub. Show all posts

Sunday, 15 January 2023

install grub-customizer

 $ sudo apt install grub-customizer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  hwinfo libhd21 libx86emu2
The following NEW packages will be installed:
  grub-customizer hwinfo libhd21 libx86emu2
0 upgraded, 4 newly installed, 0 to remove and 28 not upgraded.
Need to get 1.477 kB of archives.
After this operation, 7.005 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 libx86emu2 amd64 2.4-1 [45,5 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 libhd21 amd64 21.68-1 [729 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 hwinfo amd64 21.68-1 [18,0 kB]
Get:4 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 grub-customizer amd64 5.1.0-2 [684 kB]
Fetched 1.477 kB in 3s (574 kB/s)        
Selecting previously unselected package libx86emu2:amd64.
(Reading database ... 326117 files and directories currently installed.)
Preparing to unpack .../libx86emu2_2.4-1_amd64.deb ...
Unpacking libx86emu2:amd64 (2.4-1) ...
Selecting previously unselected package libhd21:amd64.
Preparing to unpack .../libhd21_21.68-1_amd64.deb ...
Unpacking libhd21:amd64 (21.68-1) ...
Selecting previously unselected package hwinfo.
Preparing to unpack .../hwinfo_21.68-1_amd64.deb ...
Unpacking hwinfo (21.68-1) ...
Selecting previously unselected package grub-customizer.
Preparing to unpack .../grub-customizer_5.1.0-2_amd64.deb ...
Unpacking grub-customizer (5.1.0-2) ...
Setting up libx86emu2:amd64 (2.4-1) ...
Setting up libhd21:amd64 (21.68-1) ...
Setting up hwinfo (21.68-1) ...
Setting up grub-customizer (5.1.0-2) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for man-db (2.9.1-1) ...

Wednesday, 5 October 2022

Fix Grub Not Showing for Windows and Linux Dual Boot System

In Windows, go to the menu

Search for Command Prompt, right click on it to run it as administrator.

This is strictly for Ubuntu. Other distributions might have some other folder name.

In here, copy and paste the command below:

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

You don’t need to enter a password or anything like that. The command should run just fine given that your account has admin rights.

Untuk Debian 
bcdedit /set {bootmgr} path \EFI\debian\grubx64.efi


Tuesday, 8 December 2020

grub modified

 GRUB_DEFAULT=0

GRUB_TIMEOUT_STYLE=hidden

GRUB_TIMEOUT=0

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

GRUB_CMDLINE_LINUX_DEFAULT="noplymouth video=SVIDEO-1:d"

GRUB_CMDLINE_LINUX=""



===============================================================
berdasarkan:
4

I cannot say what else is necessary, but I can maybe give a workaround for you, so that the machine starts faster.

For me the most working solution was to disable the plymouth in grub with

sudo nano /etc/default/grub

and change the line GRUB_CMDLINE_LINUX_DEFAULT into

GRUB_CMDLINE_LINUX_DEFAULT="noplymouth video=SVIDEO-1:d"

After saving the change you must update the grub with

sudo update-grub

and then restart the machine.

sudo nano /etc/default/grub [ASLI]

 sudo nano /etc/default/grub


# If you change this file, run 'update-grub' afterwards to update

# /boot/grub/grub.cfg.

# For full documentation of the options in this file, see:

#   info -f grub -n 'Simple configuration'


GRUB_DEFAULT=0

GRUB_TIMEOUT_STYLE=hidden

GRUB_TIMEOUT=0

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

GRUB_CMDLINE_LINUX=""


# Uncomment to enable BadRAM filtering, modify to suit your needs

# This works with Linux (no patch required) and with any kernel that obtains

# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)

#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"


# Uncomment to disable graphical terminal (grub-pc only)

#GRUB_TERMINAL=console


# The resolution used on graphical terminal

# note that you can use only modes which your graphic card supports via VBE

# you can see them in real GRUB with the command `vbeinfo'

#GRUB_GFXMODE=640x480


# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

#GRUB_DISABLE_LINUX_UUID=true


# Uncomment to disable generation of recovery mode menu entries

#GRUB_DISABLE_RECOVERY="true"


# Uncomment to get a beep at grub start

#GRUB_INIT_TUNE="480 440 1"