Results 1 to 5 of 5

Thread: UEFI vs Grub - which one am i Using?

  1. #1
    Join Date
    Oct 2019
    Beans
    135

    UEFI vs Grub - which one am i Using?

    Background:
    I was planning to get an SSD to speed up booting and saw various way of copy the files and adding grub to the drive...
    For example: https://www.pcsuggest.com/hdd-to-ssd-cloning-linux/ This then let me into whether I need to do anything special for UEFI and then I wondered what do I even have.

    Question:
    Anyways, in the interest of one question per thread, I got myself confused on whether I have grub or UEFI. I'm probably missing something in my understanding here.
    It looks to me like I have UEFI enabled.

    Code:
    /sys/firmware/efi$ ls
    config_table  fw_platform_size  runtime      systab
    efivars       fw_vendor         runtime-map  vars
    
    /sys/firmware/efi$ sudo efibootmgr 
    BootCurrent: 0003
    Timeout: 5 seconds
    BootOrder: 0003,0000,0001,0002
    Boot0000* Windows Boot Manager
    Boot0001* Hard Drive 
    Boot0002* CD/DVD Drive 
    Boot0003* ubuntu
    Yet, when I boot my Ubuntu, it definitely goes to a grub menu and I can see the relevant entries in:
    /boot/grub/grub.cfg


    I'm thinking the way I have this setup is UEFI is enabled and letting me boot to my drive of choice. If I choose Ubuntu, then grub takes over and I can choose the boot again?

    Thanks,

  2. #2
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,430
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: UEFI vs Grub - which one am i Using?

    You'll be using Grub either way.

    The distinction is between UEFI/GPT or BIOS/MBR.

    The simplest way is that the background of the Grub menu is purple if you're using BIOS and black if you're using UEFI.

  3. #3
    Join Date
    Apr 2007
    Location
    NH USA
    Beans
    1,484
    Distro
    Ubuntu Development Release

    Re: UEFI vs Grub - which one am i Using?

    By the time you see the grub menu, UEFI has already done its job. It is not UEFI vs. grub UEFI hands off to a bootloader/manager, which might be grub or windows or whatever.

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: UEFI vs Grub - which one am i Using?

    yaminb; Hello -

    What shows from terminal command:
    Code:
    [ -d /sys/firmware/efi ] && echo "Installed in EFI mode" || echo "Installed in Legacy mode"
    /sys knows everything
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    Jan 2010
    Location
    Wheeling WV USA
    Beans
    2,023
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: UEFI vs Grub - which one am i Using?

    UEFI then GRUB, not the other way around.
    Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •