zoukankan      html  css  js  c++  java
  • "Installation failed !" in GUI but not in CLI (/usr/bin/winusb: line 78: 18265 Terminated )

    "Installation failed !" in GUI but not in CLI (/usr/bin/winusb: line 78: 18265 Terminated )

    Installation failed !
    Exit code: 256
    Log:
    **blank**
    

    _001

    -----

    Install log(when running winusbgui as root)

    Installation failed !
    Exit code: 256
    Log:
    Formatting device...
    Wait 3 seconds for block device nodes to populate...
    mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
    mkfs.fat 3.0.28 (2015-05-16)
    Mounting...
    mount: /dev/loop0 is write-protected, mounting read-only
    Copying...
    Installing grub...
    Installing for i386-pc platform.
    Installation finished. No error reported.
    Installing grub.cfg...
    Exiting...
    Syncing...
    /usr/local/bin/winusb: 行 78: 20260 終止                  while true; do
        sleep 0.05; echo 'pulse';
    done
    Cleaning...
    /usr/local/bin/winusb: 行 78: 20593 終止                  while true; do
        sleep 0.05; echo 'pulse';
    done
    Unmounting and removing '/media/winusb_iso_1455346491_15903'...
    Unmounting and removing '/media/winusb_target_1455346491_15903'...
    

    P.S. "終止" in the output approximately means "terminated".

    ______________________________________________

    Installation failed !
    Exit code: 256
    Log:
    Formatting device...
    Wait 3 seconds for block device nodes to populate...
    mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
    mkfs.fat 3.0.28 (2015-05-16)
    Mounting...
    Copying...
    Installing grub...
    Installing for i386-pc platform.
    grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels.  This is not supported yet..
    grub-install: warning: 无法嵌入。在此次安装中 GRUB 只能通过使用块列表安装。但是块列表是不可信赖的,不推荐使用。.
    Installation finished. No error reported.
    Installing grub.cfg...
    Exiting...
    Syncing...
    /usr/bin/winusb: 行 78:  7273 已终止               while true; do
        sleep 0.05; echo 'pulse';
    done
    Cleaning...
    /usr/bin/winusb: 行 78: 12165 已终止               while true; do
        sleep 0.05; echo 'pulse';
    done
    Unmounting and removing '/media/winusb_iso_1482765713_2306'...
    Unmounting and removing '/media/winusb_target_1482765713_2306'...

    ==================================

    Do you have gksudo command installed on your system?

    ==================================

    This issue is also reproduced in the following article:
    Make A Bootable Windows 10 USB Install Stick On Linux With WinUSB Fork ~ Web Upd8: Ubuntu / Linux blog

    ====================================

    I got same problem but solved now by
    "sudo apt-get install gksu"
    "gksudo winusbgui"
    (i.e..type it without quotes)

     
    Lin-Buo-Ren referenced this issue on 8 Nov
    Closed

    Installation failure error (GUI version) #76

    Lin-Buo-Ren changed the title from "Installation failed !" in GUI but not in CLI to "Installation failed !" in GUI but not in CLI (/usr/bin/winusb: line 78: 18265 Terminated )

    ======================================================

    Hi again, please use the latest revision in GitHub repo and see if it's still reproducible(it should be, as we never fixed the problem anyway).

    =======================================================

    I was encountered this issue right now, with windows 10.
    I'm on ubuntu 16.04 and WinUSB 1.0.11

    I tried to run the installation anyway and it worked(I just ignored the error).

    =====================================================

    Hi, please use the latest revision in the repository (instead of latest released version) for reproducing the issue. We've have changed a quite amount of code since 1.0.11

    ======================================================

    I got similar problem and solve it!
    I dont now why, but if you use GUI its not work. Use command line in way:
    sudo winusb --format /path-to-ISO-file/filename.iso /dev/sdb (or other way to your flash)

    =========================================================

    The issue title already tell that CLI(command line interface) works.
    This issue is about the GUI problem

    =========================================================

     I started winusb from console:

    gksudo winusbgui



    then winusb detect my pendrive correctly, and I succesfully copied the Windows 7 installer to my pendrive (Ubuntu 14.10).
    shareimprove this answer
        
    Thanks, worked perfectly. – prdatur May 20 '15 at 17:23
    1     
        
    Without the sudo, the GUI prompts the user for administrative credentials, but ultimately fails. Running with sudo from the start works great. – Willi Ballenthin Jul 29 '15 at 17:05
    ============================================

    The USB must be formatted to FAT32. Otherwise, I still get this error. To do that, open GParted, select the correct device from the drop-down, right-click the partition and unmount it. Then, right-click and format to FAT32.

    ===============================================

    For some reason winusb kept hanging up on formatting the USB drive, said it couldn't access the drive. I ended up formatting to NTFS using the "Disks" application in Ubuntu and then using winusb from the terminal:

    sudo winusb -v --install Win_7_Pro.iso /dev/sdc

    NOTE: you can check to see what your usb device is using lsblk from a terminal, mine was sdc.

    Thank you so much, this is the only thing that ran successfully for me. – conradk May 31 at 21:04
            
       
    Same here for Linux Mint! – Michel Jun 17 at 21:11
            
       
    I got an error using /dev/sdc, but got it right after figuring out it needed to be /dev/sdc1 (with a "1" at the end in my case). – heltonbiker Nov 26 at 12:27
            
       
    This should be an accepted answer. – user983803

     

  • 相关阅读:
    php数组函数-array_push()
    php数组函数-array_pop()
    php数组函数-array_pad()
    php数组函数-array_merge()
    php数组函数-array_map()
    php数组函数-array_keys()
    php数组函数-array_key_exists()
    php数组函数-array_intersect()
    php数组函数-array_flip()
    php数组函数-array_filter()
  • 原文地址:https://www.cnblogs.com/sddai/p/6224401.html
Copyright © 2011-2022 走看看