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

Ubuntu 10.04 Grub版本發布及問題解決

系統 Linux
Ubuntu 10.04 Grub終于發布了,原來打算過一陣子再把9.10升一下的,但今天在update manager里,看到已經有提示說可以直接升到10.04

Ubuntu 10.04 Grub一時沖動沒忍住,于是就升了,接著就碰到魔鬼了:重啟后在grub那步出錯,過不去了,提示 “GRUB loading error: the symbol ‘grub_puts_’ not found”,光標就停在Ubuntu 10.04 Grub rescue>后面,google找了一些文章,發現國內的幾個都大同小異,后面有一些步驟根本沒有交代清除,做到一半就進行不下去了,后來找到一個老外的帖子, 一步一步都很清楚,照著做下來,成功地把Ubuntu 10.04 Grub修復了。

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

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

Verify the install (use the correct device, for example sda . Do not specify a partition): sudo grub-install --recheck /dev/sdX
Exit chroot : CTRL-D on keyboard
Unmount devices:sudo umount /mnt/dev
If you mounted a separate /boot partition:sudo umount /mnt/boot
Unmount last device:sudo umount /mnt
Reboot.reboot

Post-Restoration Commands
Once the user can boot to a working system, try to determine why the system failed to boot. The following commands may prove useful in locating and/or fixing the problem.
To refresh the available devices and settings in /boot/grub/grub.cfg
sudo update-grub
To look for the bootloader location.
grub-probe -t device /boot/grub
To install GRUB 2 to the sdX partition’s MBR (sda, sdb, etc.)
sudo grub-install /dev/sdX
To recheck the installation. (sda, sdb, etc.) sudo grub-install --recheck /dev/sdX
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. DataRescue IDA Pro動態鏈接庫遠程格式串處理漏洞
  2. DataRescue IDA Pro PE引入表解析緩沖區溢出漏洞
  3. 深入淺出的了解Linux rescue
  4. Linux rescuev修復模式跨越控制臺登錄
  5. Linux rescue單用戶模式修復模式
責任編輯:chenqingxiang 來源: CSDN
相關推薦

2010-06-17 11:35:24

Ubuntu 修復Gr

2010-06-13 11:41:53

Ubuntu Grub

2011-08-16 14:32:23

UbuntuLinuxQQ

2010-06-17 09:59:34

Ubuntu 10.0

2009-11-17 10:43:59

ubuntu 9.10輸入法解決方法

2011-09-02 15:01:29

ubuntu

2011-09-07 17:41:01

ubunturvm

2013-08-13 10:59:03

Android Stu啟動

2011-08-18 18:46:24

SQL Server

2011-07-22 09:30:35

Ubuntu 10.0

2011-06-27 16:44:59

Qmake

2011-06-13 16:16:32

Qt 中文問題

2011-09-02 13:25:39

UbuntuMacbuntu

2010-04-28 18:01:15

Unix系統

2012-02-17 10:13:19

Ubuntu 10.0

2011-08-22 18:03:32

Ubuntupdnsd

2011-08-03 11:07:01

布線管理軟件

2011-09-06 09:26:03

2010-06-12 09:02:12

Ubuntu Grub

2010-05-05 10:25:24

Unix操作系統
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 中文字幕在线观看视频网站 | 欧美女优在线观看 | 国产视频精品在线 | 精品精品 | 国产综合久久久久久鬼色 | 国产人久久人人人人爽 | 久久久www成人免费精品 | 91精品午夜窝窝看片 | 国产婷婷精品 | 久久久久亚洲精品 | 在线观看av网站永久 | 国产欧美精品一区二区三区 | 欧美影院 | 亚洲日本成人 | 男人的天堂在线视频 | 亚洲福利一区 | 亚洲在线免费观看 | 欧美亚洲高清 | 一区二区在线免费观看视频 | 欧美激情国产精品 | 国产精品入口 | 国产精品久久久久久久久久久新郎 | www.久| 亚洲精品免费观看 | 日日骚视频 | 91精品国产99 | 我爱操| 91一区二区 | 天天射视频| 午夜色播 | 91资源在线 | 国产亚洲欧美在线视频 | 欧美日韩在线精品 | 99在线免费观看视频 | 蜜桃五月天| 日本人做爰大片免费观看一老师 | 欧美日一区二区 | 亚洲 日本 欧美 中文幕 | 电影在线 | 免费国产视频 | 日韩成人在线观看 |