I have been exploring this website for my queries and many times I find stuff mentioned as




Surprisingly, many of the things to be updated for grub2, I update in grub and it works. Then what is the difference between them (in Ubuntu 18.04)?

  • Welcome! Apparently, according to the man pages, they are the same command. Feb 21, 2020 at 14:48

1 Answer 1


They are the same:

$ which update-grub

$ which update-grub2

$ ls -la /usr/sbin/update-grub*
-rwxr-xr-x 1 root root  64 veebr  6 19:20 /usr/sbin/update-grub
lrwxrwxrwx 1 root root  11 veebr  6 19:37 /usr/sbin/update-grub2 -> update-grub
-rwxr-xr-x 1 root root 301 märts 27  2015 /usr/sbin/update-grub-gfxpayload

grub is as legacy name (compatibility sake), grub2 is already about 10 years main bootloader in Ubuntu

  • But when I use > update-grub2 < , the changes aren't listed... Example-when I tried to set my windows partitions to auto-mount at startup.
    – Luce
    Feb 21, 2020 at 14:55
  • 3
    Mounting partitions has nothing to do with grub, grub chooses which system to boot. Partitions are mounted during the system bootup (if they are set up to auto-mount).
    – wk.
    Feb 21, 2020 at 15:01
  • Oh,I don't remember which file I edited or why I edited grub,Anyway thanks.
    – Luce
    Feb 21, 2020 at 15:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.