{"id":30,"date":"2005-02-20T04:04:19","date_gmt":"2005-02-20T02:04:19","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/2005\/02\/20\/lilo-or-grub-find-out\/"},"modified":"2007-01-12T01:57:20","modified_gmt":"2007-01-11T23:57:20","slug":"lilo-or-grub-find-out","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2005\/02\/20\/lilo-or-grub-find-out\/","title":{"rendered":"lilo or grub &#8212; find out"},"content":{"rendered":"<p>yaz bul ok \ud83d\ude42<\/p>\n<p>yada :::<\/p>\n<p>How-To: Finding which bootloader is used<br \/>\nSome of the current images of Redhat (specifically RHEL) have both bootloaders installed on the system. This makes it somewhat annoying when you are doing kernel upgrades as you have to modify both loader config or take a gamble.<\/p>\n<p>Therefore, if you wish to find out which bootloader is used on the system, you will need to su to root.<br \/>\nAs root, you need to run either of these commands:<\/p>\n<p>dd if=\/dev\/hda bs=512 count=1 2&gt;&#038;1 : grep GRUB<br \/>\nAND<br \/>\ndd if=\/dev\/hda bs=512 count=1 2&gt;&#038;1 : grep LILO<\/p>\n<p>If the bootloader is found then it will say: Binary file (standard input) matches and this indicates this is the bootloader your system will use on startup.<\/p>\n<p>This command will work on any of the RedHat based systems.<\/p>\n<p>*IF* you have grub installed, an even easier solution to find out what the actual bootloader is, is:<\/p>\n<p>\/sbin\/grubby &#8211;bootloader-probe<\/p>\n<p>It will print out whether grub or lilo is in use. If it prints something else, you must have an extraordinary bootloader.<br \/>\nOnce you made sure you use grub, I&#8217;d recommend removing lilo by issuing.<\/p>\n<p>rpm -e lilo<\/p>\n","protected":false},"excerpt":{"rendered":"<p>yaz bul ok \ud83d\ude42 yada ::: How-To: Finding which bootloader is used Some of the current images of Redhat (specifically RHEL) have both bootloaders installed on the system. This makes it somewhat annoying when you are doing kernel upgrades as you have to modify both loader config or take a gamble. Therefore, if you wish [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":0,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}