首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Clonezilla后修复Grub

Clonezilla后修复Grub
EN

Ask Ubuntu用户
提问于 2015-04-07 11:40:49
回答 1查看 3.9K关注 0票数 0

我使用clonezilla从另一台计算机(以前的Ubuntu12.04)安装了一个分区映像(Ubuntu14.04)。另一台计算机上的系统分区是sda1,在我的计算机上是sda4 (我有一个带有windows、MBR、UEFI、交换到其他sda的多引导系统)。安装映像后,我的计算机无法再启动,因为grub无法在sda4上找到新的Ubuntu14.04。不幸的是,我无法运行启动修复,既不能从棍子,也不能从Ubuntu现场会议。有人知道怎么修理我的食物吗?

下面是引导修复错误日志文件输出的第一部分:

代码语言:javascript
复制
Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 9Feb2015]


============================= Boot Info Summary: ===============================

 => Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector 
    386664576 of the same hard drive for core.img, but core.img can not be 
    found at this location.
 => No boot loader is installed in the MBR of /dev/sdb.
 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdc.
 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdh.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 7/2008: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/Boot/bkpbootx64.efi /EFI/Boot/bootx64.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bkpbootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/bootx64.efi 
                       /EFI/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 14.04.1 LTS 
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 
EN

回答 1

Ask Ubuntu用户

发布于 2015-04-07 12:22:44

看起来,至少是源计算机使用了EFI。如果新计算机也使用EFI,您应该能够使用my 重新找到引导管理器作为紧急引导系统:

  1. 下载页面下载CD-R或USB驱动器版本.
  2. 从所述映像中准备引导介质。
  3. 引导rEFInd.这可能需要使用计算机的内置引导管理器(通常通过函数键访问)。
  4. rEFInd应该向您展示所有Linux内核的选项。选择一个并按回车键。

如果幸运的话,计算机就会启动。然后,您可以通过Debian包或PPA安装rEFInd,或者运行引导修复。

如果您有问题,您可能需要启动一个紧急系统并为您的新系统编辑您的/etc/fstab文件,因为您的文件系统UUID可能已经更改。在这种情况下,最简单的方法是将/行的第一个条目更改为/dev/sda4,而不是UUID={whatever}。只要付出更多的努力,您就可以使用blkid来学习新的UUID值(S),并进行适当的替换。

票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/606333

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档