{"id":2995,"date":"2010-05-05T04:30:08","date_gmt":"2010-05-05T08:30:08","guid":{"rendered":"http:\/\/g33kinfo.com\/info\/?p=2995"},"modified":"2010-05-05T04:30:08","modified_gmt":"2010-05-05T08:30:08","slug":"grub-error-code-explained","status":"publish","type":"post","link":"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/","title":{"rendered":"Grub Error code explained"},"content":{"rendered":"<p>From <a href=\"http:\/\/unixbhaskar.blogspot.com\/2010\/05\/grub-error-code-explained.html\" target=\"_blank\" rel=\"noopener noreferrer\">unixbhaskar.blogspot.com<\/a><\/p>\n<p>I have had come across lot of article on the web written by some brilliant guys regarding the GRUB, a smart(better then LILO) bootloader.Being an administrator I have had managed many a installation during my one of job assignment with one of big(really big) IT company in their data center.<\/p>\n<p>In this article I am trying to accumulate some errors thrown by the grub because of various reason.So, knowing the value of the error code could easily led to simple debugging of it and save time.It&#8217;s not possible to remember all the code value,so best to put it in a file and keep it close to your heart.( as I do \ud83d\ude42 )<\/p>\n<p><a href=\"http:\/\/unixbhaskar.blogspot.com\/2010\/05\/grub-error-code-explained.html\" target=\"_blank\" rel=\"noopener noreferrer\">The rest here&#8230;<\/a> and below<\/p>\n<p>Here we go :<\/p>\n<p>1 : Filename must be either an absolute filename or blocklist<br \/>\nThis error is returned if a file name is requested which doesn&#8217;t fit the syntax\/rules listed in the Filesystem.<\/p>\n<p>2 : Bad file or directory type<br \/>\nThis error is returned if a file requested is not a regular file, but something like a symbolic link, directory, or FIFO.<\/p>\n<p>3 : Bad or corrupt data while decompressing file<br \/>\nThis error is returned if the run-length decompression code gets an internal error. This is usually from a corrupt file.<\/p>\n<p>4 : Bad or incompatible header in compressed file<br \/>\nThis error is returned if the file header for a supposedly compressed file is bad.<\/p>\n<p>5 : Partition table invalid or corrupt<br \/>\nThis error is returned if the sanity checks on the integrity of the partition table fail. This is a bad sign.<\/p>\n<p>6 : Mismatched or corrupt version of stage1\/stage2<br \/>\nThis error is returned if the install command points to incompatible or corrupt versions of the stage1 or stage2. It can&#8217;t detect corruption in general, but this is a sanity c heck on the version numbers, which should be correct.<\/p>\n<p>7 : Loading below 1MB is not supported<br \/>\nThis error is returned if the lowest address in a kernel is below the 1MB boundary. The Linux zImage format is a special case and can be handled since it has a fixed loading a ddress and maximum size.<\/p>\n<p>8 : Kernel must be loaded before booting<br \/>\nThis error is returned if GRUB is told to execute the boot sequence without having a kernel to start.<\/p>\n<p>9 : Unknown boot failure<br \/>\nThis error is returned if the boot attempt did not succeed for reasons which are unknown.<\/p>\n<p>10 : Unsupported Multiboot features requested<br \/>\nThis error is returned when the Multiboot features word in the Multiboot header requires a feature that is not recognized. The point of this is that the kernel requires specia l handling which GRUB is probably unable to provide.<\/p>\n<p>11 : Unrecognized device string<br \/>\nThis error is returned if a device string was expected, and the string encountered didn&#8217;t fit the syntax\/rules listed in the Filesystem.<\/p>\n<p>12 : Invalid device requested<br \/>\nThis error is returned if a device string is recognizable but does not fall under the other device errors.<\/p>\n<p>13 : Invalid or unsupported executable format<br \/>\nThis error is returned if the kernel image being loaded is not recognized as Multiboot or one of the supported native formats (Linux zImage or bzImage, FreeBSD, or NetBSD).<\/p>\n<p>14 : Filesystem compatibility error, cannot read whole file<br \/>\nSome of the filesystem reading code in GRUB has limits on the length of the files it can read. This error is returned when the user runs into such a limit.<\/p>\n<p>15 : File not found<br \/>\nThis error is returned if the specified file name cannot be found, but everything else (like the disk\/partition info) is OK.<\/p>\n<p>16 : Inconsistent filesystem structure<br \/>\nThis error is returned by the filesystem code to denote an internal error caused by the sanity checks of the filesystem structure on disk not matching what it expects. This is usually caused by a corrupt filesystem or bugs in the code handling it in GRUB.<\/p>\n<p>17 : Cannot mount selected partition<br \/>\nThis error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.<\/p>\n<p>18 : Selected cylinder exceeds maximum supported by BIOS<br \/>\nThis error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BI OS can handle (512MB for (E)IDE disks on older machines or larger than 8GB in general).<\/p>\n<p>19 : Linux kernel must be loaded before initrd<br \/>\nThis error is returned if the initrd command is used before loading a Linux kernel.<\/p>\n<p>20 : Multiboot kernel must be loaded before modules<br \/>\nThis error is returned if the module load command is used before loading a Multiboot kernel. It only makes sense in this case anyway, as GRUB has no idea how to communicate th e presence of such modules to a non-Multiboot-aware kernel.<\/p>\n<p>21 : Selected disk does not exist<br \/>\nThis error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.<\/p>\n<p>22 : No such partition<br \/>\nThis error is returned if a partition is requested in the device part of a device- or full file name which isn&#8217;t on the selected disk.<\/p>\n<p>23 : Error while parsing number<br \/>\nThis error is returned if GRUB was expecting to read a number and encountered bad data.<\/p>\n<p>24 : Attempt to access block outside partition<br \/>\nThis error is returned if a linear block address is outside of the disk partition. This generally happens because of a corrupt filesystem on the disk or a bug in the code hand ling it in GRUB (it&#8217;s a great debugging tool).<\/p>\n<p>25 : Disk read error<br \/>\nThis error is returned if there is a disk read error when trying to probe or read data from a particular disk.<\/p>\n<p>26 : Too many symbolic links<br \/>\nThis error is returned if the link count is beyond the maximum (currently 5), possibly the symbolic links are looped.<\/p>\n<p>27 : Unrecognized command<br \/>\nThis error is returned if an unrecognized command is entered on the command-line or in a boot sequence section of a configuration file and that entry is selected.<\/p>\n<p>28 : Selected item cannot fit into memory<br \/>\nThis error is returned if a kernel, module, or raw file load command is either trying to load its data such that it won&#8217;t fit into memory or it is simply too big.<\/p>\n<p>29 : Disk write error<br \/>\nThis error is returned if there is a disk write error when trying to write to a particular disk. This would generally only occur during an install of set active partition comm and.<\/p>\n<p>30 : Invalid argument<br \/>\nThis error is returned if an argument specified to a command is invalid.<\/p>\n<p>31 : File is not sector aligned<br \/>\nThis error may occur only when you access a ReiserFS partition by block-lists (e.g. the command install). In this case, you should mount the partition with the `-o notail&#8217; opt ion.<\/p>\n<p>32 : Must be authenticated<br \/>\nThis error is returned if you try to run a locked entry. You should enter a correct password before running such an entry.<\/p>\n<p>33 : Serial device not configured<br \/>\nThis error is returned if you try to change your terminal to a serial one before initializing any serial device.<\/p>\n<p>34 : No spare sectors on the disk<br \/>\nThis error is returned if a disk doesn&#8217;t have enough spare space. This happens when you try to embed Stage 1.5 into the unused sectors after the MBR, but the first partition s tarts right after the MBR or they are used by EZ-BIOS.<\/p>\n<p>Hope this will solve lot of owes of lot of people involve in OS implementation.<\/p>\n<p>Cheers!<\/p>\n<p>Bhaskar Chowdhury<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From unixbhaskar.blogspot.com I have had come across lot of article on the web written by some brilliant guys regarding the GRUB, a smart(better then LILO) bootloader.Being an administrator I have had managed many a installation during my one of job assignment with one of big(really big) IT company in their data center. In this article&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-2995","post","type-post","status-publish","format-standard","hentry","category-info"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Grub Error code explained - Linux Shtuff<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Grub Error code explained - Linux Shtuff\" \/>\n<meta property=\"og:description\" content=\"From unixbhaskar.blogspot.com I have had come across lot of article on the web written by some brilliant guys regarding the GRUB, a smart(better then LILO) bootloader.Being an administrator I have had managed many a installation during my one of job assignment with one of big(really big) IT company in their data center. In this article... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux Shtuff\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:author\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:published_time\" content=\"2010-05-05T08:30:08+00:00\" \/>\n<meta name=\"author\" content=\"g33kadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/drsinger1111\" \/>\n<meta name=\"twitter:site\" content=\"@drsinger1111\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/grub-error-code-explained\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/grub-error-code-explained\\\/\"},\"author\":{\"name\":\"g33kadmin\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"headline\":\"Grub Error code explained\",\"datePublished\":\"2010-05-05T08:30:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/grub-error-code-explained\\\/\"},\"wordCount\":1254,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"articleSection\":[\"General Info\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/grub-error-code-explained\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/grub-error-code-explained\\\/\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/grub-error-code-explained\\\/\",\"name\":\"Grub Error code explained - Linux Shtuff\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\"},\"datePublished\":\"2010-05-05T08:30:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/grub-error-code-explained\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/grub-error-code-explained\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/grub-error-code-explained\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Grub Error code explained\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\",\"name\":\"Linux Shtuff\",\"description\":\"Because I have CRS Syndrome...\",\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\",\"name\":\"g33kadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"contentUrl\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"width\":512,\"height\":512,\"caption\":\"g33kadmin\"},\"logo\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\"},\"description\":\"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\\\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....\",\"sameAs\":[\"https:\\\/\\\/thelinuxreport.com\",\"https:\\\/\\\/fb.me\\\/g33kinf0\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/drsinger1111\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Grub Error code explained - Linux Shtuff","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/","og_locale":"en_US","og_type":"article","og_title":"Grub Error code explained - Linux Shtuff","og_description":"From unixbhaskar.blogspot.com I have had come across lot of article on the web written by some brilliant guys regarding the GRUB, a smart(better then LILO) bootloader.Being an administrator I have had managed many a installation during my one of job assignment with one of big(really big) IT company in their data center. In this article... Read More","og_url":"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/","og_site_name":"Linux Shtuff","article_publisher":"https:\/\/fb.me\/g33kinf0","article_author":"https:\/\/fb.me\/g33kinf0","article_published_time":"2010-05-05T08:30:08+00:00","author":"g33kadmin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/drsinger1111","twitter_site":"@drsinger1111","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/#article","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/"},"author":{"name":"g33kadmin","@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"headline":"Grub Error code explained","datePublished":"2010-05-05T08:30:08+00:00","mainEntityOfPage":{"@id":"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/"},"wordCount":1254,"commentCount":0,"publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"articleSection":["General Info"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/","url":"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/","name":"Grub Error code explained - Linux Shtuff","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/#website"},"datePublished":"2010-05-05T08:30:08+00:00","breadcrumb":{"@id":"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/g33kinfo.com\/info\/grub-error-code-explained\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/g33kinfo.com\/info\/"},{"@type":"ListItem","position":2,"name":"Grub Error code explained"}]},{"@type":"WebSite","@id":"https:\/\/g33kinfo.com\/info\/#website","url":"https:\/\/g33kinfo.com\/info\/","name":"Linux Shtuff","description":"Because I have CRS Syndrome...","publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/g33kinfo.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547","name":"g33kadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","url":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","contentUrl":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","width":512,"height":512,"caption":"g33kadmin"},"logo":{"@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif"},"description":"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....","sameAs":["https:\/\/thelinuxreport.com","https:\/\/fb.me\/g33kinf0","https:\/\/x.com\/https:\/\/twitter.com\/drsinger1111"]}]}},"_links":{"self":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/2995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/comments?post=2995"}],"version-history":[{"count":0,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/2995\/revisions"}],"wp:attachment":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/media?parent=2995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/categories?post=2995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/tags?post=2995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}