成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Ubuntu 10.04 Grub2修復詳細步驟

系統 Linux
Ubuntu 10.04 Grub2修復問題,google找了一些文章,發現國內的幾個都大同小異,后面有一些步驟根本沒有交代清除,做到一半就進行不下去了,后來找到一個老外的帖子, 一步一步都很清楚,照著做下來,成功地把grub2修復了。

Ubuntu 10.04 LTS終于發布了,原來打算過一陣子再把9.10升一下的,但今天在update manager里,看到已經有提示說可以直接升到10.04,一時沖動沒忍住,于是就升了,接著就碰到魔鬼了:重啟后在grub那步出錯,過不去了,提示 “GRUB loading error: the symbol ‘grub_puts_’ not found”,光標就停在grub rescue>后面,google找了一些文章,發現國內的幾個都大同小異,Ubuntu 10.04 Grub2修復后面有一些步驟根本沒有交代清除,做到一半就進行不下去了,后來找到一個老外的帖子, 一步一步都很清楚,照著做下來,成功地把grub2修復了。

Ubuntu 10.04 Grub2修復詳細步驟1
 

  1. Boot to the LiveCD Desktop (Ubuntu 9.10 or Ubuntu 10.04).   
  2. Open a terminal – Applications, Accessories, Terminal .   
  3. Determine your normal system partition – (the switch is a lowercase “L”) sudo fdisk -l   
  4. If you aren’t sure, rundf -Th . Look for the correct disk size and ext3 or ext4 format.   
  5. Mount your normal system partition:   
  6. Substitute the correct partition: sda1, sdb5, etc.   
  7. sudo mount /dev/sdXX /mnt # Example: sudo mount /dev/sda1 /mnt  


Ubuntu 10.04 Grub2修復詳細步驟2
 

  1. Only if you have a separate boot partition :   
  2. sdYY is the /boot partition designation (examply sdb3)   
  3. sudo mount /dev/sdYY /mnt/boot   
  4. Mount devices:sudo mount --bind /dev/ /mnt/dev   
  5. To ensure that only the grub utilities from the LiveCD get executed, mount /usrsudo mount --bind /usr/ /mnt/usr   
  6. mount proc filesystemsudo mount --bind /proc/ /mnt/proc   
  7. Chroot into your normal system device:sudo chroot /mnt   
  8. If there is no /boot/grub/grub.cfg or it’s not correct, create one usingupdate-grub   
  9. Reinstall GRUB 2:   
  10. Substitute the correct device – sda, sdb, etc. Do not specify a partition number.   
  11. grub-install /dev/sdX  


Ubuntu 10.04 Grub2修復詳細步驟3
 

  1. Verify the install (use the correct device, for example sda . Do not specify a partition): sudo grub-install --recheck /dev/sdX   
  2. Exit chroot : CTRL-D on keyboard   
  3. Unmount devices:sudo umount /mnt/dev   
  4. If you mounted a separate /boot partition:sudo umount /mnt/boot   
  5. Unmount last device:sudo umount /mnt   
  6. Reboot.reboot   
  7. Post-Restoration Commands  
  8. Once the user can boot to a working system, try to determine why the system failed to boot.  
  9.  The following commands may prove useful in locating and/or fixing the problem.  


Ubuntu 10.04 Grub2修復詳細步驟4
 

  1. To refresh the available devices and settings in /boot/grub/grub.cfg   
  2. sudo update-grub   
  3. To look for the bootloader location.  
  4. grub-probe -t device /boot/grub   
  5. To install GRUB 2 to the sdX partition’s MBR (sda, sdb, etc.)  
  6. sudo grub-install /dev/sdX   
  7. To recheck the installation. (sda, sdb, etc.) sudo grub-install --recheck /dev/sdX   
  8. Please check the following link for further details.  

 

https://help.ubuntu.com/community/Grub2#Reinstalling%20GRUB%202


本文來自CSDN博客,轉載請標明出處:http://blog.csdn.net/vesslan1029/archive/2010/05/06/5562298.aspx

【編輯推薦】

  1. Ubuntu GRUB非常優秀的系統引導器
  2. Ubuntu GRUB開機選項修改
  3. Ubuntu grub利用安裝光盤硬盤安裝ISO文件
  4. Linux rescuev修復模式跨越控制臺登錄
  5. Linux rescue單用戶模式修復模式
責任編輯:chenqingxiang 來源: CSDN
相關推薦

2010-06-13 10:11:46

Ubuntu Grub

2010-04-30 09:37:07

Ubuntu 10.0GRUB2

2010-06-13 13:17:51

Ubuntu9.10

2010-06-13 10:44:57

Ubuntu Grub

2010-06-17 12:48:05

livecd 修復Gr

2010-06-17 13:30:22

Grub修復工具

2010-06-17 15:59:39

Grub2 編輯

2017-06-13 13:53:21

2010-06-17 12:57:27

如何修復Grub

2010-06-17 16:23:32

Grub2 配置

2011-08-30 16:03:59

UbuntuGrubCustomi

2010-06-17 16:54:54

Grub2背景

2022-02-15 09:19:55

Ubuntu 20.Grub2Linux

2012-11-09 16:51:06

Grub2ISO

2010-06-12 13:49:50

Ubuntu 10.0

2010-06-17 11:35:24

Ubuntu 修復Gr

2010-06-17 09:39:07

Ubuntu Grub

2010-06-13 12:59:15

Ubuntu xp G

2010-06-13 13:11:18

Ubuntu xp G

2010-06-12 10:03:20

Ubuntu Grub
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 亚洲精品久久久一区二区三区 | 在线一区二区三区 | 国产福利资源 | 涩涩导航| 精品成人免费视频 | 日本免费视频 | 懂色av一区二区三区在线播放 | 亚洲人成人一区二区在线观看 | 国产一区二区在线免费观看 | 成人在线网 | 一区二区三区在线免费看 | 久久久久久免费免费 | 日韩欧美在 | 成人不卡 | 国产视频1区 | 久久伊人精品 | 国产色婷婷精品综合在线播放 | 日韩亚洲一区二区 | 亚洲人在线 | 亚洲午夜精品视频 | 国产一区二区三区视频 | 91精品国模一区二区三区 | 国产一级片91| 一区二区久久 | 欧美极品少妇xxxxⅹ免费视频 | 日韩精品极品视频在线观看免费 | 日韩欧美三级在线 | 久久久亚洲综合 | 欧美一区二区三区在线播放 | 亚卅毛片| 国产免费一级片 | 国产一伦一伦一伦 | 国产精品三级 | 国产欧美精品 | 亚洲成人蜜桃 | 久久噜噜噜精品国产亚洲综合 | 黄色成人av| 五月天综合影院 | 日韩快播电影网 | 欧美男人天堂 | 国产免费一区二区三区网站免费 |