livecd iso ディスク転送に失敗しました

livecd iso ディスク転送に失敗しました

livecd-iso-to-diskマルチブートUSBドライブの作成に使用します。しかし、エラーが発生した場合は当然--reset-mbr

▶ sudo livecd-iso-to-disk --format --reset-mbr --efi --multi --livedir fedora '/home/eexpss/ISO/Fedora-Workstation-Live-x86_64-25-1.3.iso' /dev/sdc1
Verifying image...
/home/eexpss/ISO/Fedora-Workstation-Live-x86_64-25-1.3.iso:   ec5039af1735642e222e97e02ab0e1e9
Fragment sums: f48e661d962e6316cbc6e16a4ee4ff9f99fa06151ceacc4f3f1973368a93
Fragment count: 20
Supported ISO: no
Press [Esc] to abort check.
Checking: 100.0%

The media check is complete, the result is: PASS.

It is OK to use this media.
/bin/livecd-iso-to-disk: line 492: : command not found

    WARNING: This will DESTROY All DATA on: /dev/sdc !!

        Press Enter to continue, or Ctrl C to abort.

/dev/sdc: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54
/dev/sdc: 8 bytes were erased at offset 0x1cdd7ee00 (gpt): 45 46 49 20 50 41 52 54
/dev/sdc: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa
/dev/sdc: calling ioctl to re-read partition table: Success
Waiting for devices to settle...
mkfs.fat 4.1 (2017-01-24)

        ALERT:
        The partition name must be 'EFI System Partition'.

        This can be set with a partition editor, such as parted,
        or you can run livecd-iso-to-disk with the --reset-mbr option.

これは488行から499行までです/bin/livecd-iso-to-disk

checkLVM() {
    local dev=$1

    if type pvs >/dev/null 2>&1 &&
        "$(pvs -o vg_name --noheadings $dev* 2>/dev/null || :)"; then  <-- line 492
        printf "\n        ATTENTION:
        Device '$dev' contains a volume group and cannot be formatted!\n\n
        You can remove the volume group using vgremove.\n"
        exitclean
    fi
    return 0
}

ベストアンサー1

12回のテストの後、私はそれが次のものであることを発見しました。--efi。このパラメータを削除すると、実行を続行できます。

livecd-iso-to-diskがLVMとUEFIを正しくサポートしていない可能性があると思いました。

おすすめ記事