无法安装 burg:安装过程中出错

无法安装 burg:安装过程中出错

我尝试安装 burg 但出现错误。

我使用了以下命令:

sudo add-apt-repository ppa:n-muench/burg
sudo apt-get update && sudo apt-get install
sudo apt-get install burg burg-common burg-emu burg-pc burg-themes burg-themes-common

到目前为止一切都很顺利,但是在执行以下命令后出现错误:

aneal@ubuntu:~$ sudo burg-install /dev/sda3 && sudo update-burg
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
/usr/sbin/burg-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/burg-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/burg-setup: error: if you really want blocklists, use --force.

我认为 sda3 是在 MBR 中安装 brug 的相关驱动器

现在我想我无法重新启动。我想如果我启动,我会得到 grub 救援,我知道如何克服它,我现在的问题是如何将 burg 安装到 MBR 中。

编辑:

aneal@ubuntu:~$ sudo burg-install /dev/sda && sudo update-burg
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
Installation finished. No error reported.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
Generating burg.cfg ...
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
burg-probe: error: /host/ubuntu/disks/root.disk is not a block device.
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
Found Windows 7 (loader) on /dev/sda2
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
done

sda2 的结果也相同。

fdisk -l 结果:

aneal@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x97646c29

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1531    12290016+  42  SFS
/dev/sda2   *        1531        1543      102400   42  SFS
/dev/sda3            1543       14070   100618240   42  SFS
/dev/sda4           14070       38914   199559512   42  SFS

Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
49 heads, 48 sectors/track, 3292 cylinders
Units = cylinders of 2352 * 512 = 1204224 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *           4        3293     3868160    b  W95 FAT32

答案1

安装 Burg 的命令应该是sudo burg-install /dev/sda && sudo update-burg

你应该考虑安装 Burg Manager -安装详情可在此处找到- 它是一个 GUI 界面,用于帮助 Burg 的配置和设置。

相关内容