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

如何用U盤啟動盤來修復(fù)Ubuntu系統(tǒng)?

運(yùn)維 系統(tǒng)運(yùn)維
很多使用wubi在Windows下安裝Ubuntu的系統(tǒng)更新后無法再進(jìn)入系統(tǒng)的問題,出現(xiàn)此問題的原因在于更新Ubuntu時選擇更新grub組件,以至于把引導(dǎo)區(qū)grub破壞。本文介紹了如何通過U盤啟動盤來修復(fù)Ubuntu方法。

Ubuntu系統(tǒng)如何使用U盤啟動盤修復(fù)更新后無法啟動系統(tǒng)的問題?下文給出了詳細(xì)的描述。

最近,相信很多使用wubi在Windows下安裝Ubuntu的系統(tǒng)更新后無法再進(jìn)入系統(tǒng)的問題,讓人不寒而慄,有很多人為此不得不重裝系統(tǒng)。

出現(xiàn)此問題的原因在于更新Ubuntu時選擇更新grub組件,以至于把引導(dǎo)區(qū)grub破壞,這也是個不小的bug吧???

下面說說如何通過U盤啟動盤來修復(fù)Ubuntu。

當(dāng)然,你得有個1G以上的U盤,再有,你的主板必須支持U盤啟動!

首先,當(dāng)然是準(zhǔn)備一個1G以上容量的U盤,用來制作可啟動U盤;

其次,到官網(wǎng)上下載Ubuntudesktop鏡像文件。UbuntuDesktop鏡像一般700多兆,從而可以把它寫到1G大的U盤上,可以從Ubuntu官網(wǎng)下載10.4的鏡像文件。

用UltraISO將其寫入U盤,制作成可啟動的U盤。自作完成后重啟電腦,選擇從U盤啟動。

由于你寫入U盤的實(shí)際上是個像光盤一樣的Ubuntu安裝盤,所以進(jìn)入U盤Ubuntu后,你可以選擇不安裝而直接試用體驗(yàn)Ubuntu,這也是本方法的關(guān)鍵所在,利用LiveCD,我們可以暫時進(jìn)入系統(tǒng),借以修復(fù)原有系統(tǒng)!

進(jìn)入Ubuntu系統(tǒng)后,啟動命令終端,輸入如下指令,在線安裝lilo和mbr:

 

  1. Ubuntu@ubuntu:~$sudoapt-getinstalllilo  
  2.  
  3. Readingpackagelists...Done  
  4.  
  5. Buildingdependencytree  
  6.  
  7. Readingstateinformation...Done  
  8.  
  9. Thefollowingextrapackageswillbeinstalled:  
  10.  
  11. mbr  
  12.  
  13. Suggestedpackages:  
  14.  
  15. lilo-doc  
  16.  
  17. ThefollowingNEWpackageswillbeinstalled:  
  18.  
  19. lilombr  
  20.  
  21. 0upgraded,2newlyinstalled,0toremoveand408notupgraded.  
  22.  
  23. Needtoget413kBofarchives.  
  24.  
  25. Afterthisoperation,1,315kBofadditionaldiskspacewillbeused.  
  26.  
  27. Doyouwanttocontinue[Y/n]?y  
  28.  
  29. Get:1http://mirror.bjtu.edu.cn/Ubuntu/lucid/mainmbr1.1.10-2[23.0kB]  
  30.  
  31. Get:2http://mirror.bjtu.edu.cn/Ubuntu/lucid/mainlilo1:22.8-8ubuntu1[390kB]  
  32.  
  33. Fetched413kBin3s(124kB/s)  
  34.  
  35. Preconfiguringpackages...  
  36.  
  37. Selectingpreviouslydeselectedpackagembr.  
  38.  
  39. (Readingdatabase...129801filesanddirectoriescurrentlyinstalled.)  
  40.  
  41. Unpackingmbr(from.../archives/mbr_1.1.10-2_i386.deb)...  
  42.  
  43. Selectingpreviouslydeselectedpackagelilo.  
  44.  
  45. Unpackinglilo(from.../lilo_1%3a22.8-8Ubuntu1_i386.deb)...  
  46.  
  47. Processingtriggersforman-db...  
  48.  
  49. Settingupmbr(1.1.10-2)...  
  50.  
  51. Settinguplilo(1:22.8-8Ubuntu1)...  
  52.  
  53. WARNING:kernel&initrdnotfoundintherootdirectory(/vmlinuz&/initrd.img)  
  54.  
  55. WARNING:DoNOTrebootorLILOmayfailtobootifyourkernel+initrdislarge.  
  56.  
  57. WARNING:Pleaseread/usr/share/doc/lilo/README.Debian  
  58.  
  59. Ubuntu@ubuntu:~$ 

 

安裝過程中,會得到如下lilo的配置提示,按OK就行了:

 

  1. Packageconfiguration  
  2.  
  3. ┌───────────────────────────┤Configuringlilo├────────────────────────────┐  
  4.  
  5. ││  
  6.  
  7. │LILOconfiguration│  
  8.  
  9. ││  
  10.  
  11. │ItseemstobeyourfirstLILOinstallation.Itisabsolutelynecessary│  
  12.  
  13. │torunliloconfig(8)whenyoucompletethisprocessandexecute│  
  14.  
  15. │/sbin/liloafterthis.│  
  16.  
  17. ││  
  18.  
  19. │LILOwon'tworkifyoudon'tdothis.│  
  20.  
  21. ││  
  22.  
  23. ││  
  24.  
  25. ││  
  26.  
  27. └───────────────────────────────────────────────────────────────────────────┘  
  28.  

 

然后使用lilo修復(fù)系統(tǒng):

 

  1. Ubuntu@ubuntu:~$sudolilo-M/dev/sdambr  
  2.  
  3. Backupcopyof/dev/sdain/boot/boot.0800  
  4.  
  5. TheMasterBootRecordof/dev/sdahasbeenupdated.  
  6.  
  7. Ubuntu@ubuntu:~$ 

 

修復(fù)完成,重啟系統(tǒng):

 

  1. Ubuntu@ubuntu:~$sudo-s-H  
  2.  
  3. root@Ubuntu:/home/ubuntu#reboot 

 

OK了,相信重啟后選擇進(jìn)入系統(tǒng)的畫面就出現(xiàn)了,是不是很簡單?

總結(jié):

希望本文介紹的使用U盤啟動盤來修復(fù)Ubuntu系統(tǒng)的方法能夠?qū)ψx者有所幫助,更多有關(guān)linux系統(tǒng)的知識還有待于讀者去探索和學(xué)習(xí)。

【編輯推薦】

  1. Ubuntu11.04之三大變化
  2. Ubuntu11.04系統(tǒng)安裝過程中的截圖
  3. 解決Ubuntu10.04系統(tǒng)上網(wǎng)慢的問題
  4. Ubuntu11.04系統(tǒng)有何全新功能及其界面變化?
  5. Linux技巧之Ubuntu11.04下安裝極點(diǎn)五筆輸入法
責(zé)任編輯:韓亞珊 來源: 雨木林風(fēng)
相關(guān)推薦

2019-09-11 08:57:10

Linux操作系統(tǒng)電腦

2015-05-28 16:33:27

運(yùn)維

2020-05-08 19:25:00

Windows 7Windows 10U盤啟動盤

2011-08-03 17:08:56

2021-12-10 23:44:34

U盤系統(tǒng)電腦

2021-02-22 18:30:37

LinuxUSB啟動盤Windows

2015-09-18 17:31:52

U盤啟動盤Windows 10

2017-09-06 23:56:27

RufusVMware ESXi啟動盤

2011-09-15 16:08:03

windows7ubuntu11.04U盤

2021-09-29 08:52:31

Ventoy 開源工具U盤

2023-09-06 17:02:53

2010-08-27 09:51:10

2021-11-02 22:43:44

電腦U盤

2009-07-16 16:40:18

Windows Emb

2010-04-22 10:42:22

2010-01-05 14:26:19

U盤安裝ubuntu

2017-11-22 09:00:46

Windows 10Ubuntu 17.1U盤安裝

2016-10-20 09:17:23

LinuxU盤驅(qū)動器

2009-07-17 14:04:54

Windows Emb

2009-07-17 14:27:13

Windows Emb
點(diǎn)贊
收藏

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