ubuntu livecd修复superblock和修复grub
2018-01-10 08:31
441 查看
1.superblock修复
①打开livecd的ubuntu,输入命令fdisk -l②显示磁盘分区信息,ubuntu分区信息不显示挂载点,要找到自己的/分区,本人是挂载在/dev/sda7下。使用命令
fsck /dev/sda7
修复superblock,但要一直按y,使用-a或-y参数来自动修复,-y是因为某些文件系统仅支持此参数。本人使用-a参数时报错,-y没有使用。能修复superblock的原因是在其他分区中有superblock的备份。
2.grub修复(双系统引导修复)
①先连接网络。②添加boot-repair所在的源,注意没有联网会失败。输入命令
sudo add-apt-repository ppa:yannubuntu/boot-repair③更新可用原件包。输入命令
sudo apt update 或
sudo apt-get update④安装boot-repair。输入命令
sudo apt-get install -y boot-repair -y参数指当安装时自动回答yes,对于-y参数的解释如下
Automatic yes to prompts; assume "yes" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held package, trying to install a unauthenticated package or removing an essential package occurs then apt-get will abort. Configuration Item: APT::Get::Assume-Yes.⑤开启boot-repair
boot-repair出现界面,点击recommended repair(推荐修复),等一会修复完成。
相关文章推荐
- ubuntu利用写入镜像的U盘、Live CD/DVD修复grub
- 使用Ubuntu Live CD修复Grub引导
- ubuntu利用live-cd修复grub
- ubuntu can't start up--fix grub using ubuntu live cd
- 使用CDlive 修复被破坏的GRUB
- REINSTALL / RECOVER GRUB FROM UBUNTU LIVE CD / USB
- How to Repair, Restore, or Reinstall Grub 2 with a Ubuntu Live CD or USB
- ubuntu live CD修复受损的Windows引导MBR
- 修复ubuntu的grub的方法
- win7+ubuntu14.04双系统,重装win7后,修复grub方法
- 修复Ubuntu Grub的方法
- 修复ubuntu启动项grub
- Ubuntu10.04修复grub
- linux liveCD 修复文件系统
- UBUNTU修复grub
- 修复 Ubuntu 12.04 Grub 引导
- 关于ubuntu安装之后系统grub被破坏了之后进行修复的总结("error:file not found。 grub rescue")
- ubuntu修复grub,u盘引导问题
- 双系统上重装XP后修复GRUB找回ubuntu
- 修复Ubuntu 12.04 Grub 引导