自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

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

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

Linux在現(xiàn)在已經(jīng)很強(qiá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>

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ù)進(jìn)行下面的操作。例如配置文件中有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常見錯誤的解決方法。

【編輯推薦】

  1. 輕松應(yīng)用Linux連接校園網(wǎng)
  2. 全面了解Linux進(jìn)程技術(shù)
  3. Linux中的password命令介紹
  4. 學(xué)好Linux 了解Linux監(jiān)管命令
  5. Linux查看所有進(jìn)程ps -aux命令介紹
責(zé)任編輯:小霞 來源: javaeye.com
相關(guān)推薦

2011-01-26 11:23:30

Linux認(rèn)證

2010-06-17 10:32:13

開機(jī)顯示Grub

2010-03-09 16:38:22

Linux grub啟

2010-01-07 16:46:06

Linux安裝Ecli

2010-01-12 13:47:18

Linux grub

2009-12-11 17:25:00

Grub突破root

2010-06-13 16:32:19

Linux Grub命

2010-06-13 16:23:28

Linux Grub命

2009-12-11 14:17:05

Linux平臺空間消失

2009-12-24 17:08:34

Linux SSH

2021-09-16 14:48:26

DebianLinux

2010-06-17 11:17:34

裝系統(tǒng)出現(xiàn)Grub

2010-04-28 10:00:44

Linux GRUB雙系統(tǒng)引導(dǎo)

2010-06-13 11:41:53

Ubuntu Grub

2010-01-06 14:50:49

Linux操作系統(tǒng)

2009-10-23 08:41:14

Linux系統(tǒng)操作系統(tǒng)Grub

2009-12-14 17:32:14

LILO配置

2011-01-19 10:42:15

2009-12-24 15:46:55

LVM管理Linux

2010-06-17 11:04:42

重裝系統(tǒng)出現(xiàn)Grub
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號