livecd-iso-para-disco falhar

0

Eu uso livecd-iso-to-disk para fazer vários discos usb de inicialização. Mas pegue o erro, é claro que eu adicionei --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.

Aqui está a linha 488 a 499 em /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
}
    
por utopic eexpress 03.04.2017 / 12:22

1 resposta

1

Depois de testar dezenas de vezes, descobri que vem de - efi . Quando me livrar desse parâmetro, posso continuar a executar.

Acho que talvez o livecd-iso-to-disk não tenha suportado bem o LVM e o UEFI.

    
por 03.04.2017 / 18:16