How do you install grub efi amd64 in Linux using apt-get command?
Here is a tutorial to learn how to install grub efi amd64 using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install grub efi amd64 -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of grub efi amd64 if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install grub efi amd64 -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libopenal1 texlive common libmono data tds2.0 cil sane utils
libmono c5 1.0 cil lib32bz2 1.0 liblash2 libjna java xscreensaver gl
syfi dev libgnumail java php fpdf menu xdg libdcerpc0 mesa utils
python bugbuddy libcommons jxpath java libbcprov java python beagle
libqscintilla2 5 libsm dev libpurple0 menu libavahi qt3 1 syslinux
libnet daemon perl libnumber compare perl libpackagekit qt 12 syfi doc
erlang eunit libc client2007e libwpd8c2a gnome power manager libsuperlu3 dev
libopencascade foundation 6.3.0 libswscale0 libdb je java libproxool java
vblade libmono npgsql2.0 cil libtwolame0 erlang examples libklu1.1.0
krita data python evolution espeak python notify libmono security2.0 cil
libnet ssleay perl libgnomeprintui2.2 common libcrypt openssl rsa perl
iputils tracepath xfonts 75dpi libgnome bluetooth7 libbcel java libmtp8
rpm2cpio libexcalibur logger java gedit common libgutenprint2
libsilcclient 1.1 3 erlang crypto gcalctool libg15daemon client1
python debian python gnomedesktop libopal3.6.6 ttf gfs bodoni classic
libmono wcf3.0 cil gnome accessibility libice dev lp solve liboro java
libmono peapi2.0 cil libavutil49 gnome backgrounds libwxbase2.8 0 libntfs10
libaiksaurus 1.2 data libappframework java libdigest sha1 perl
erlang reltool libflite1 kword data unattended upgrades elinks data
libxrandr dev libmono system data1.0 cil libgmime 2.4 2 gnome mahjongg
libcupsppdc1 libnb javaparser java libgeronimo jms 1.1 spec java
telepathy gabble libgnome2 vfs perl libnet ip perl libdb4.7 java
libmono simd2.0 cil libmono system2.0 cil libmono1.0 cil aisleriot
xfonts scalable libexpat1 dev libiw dev libmono system ldap1.0 cil
lib32gomp1 egroupware news admin python twisted bin squashfs tools
libatlas3gf base libatlas headers gtali erlang corba libpurple bin
bind9 host python numpy emacs23 bin common libcxsparse2.2.3 libmono0
python evince libconvert tnef perl libiceutil33 libpetsc3.0.0
libio stringy perl python mako erlang asn1 libgtkhtml editor0
gir1.0 gconf 2.0 libnet dns perl libxdamage dev ttf gfs olga glchess
libgtk vnc 1.0 0 lib32ncurses5 python avahi pkg config
libavalon framework java libbrasero media0 libnet dbus perl libcupscgi1
libmono getoptions1.0 cil gtk2 engines poppler utils
libmono cscompmgd8.0 cil libmono data1.0 cil hamster applet ktorrent data
erlang toolbar libgsl0 dev libqt4 opengl dev erlang xmerl
preview latex style libmono sharpzip0.84 cil libmono sqlite2.0 cil lvm2
libmono ldap1.0 cil liba52 0.7.4 dev libhfsp0 libpthread stubs0
gnome games common ttf gfs didot libspooles dev gstreamer0.10 plugins ugly
libjug java smbclient libjtidy java libcupsdriver1 python pygments
libjzlib java libswfdec 0.8 0 nmap libotf0 libarpack2 erlang snmp
libprotobuf5 libcfitsio3 gucharmap libblas dev libjibx java
libmono management2.0 cil libkipi7 python pycurl libdiscid0 totem plugins
gnome games libicu4j java libsox fmt mp3 librplay3 libcholmod1.7.1
libxml parser perl erlang tools gir1.0 clutter gtk 0.10 obexd client
evolution plugins libboost system1.40.0 cheese libwss4j java
libfreemarker java libservlet2.4 java libdnsjava java upower libsox fmt base
libtie ixhash perl libgeronimo ejb 3.0 spec java python couchdb evolution
dnsutils python openssl libqtscript4 network libxalan2 java libcairo perl
libcommons jexl java libfluidsynth1 gnobots2 libgtk2 perl erlang edoc
libyaml syck perl libgwt user java libbeagle1 libmono corlib2.0 cil libaio1
libsane libxfixes dev g++ 4.4 libboost signals1.40.0 odbcinst1debian1
gnome disk utility libhypre 2.4.0 libcrypto++8 libqt4 test
libmockobjects java libgnuinet java libaxiom java libidzebra 2.0 mod text
libquicktime1 php5 python pyatspi seabios lxde icon theme libhyphen0
libsdl mixer1.2 erlang syntax tools libgl1 mesa dev libasound2 dev
python louis libmono system web mvc1.0 cil libftgl2 libglew1.5 liblouis data
libfile find rule perl libsox fmt oss ttf gfs theokritos gnome mag
libasm2 java libibus1 libwsdl4j java libsox fmt pulse tftpd hpa
libjpeg progs libpst4 libqtscript4 gui telepathy haze libnspr4 dev
libxcb render util0 dev gedit libnm util1 libtelepathy farsight0
python imaging libfreeradius2 libmono cairo2.0 cil libtagc0
libmono relaxng1.0 cil empathy common libsox fmt alsa python httplib2
libdbi perl python speechd python egenix mxtools libsctp1
libgnomeprintui2.2 0 libeucalyptus commons ext java libcheese gtk18
libpolkit gtk 1 0 libgromnithread0 libplot2c2 ttf gfs artemisia
libvorbis dev libestools1.2 libgupnp 1.0 3 libgstfarsight0.10 0 libqwt5 qt4
libnetty java libidzebra 2.0 mod dom libavfilter0 python qscintilla2
nvidia current modaliases libboost date time1.40.0 libgnomevfs2 extra
lbreakout2 data libwoodstox java lmms common libqdox java
x11proto xinerama dev ttf sil gentium libarchive zip perl libmime tools perl
libgl2ps0 libmapi0 libdca0 libx86 1 screen gnome sudoku x11proto render dev
libindicate gtk2 libdate manip perl libidzebra 2.0 mod grs xml
ttf gfs porson libpisock9 lightsoff libdns64 libhypre dev libezmorph java
libxi dev libmvel java libx11 protocol perl m4 libgps19
python zope.interface libmono i18n west2.0 cil librpmio0
texlive metapost doc librpm0 guile 1.8 libs python totem plparser seahorse
libwps 0.1 1 libmagick++2 rpm common python oauth liblualib50 libsuperlu3
libchm1 egroupware sitemgr ttf opensymbol empathy
libgeronimo j2ee connector 1.5 spec java libxnconfig9.0.5
libterm readkey perl libparse recdescent perl wireshark common
libpixman 1 dev xscreensaver data libsqlite0 libcddb2 libslp1
python gnomekeyring libportmidi0 libgdict 1.0 6 libdts dev whois
libdirectfb extra python gtksourceview2 libswingx java python dev
egroupware core libdotconf1.0 libcommons cli java libmono microsoft7.0 cil
libmono system messaging2.0 cil python urlgrabber libavdevice52
libmono system web1.0 cil python twisted web libass4 libjs prototype
libcglib java gvfs bin libapache2 mod php5 vinagre libpano13 bin subversion
libumfpack5.4.0 libtag extras1 libmono accessibility1.0 cil puredata
libmono webbrowser0.5 cil evolution common libmono posix2.0 cil odbcinst
erlang dialyzer seed mono runtime liblpint bonobo0 libfontconfig1 dev
libreadline java telepathy salut libcln6 libsensors applet plugin0
liblapack3gf libogg dev libclamav6 libcommons compress java
egroupware tracker libqtscript4 sql erlang webtool php5 gd evolution webcal
kompozer data gnibbles libnss3 dev xorg docs core x11proto kb dev
libswingworker java libsyfi0 luatex libprocessui4 x11proto randr dev
libopenmpi dev python serial libcommons discovery java libsaxon java
zlib bin libxinerama dev libisccc60 libcap2 bin network manager pptp
libmono system runtime2.0 cil pptp linux egroupware addressbook
mono 2.0 devel libavcodec52 libgtkhtml editor common gcc 4.4 libprocesscore4
libopenctl0 m17n db toshset libpango perl libidzebra 2.0 0 festlex cmu
gnome nettool erlang debugger libc6 i386 libfuse2 libccolamd2.7.1
mono csharp shell libgssrpc4 dasher libhd16 libxosd2 libqtscript4 xml
libobparser21 mesa common dev lib32gcc1 libpcrecpp0 libnss mdns
libnova 0.12 2 texlive latex recommended doc unixodbc erlang runtime tools
egroupware wiki egroupware felamimail libg15render1 libsvn1 xtrans dev
libatk1.0 dev python swiginac ruby1.8 libportaudio2 gnome utils libalut0
vbetool libavahi core6 libcue1 libmenu cache1 libjavassist java
libbabl 0.0 0 libqt4 dev liblapack dev libnet cidr perl libmcrypt4 libjs jac
gconf editor gnome accessibility themes python paramiko python pam pyro
samba common amule common libhwloc0 xinput libelf1 libforms1 libcryptui0
lib32asound2 erlang observer libyaml 0 2 libxstream java libgdu gtk0
libgdata common libgnomeprint2.2 0 libbinio1ldbl python scipy
egroupware polls erlang docbuilder libsdl image1.2 libmono i18n1.0 cil
libgnome mag2 libqt4 help libgail gnome module libaxis2c0 gnome orca
python qt4 php pear time libmono oracle1.0 cil libstringtemplate java
libclutter gtk 0.10 0 x11proto input dev python glade2 xmms2 plugin id3v2
libvirt0 libusb dev ruby texlive latex base doc libmono messaging2.0 cil
libscotch dev gstreamer0.10 ffmpeg libusrp2 0 libmono rabbitmq2.0 cil
libenca0 telepathy butterfly libjsch java libsvn java python brlapi
uno libs3 libjetty java doc amule utils python sqlitecachec
x11proto fixes dev python tz koffice libs liblwres60 swell foop
gnome system tools python sip python rpm mingw32 runtime libijs 0.35
libqt4 gui libxml security java libt1 5 libxml commons resolver1.1 java
libpkcs11 helper1 libcobertura java python ufc libaudclient2 libsilc 1.1 2
libgeronimo jacc 1.1 spec java libcurl3 python ufl linux headers 2.6.32 74
eog gdm festvox kallpc16k libjs scriptaculous libmono winforms1.0 cil
libfli1 libfltk1.1 python xapian libxen3 libmono db2 1.0 cil gnotski
deskbar applet python launchpad integration libhttrack2 liblouis0
linux headers 2.6.32 74 generic libmikmod2 libavahi ui0 libwxgtk2.8 0
libkdecorations4 libmono system data2.0 cil python gtkglext1 dasher data
libglu1 mesa dev libgtkglext1 libcommons net java gnome themes selected
libresid builder0c2a libreadline5 libmono2.0 cil gok erlang inviso
libldl2.0.1 libdrm dev libsmi2ldbl krosspython libupnp3
libmono system ldap2.0 cil libsyfi0 dev speech dispatcher
libmono bytefx0.7.6.1 cil libmono data tds1.0 cil libbsf java
libopencascade modeling 6.3.0 ttf arphic uming libgtkhtml3.14 19
libqt4 multimedia libgeronimo interceptor 3.0 spec java libvtk5.2 mlock
libtelepathy glib0 egroupware projectmanager x11proto xext dev espeak data
vgabios libopenmpi1.3 mono gac libcolamd2.7.1 python vte libnm glib2
qt4 qmake libxt dev python vtk libyaz3 libmx4j java gnome bluetooth
gnome user share libmono sharpzip2.6 cil libxml commons external java
modemmanager libgnomecups1.0 1 libmono getoptions2.0 cil
libboost thread1.40.0 libmono data2.0 cil libevent 1.4 2
gconf defaults service libxext dev swig libgme0 libtevent0
libmono npgsql1.0 cil at spi erlang mnesia seahorse plugins
libgoogle collections java libmono ldap2.0 cil libgeronimo jpa 3.0 spec java
libmono messaging rabbitmq2.0 cil python scientific libmono security1.0 cil
libphp phpmailer libieee1284 3 python telepathy libiptcdata0
libnet server perl cheese common x11proto damage dev libgnome2 canvas perl
libsox fmt ao libhdf5 serial 1.8.4 linux headers generic
libexchange storage1.2 3 libdca dev php xml htmlsax3 sound juicer
python2.6 dev rsync vino powermgmt base erlang public key libdbd mysql perl
libgnomeprint2.2 data manpages mpc libbind9 60 libntfs 3g75 libneon27 gnutls
liba52 0.7.4 egroupware calendar nbd server libmono peapi1.0 cil
libvncserver0 kstars data mono 2.0 gac libpostproc51 wget libginac1.5
libkwineffects1 erlang dev pax egroupware bookmarks libglib2.0 dev libwv2 4
libidzebra 2.0 modules texlive fonts recommended doc zlib1g dev
libdevmapper event1.02.1 lesstif2 liblzo2 2 libmono system1.0 cil
egroupware infolog libdate calc perl python chardet python boto
libantlr java iagno desktop base python rsvg glines python sqlite ntp
libxml2 dev libcairo2 dev libgeronimo jta 1.0.1b spec java libqt3 mt mysql
xfonts 100dpi libspeechd2 egroupware phpbrain monodoc base libcgns2 libcr0
lxmenu data xmms2 plugin alsa libcompress raw zlib perl libmad0 dev samba
libgail common libpano13 1 libglib perl python twisted core libwildmidi0
netpbm liberror perl libmono sharpzip0.6 cil libradius1 php log
python simplejson erlang os mon libmono cscompmgd7.0 cil libntlm0
libidzebra 2.0 mod grs marc liborc 0.4 0 libespeak1 libatlas base dev
libfreetype6 dev ttf gfs neohellenic libgsm1 libdvdnav4 libservlet2.3 java
libmowgli1 libmono sqlite1.0 cil libmono sharpzip2.84 cil libxau dev rpm
python configobj librpmbuild0 libxmmsclient6 libcarp clan perl
mingw32 binutils ufc python gnupginterface python syfi0 nautilus sendto
libdvdread4 libmpdclient2 erlang test server libmono relaxng2.0 cil
libhtmlparser java libgdata6 libblas3gf stk libtext glob perl
libschroedinger 1.0 0 lilypond doc libksignalplotter4 libtotem plparser17
libavformat52 ttf gfs baskerville libmono microsoft build2.0 cil
libslf4j java erlang erl docgen libslepc3.0.0 compiz plugins
nvidia 96 modaliases libcommons daemon java libnuma1 libnfsidmap2 tcl8.4
openmpi bin tcl8.5 libindi0 libdc1394 22 libasm3 java libqt4 assistant ure
libmono dev libkate1 pinyin database libarpack2 dev libqwtplot3d qt4 0
libcdaudio1 libmimic0 erlang inets erlang et xmms2 core erlang ic
libavifile 0.7c2 libkadm5clnt mit7 libswing layout java libamd2.2.0
egroupware egw pear emacsen common erlang gs libplrpc perl libcap ng0
libapparmor1 php5 imap dmz cursor theme libm17n 0 libdecoration0 libgeoip1
libregexp java libperl5.10 liblircclient0 libgnome speech7 libpt2.6.5
xz utils libgromnithread dev libcamd2.2.0 libmysql java
libmono cecil private cil libmono corlib1.0 cil m17n contrib xfonts unifont
libkscreensaver5 wwwconfig common vorbis tools libibverbs1
libgupnp igd 1.0 2 gksu egroupware resources libxvidcore4 psutils
libisccfg60 gtk2 engines pixbuf libsidplay1 erlang typer libsidplay2
libboost serialization1.40.0 usbutils smartdimmer erlang odbc
gnome screensaver egroupware registration libqtgtl0 erlang tv python gdbm
python fiat gnome core gnotravex libscotch 5.1 rhino libkadm5srv mit7
libc ares2 libc6 dev libldb0 libsigsegv0 erlang nox gnect
python mediaprofiles libcsparse2.2.3 libupower glib1 egroupware timesheet
libpackagekit glib2 12 libusrp0 python viper tk8.4 libmono microsoft8.0 cil
tk8.5 erlang mode ttf gfs solomos libg15 1 libmail dkim perl liblua5.1 0
avahi daemon emacs23 libanthy0 libzeroc ice33 libmono system web2.0 cil
libxcomposite dev python m2crypto libmono cairo1.0 cil python gst0.10
brasero common libsoundtouch1c2 libstk0c2a libxcb render0 dev
libconvert uulib perl libxrender dev xmms2 plugin vorbis liboobs 1 4
libgpac0.4.5 libpt2.6.5 plugins libxmmsclient glib1 libmpg123 0 quadrapassel
libmad0 librampart0 libgnome2 perl libxmlgraphics commons java erlang megaco
libnetpbm10 libmono accessibility2.0 cil libxml xpath perl
libberkeleydb perl ttf gfs gazis erlang common test php5 ldap
texlive doc base libpq5 festival perl tk libtommath0 libgfortran3
xfonts mathml libemeraldengine0 python farsight python usrp
libidzebra 2.0 mod alvis libsamba hostconfig0 librpcsecgss3
libmusicbrainz3 6 python papyon libgtksourceview2.0 0 libid3tag0
gstreamer0.10 tools xsel python pexpect libavahi compat libdnssd1
libibverbs dev libio multiplex perl erlang src python yaml libsox fmt ffmpeg
libstroke0 libopencore amrnb0 texlive latex extra doc lib32z1 radeontool
erlang ssh erlang percept libzephyr4 libhamcrest java xaw3dg liblucene2 java
erlang ssl xmms2 plugin mad libgraphite3 php5 mysql epiphany data
libmono i18n west1.0 cil libxft dev python wnck eggdrop data libx11 dev
brasero libmhash2 festlex poslex liblrdf0 libwpg 0.1 1 libgc1c2
libaiksaurus 1.2 0c2a openjdk 6 doc libqtscript4 uitools libc3p0 java
libkdb5 4 libqt3 mt lib32stdc++6 miscfiles libmono bytefx0.7.6.2 cil
x11proto composite dev linux libc dev patch manpages dev libbtf1.1.0
libbeansbinding java libmcs1 samba common bin libqwtplot3d qt4 dev
python metacity libcelt0 0 libgcj common libdirac encoder0 libgtlcore0
libboost regex1.40.0 tap plugins netcat traditional egroupware sambaadmin
liblua50 php5 cli libruby1.8 libmono system messaging1.0 cil liblastfm0
python gnomeprint libqt4 scripttools lib32v4l 0 libdrools core java
egroupware notifications libisc60 libdbus 1 dev libsox1a
system tools backends libcupsmime1 libc dev bin libnet libidn perl libnice0
watershed emacs23 common compiz core totem egroupware emailadmin libxcb1 dev
libimlib2 libkfontinst4 mpi default bin libgssglue1 egroupware etemplate
openjdk 6 jdk tinymce python pkg resources gstreamer0.10 nice
libconvert binhex perl libmono posix1.0 cil erlang appmon
libmail sendmail perl libopenjpeg2 libcommons digester java libloudmouth1 0
perl doc libjs jquery totem mozilla python egenix mxdatetime perlmagick
libqtscript4 core libdirectfb dev binutils systemsettings libc6 dev i386
mpi default dev libjpeg62 dev libgruel0 min12xxw texlive pictures doc
gnome themes libidzebra 2.0 dev portmap vim addon manager
libio socket ssl perl libini4j java libdbus glib 1 dev ncurses term
libjetty java nvidia 173 modaliases p7zip full libaudid3tag2 python mysqldb
mscompress libspooles2.2 libndr0 python rdflib libmono i18n2.0 cil
libplasma applet system monitor4 egroupware manual erlang pman
libsys hostname long perl erlang parsetools libsuitesparse dev
texlive pstricks doc egroupware phpsysinfo libnb svnclientadapter java
php5 common libopencore amrwb0 libmono oracle2.0 cil openbsd inetd
libgnome pilot2 libjline java openmpi common php gettext
libmono system runtime1.0 cil tex common libnet1 lacheck python ferari
egroupware filemanager totem common python dateutil x11proto core dev
freeglut3 libexcalibur logkit java python crypto libxml twig perl
libdigest hmac perl swfdec gnome libgssdp 1.0 2 libimage exiftool perl
plasma widgets workspace regina3 koffice data libxdmcp dev
nautilus sendto empathy libpthread stubs0 dev libsysfs dev libxcursor dev
libmpeg2 4 file roller libgdiplus python gnome2 desktop libmms0
libunix syslog perl libmono winforms2.0 cil less
libcrypt openssl bignum perl python netcdf mysql client 5.1 libmpeg3 1
libbit vector perl telepathy mission control 5 xpdf common libllvm2.7
texinfo libgruel dev ufc doc gnome netstatus applet libjs mootools
python gtop ttf gfs didot classic egroupware developer tools libpisync1
erlang base libnetcdf4 libboost filesystem1.40.0 libstdc++6 4.4 dev
python pyparsing libgtksourceview2.0 common python opengl
libmail imapclient perl syfi bin mono gmcs libfaad2 gnomine mercurial common
libidzebra 2.0 mod grs regx qemu common libpcd2 libsmpeg0 libpng12 dev
Use 'apt-get autoremove' to remove them.
Suggested packages:
efibootmgr
The following packages will be REMOVED:
grub pc
The following NEW packages will be installed:
grub efi amd64
0 upgraded, 1 newly installed, 1 to remove and 52 not upgraded.
Need to get 503kB of archives.
After this operation, 57.3kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid updates/universe grub efi amd64 1.98 1ubuntu13 [503kB]
Preconfiguring packages ...
Fetched 503kB in 1s (346kB/s)
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 215175 files and directories currently installed.)
Removing grub pc ...
Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_prerm
Running update grub Legacy to remove our core.img in it
Searching for GRUB installation directory ... found: /boot/grub
/usr/lib/grub legacy/update grub: line 116: grub: command not found
/usr/lib/grub legacy/update grub: line 116: grub: command not found
/usr/lib/grub legacy/update grub: line 153: grub: command not found
warning: grub probe can't find drive for /dev/xvda1.
grub probe: error: cannot find a GRUB drive for /dev/xvda1. Check your device.map.
Processing triggers for man db ...
Selecting previously deselected package grub efi amd64.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 214967 files and directories currently installed.)
Unpacking grub efi amd64 (from .../grub efi amd64_1.98 1ubuntu13_amd64.deb) ...
Processing triggers for man db ...
Setting up grub efi amd64 (1.98 1ubuntu13) ...
Generating grub.cfg ...
Found linux image: /boot/vmlinuz 2.6.32 74 generic
Found initrd image: /boot/initrd.img 2.6.32 74 generic
/usr/sbin/grub probe: error: cannot find a GRUB drive for /dev/xvda1. Check your device.map.
/usr/sbin/grub probe: error: cannot find a GRUB drive for /dev/xvda1. Check your device.map.
/usr/sbin/grub probe: error: cannot find a GRUB drive for /dev/xvda1. Check your device.map.
Found linux image: /boot/vmlinuz 2.6.32 33 server
Found initrd image: /boot/initrd.img 2.6.32 33 server
File descriptor 3 (pipe:[191526]) leaked on lvs invocation. Parent PID 4318: /bin/sh
done
root@hiox:~