无法在 Fedora 上安装 grub

无法在 Fedora 上安装 grub

我无法grub在 上安装Fedora。我运行了以下命令,

# fallocate -l 1G archlinux.raw
#  fdisk archlinux.raw <<< '
$ > o
$ > n
$ > p
$ > 1
$ >
$ >
$ > a
$ > w'
# losetup -f --show archlinux.raw
# kpartx -a /dev/loop0
# mkfs.ext4 /dev/mapper/loop0p1
# TMPDIR=/full/path/to/temporary/directory
# mount /dev/mapper/loop0p1 $TMPDIR
# grub-install --boot-directory=$TMPDIR/boot /dev/loop0
Installing for i386-pc platform.
  Volume group "loop3p1" not found
  Cannot process volume group loop3p1
  Volume group "loop3p1" not found
  Cannot process volume group loop3p1
grub-install: error: disk `lvm/loop3p1' not found.

相关内容