IT貓撲網(wǎng):您身邊最放心的安全下載站! 最新更新|軟件分類|軟件專題|手機版|論壇轉(zhuǎn)貼|軟件發(fā)布

您當(dāng)前所在位置: 首頁操作系統(tǒng)LINUX → 輕松解決Linux系統(tǒng)grub錯誤

輕松解決Linux系統(tǒng)grub錯誤

時間:2015-06-28 00:00:00 來源:IT貓撲網(wǎng) 作者:網(wǎng)管聯(lián)盟 我要評論(0)

  Linux在現(xiàn)在已經(jīng)很強大了,導(dǎo)致Linux系統(tǒng)越來越受到電腦用戶的歡迎,于是很多人開始學(xué)習(xí)Linux時,學(xué)習(xí)時你可能會遇到Linux系統(tǒng)grub常見錯誤問題,這里將介紹Linux系統(tǒng)grub常見錯誤問題的解決方法,讓大家了解一下。

  1:Filenamemustbeeitheranabsolutefilenameorblocklist

  解釋:1號錯誤表示文件名格式錯誤。在GRUB中要么是以絕對路徑給出文件

  例子:

  grub>kernelvmlinuzroot=label=/

  Error1:Filenamemustbeeitheranabsolutepathnameorblocklist

  grub>

  2:Badfileordirectorytype

  解釋:2號錯誤表示命令期望的是一個普通文件,但相應(yīng)文件名的對象是一個符號鏈接、目錄、FIFO

  例子:

  grub>kernel/testdirroot=LABEL=/

  Error2:Badfileordirectorytype

  grub>

  3:Badorcorruptdatawhiledecompressingfile

  解釋:3號錯誤表示解壓文件時發(fā)生錯誤??赡苁且驗檫@個文件被損壞了

  4:Badorincompatibleheaderincompressedfile

  解釋:4號錯誤表示壓縮文件的頭部格式不被兼容或者錯誤

  5:Partitiontableinvalidorcorrupt

  解釋:5號錯誤表示分區(qū)表無效或者被破壞。這是一個不好的預(yù)兆

  6:Mismatchedorcorruptversionofstage1/stage2

  解釋:6號錯誤表示install命令發(fā)現(xiàn)stage1和stage2的頒布號不被兼容

  7:Loadingbelow1MBisnotsupported

  解釋:Thiserrorisreturnedifthelowestaddressinakernelisbelow

  the1MBboundary.TheLinuxzImageformatisaspecialcaseand

  canbehandledsinceithasafixedloadingaddressandmaximumsize

  8:Kernelmustbeloadedbeforebooting

  解釋:8號錯誤表示執(zhí)行boot命令之前沒有先執(zhí)行kernel命令

  9:Unknownbootfailure

  解釋:9號錯誤表示未知的引導(dǎo)錯誤

  10:UnsupportedMultibootfeaturesrequested

  解釋:10號錯誤表示請求Multibootheader所要求功能不被GRUB所支持。

  11:Unrecognizeddevicestring

  解釋:11號錯誤表示無法識別的設(shè)備字符串。

  例子:

  grub>roothd0

  Error11:Unrecognizeddevicestring

  grub>

  12:Invaliddevicerequested

  解釋:12號錯誤表示請求的設(shè)備無效

  例子:

  grub>root(hd2)

  Error21:Selecteddiskdoesnotexist

  grub>kernel/grub/grub.confroot=LABEL=/

  Error12:Invaliddevicerequested

  grub>

  13:Invalidorunsupportedexecutableformat

  解釋:13號錯誤表示無效或者無法識別的可執(zhí)行格式

  例子:

  grub>kernel/grub/grub.confroot=LABEL=/

  Error13:Invalidorunsupportedexecutableformat

  grub>

  14:Filesystemcompatibilityerror,cannotreadwholefile

  解釋:14號錯誤表示文件系統(tǒng)兼容性錯誤,無法讀取整個文件

  15:Filenotfound

  解釋:請求的文件無法找到

  例子:

  grub>find/grub-noexist/grub.conf

  Error15:Filenotfound

  grub>

  16:Inconsistentfilesystemstructure

  解釋:16號錯誤表示不一致的文件系統(tǒng)結(jié)構(gòu)??赡苁俏募到y(tǒng)結(jié)構(gòu)被破壞了。

  17:Cannotmountselectedpartition

  解釋:17號錯誤表示無法掛載指定分區(qū)。例如swap分區(qū)

  例子:

  grub>root(hd0,2)這是一個swap分區(qū)

  Filesystemtypeunknown,partitiontype0x82

  grub>kernel/vmlinuz

  Error17:Cannotmountselectedpartition

  grub>

#p#副標(biāo)題#e#

  18:SelectedcylinderexceedsmaximumsupportedbyBIOS

  解釋:18號錯誤表示選擇的柱面超過了BIOS支持的最大能力。這通常發(fā)生在不支持LBA模式

  的硬盤上。

  19:Linuxkernelmustbeloadedbeforeinitrd

  解釋:19號錯誤表示執(zhí)行initrd命令前必須先執(zhí)行kernel命令

  20:Multibootkernelmustbeloadedbeforemodules

  解釋:20號錯誤表示執(zhí)行module或者moduleunzip命令前必須先執(zhí)行kernel命令

  21:Selecteddiskdoesnotexist

  解釋:21號錯誤表示選擇的磁盤不存在

  例子:

  grub>root(hd2)

  Error21:Selecteddiskdoesnotexist

  grub>

  22:Nosuchpartition

  解釋:22號錯誤表示分區(qū)不存在

  例子:

  grub>root(hd0,10)

  Error22:Nosuchpartition

  grub>

  23:Errorwhileparsingnumber

  解釋:23號錯誤表示參數(shù)解釋錯誤,希望是一個數(shù)值,但參數(shù)卻是其他類型

  例子:

  grub>root(hda,0)

  Error23:Errorwhileparsingnumber

  grub>

  24:Attempttoaccessblockoutsidepartition

  解釋:24號錯誤表示嘗試訪問的block超出了分區(qū)

  25:Diskreaderror

  解釋:25號錯誤表示磁盤讀錯誤

  26:Toomanysymboliclinks

  解釋:26號錯誤表示太多的符號連接(默認(rèn)最多允許5個)

  27:Unrecognizedcommand

  解釋:無法識別的命令

  28:Selecteditemcannotfitintomemory

  解釋:選擇的對象無法被加載到內(nèi)存中。

  例子:

  [root@monitorboot]#ddif=/dev/zeroof=vmlinuz-2.4.20-31.9bs=1024count=1seek=1

  讀入了1+0個塊

  輸出了1+0個塊

  [root@monitorboot]#grub

  grub>kernel/vmlinuz-2.4.20-31.9root=label=/

  [Linux-bzImage,setup=0x1400,size=0xfffff200]

  Error28:Selecteditemcannotfitintomemory

  grub>

  29:Diskwriteerror

  解釋:磁盤寫錯誤

  30:Invalidargument

  解釋:無效參數(shù)

  例子:

  grub>serial--noarg=0

  Error30:Invalidargument

  grub>

  31:Fileisnotsectoraligned

  解釋:ThiserrormayoccuronlywhenyouaccessaReiserFSpartitionby

  block-lists(e.g.thecommand`install').Inthiscase,youshould

  mountthepartitionwiththe`-onotail'option.

  32:Mustbeauthenticated

  解釋:要求輸入口令才能繼續(xù)進行下面的操作。例如配置文件中有password或者lock命令

  例子:

  passwordroot1234

  titleDOS

  lock

  rootnoverify(hd0,0)

  chainloader+1

  33:Serialdevicenotconfigured

  解釋:33號錯誤表示串口還沒有配置。這一般發(fā)生在你執(zhí)行terminalserial的時候

  34:Nosparesectorsonthedisk

  解釋:磁盤自由空間不足??赡馨l(fā)生在把stage1.5嵌入到MBR之后的空間的時候。但這部分空間可能已經(jīng)被分區(qū)表使用了

  以上就是Linux系統(tǒng)grub常見錯誤的解決方法。

關(guān)鍵詞標(biāo)簽:Linux系統(tǒng)grub錯誤

相關(guān)閱讀

文章評論
發(fā)表評論

熱門文章 安裝紅帽子RedHat Linux9.0操作系統(tǒng)教程 安裝紅帽子RedHat Linux9.0操作系統(tǒng)教程 Tomcat9.0如何安裝_Tomcat9.0環(huán)境變量配置方法 Tomcat9.0如何安裝_Tomcat9.0環(huán)境變量配置方法 多種操作系統(tǒng)NTP客戶端配置 多種操作系統(tǒng)NTP客戶端配置 Linux操作系統(tǒng)修改IP Linux操作系統(tǒng)修改IP

相關(guān)下載

    人氣排行 Linux下獲取CPUID、硬盤序列號與MAC地址 dmidecode命令查看內(nèi)存型號 linux tc實現(xiàn)ip流量限制 安裝紅帽子RedHat Linux9.0操作系統(tǒng)教程 linux下解壓rar文件 lcx.exe、nc.exe、sc.exe入侵中的使用方法 Ubuntu linux 關(guān)機、重啟、注銷 命令 查看linux服務(wù)器硬盤IO讀寫負(fù)載