Page 108 of 108 FirstFirst ... 85898106107108
Results 1,071 to 1,078 of 1078

Thread: Howto make USB boot drives

  1. #1071
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Howto make USB boot drives

    @C.S.Cameron,

    Thanks for testing mkusb-dus and mkusb-plug.

    1. I could not make mkusb-plug work with old versions of Ubuntu because of certain dependency problems, and you have discovered it. There is a detailed description here.

    2. I must admit that I have sort of abandoned Ubuntu 14.04.x LTS because its normal support has ended. This version is at extended security maintenance now (paid-for-support for companies, probably mainly for Ubuntu Server installations). I have tested the current versions of mkusb-dus with Ubuntu 16.04.x LTS. So I am happy that it still can be used with 14.04.x LTS although with some quirks.

    3. You are right, I had better spend some time on new manpage(s) and/or a manual in some other format.
    Last edited by sudodus; February 17th, 2021 at 05:54 PM. Reason: new manpages

  2. #1072
    Join Date
    Dec 2005
    Beans
    Hidden!
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Howto make USB boot drives

    I've used mkusb over several years and found it to be a very solid and easy to use product. It has always been for making bootable USB's from an ISO for Kubuntu/Ubuntu. Now I need to make a bootable USB for Windows 8.1, so obviously mkusb can do this also. Have downloaded the ISO from https://www.microsoft.com/en-au/soft...ad/windows8ISO , purchased a Win 8.1 pro key and now need to make the bootable USB.

    Of course anything regards this from the Microsoft site is all EXE's and in fact the tool suggested by one company was rufus. However I see that is also an EXE. So, to use mkusb for this, are there any specific parameters or options to be aware of please ?

  3. #1073
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Howto make USB boot drives

    @oygle,

    - mkusb works in Ubuntu (and some other Linux distros).

    - mkusb can create bootable USB drives with the Windows installer (for Windows 7 and newer versions). You can use mkusb-dus (mkusb version 12) or mkusb-plug for this purpose.

    So you can boot into an Ubuntu or Ubuntu family flavour operating system and use mkusb to create a Windows installer in a USB drive. The size of the USB drive should be at least 8 GB. I think you will find the options for this purpose in the graphical user interfaces of mkusb-dus and mkusb-plug. Please ask again if you need more details.



    As you write, Rufus is an exe file which is executable in Windows but not in Ubuntu. Rufus works well to create bootable USB drives with an installer for Ubuntu, another Linux distro or Windows.

  4. #1074
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,368
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Howto make USB boot drives

    @oygle,

    I have tried to make simple step by step instructions for installing Windows using mkusb-plug.

    https://askubuntu.com/questions/1274...274975#1274975

  5. #1075
    Join Date
    Dec 2005
    Beans
    Hidden!
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Howto make USB boot drives

    @sudodus - Thanks for your help. As it turns out, the plan to erase an old laptop and install Win 8 or 10 on that, have now come to a halt. I had no end of problems with trying to use the Microsoft ISO and a purchashed key, plus it does seem the HDD is well on its way out. It also seemed the MS install wrote to the USB, as the usb had errors ??

    It was hard to determine if the problems were on the usb or not, but I suspect the usb was fine. I even tried this

    Code:
    mkusb-nox Win8.1_English_x64.iso
    but then after spending most of the day on it, there arose a "loop situation" where the attempted installs appeared to only partially work, take out the media, restart, .. again and again. I need to forget about doing this on that old (now "cactus") laptop.

    Quote Originally Posted by C.S.Cameron View Post
    @oygle,

    I have tried to make simple step by step instructions for installing Windows using mkusb-plug.

    https://askubuntu.com/questions/1274...274975#1274975
    Thank you, I have made a note of that.

  6. #1076
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Howto make USB boot drives

    @oygle,

    mkusb-nox does not work with newer versions of Windows, that 'want to' create a file greater than 4 GB. Nowadays I would recommend mkusb-dus or mkusb-plug instead.

    - Is there any sign of failure (error message or warning message) when you try to create the Windows installer in the USB drive?

    - Please use mkusb-dus to wipe the whole USB pendrive 'Wipe the whole device'. After that it may behave better.

    - Please check that the internal drive is good. See this link about S.M.A.R.T. information.



    Edit:

    If you want to run in text mode, you can run mkusb-tow directly (instead of mkusb-nox). mkusb-tow is called from the GUIs of mkusb-dus and mkusb-plug. But it is safer to start it via a GUI (to get the correct target device).

    Code:
    $ mkusb-tow
     Run 'mkusb-tow' with sudo or as root 
    ------------- mkusb-tow makes it safer to create a boot drive -------------
    From Windows iso file create installer in e.g. USB pendrive or memory card
    Usage:
     sudo /path/mkusb-tow <source file> <target device> 
    Example:
     sudo mkusb-tow windows.iso /dev/sdx
    Help:
    mkusb-tow -h
    Version:
    mkusb-tow -v
    Available devices 
    NAME      SIZE TRAN   MODEL
    sda     238,5G sata   SanDisk SD6SB1M2
    sdb       3,7T sata   WDC WD4002FYYZ-0
    sdc      14,6G usb    Extreme         
    nvme0n1 232,9G nvme   KINGSTON SA2000M8250G
    Last edited by sudodus; March 30th, 2021 at 09:14 AM. Reason: tip about mkusb-tow

  7. #1077
    Join Date
    Dec 2005
    Beans
    Hidden!
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Howto make USB boot drives

    @sudodus, Thanks very much for your help.

    Quote Originally Posted by sudodus View Post
    mkusb-nox does not work with newer versions of Windows, that 'want to' create a file greater than 4 GB. Nowadays I would recommend mkusb-dus or mkusb-plug instead.
    That could well have been the problem.

    Quote Originally Posted by sudodus View Post
    - Is there any sign of failure (error message or warning message) when you try to create the Windows installer in the USB drive?
    No, none at all, whether I used the gui or the command line of mkusb and the tools included with it, all actions were fine, no errors.

    Quote Originally Posted by sudodus View Post
    - Please use mkusb-dus to wipe the whole USB pendrive 'Wipe the whole device'. After that it may behave better.

    - Please check that the internal drive is good. See this link about S.M.A.R.T. information.
    Thanks, yesterday I did actually get to install the Win 8.1 by modifying a registry key, so it's all okay now, thanks for your help.

  8. #1078
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Howto make USB boot drives

    mkusb version 12.7.0

    - mkusb 12.7.0
    * dus: p_checkpoint: full lsblk output to zenity
    * mkusb-plug: srctst and mkusb-sedd: puer:
    * identify new versions of Ubuntu (.disk/info)
    * and and a minor cosmetic tweaks (zenity window size)

    Improvement in program package mkusb version 12.7.0

    - dus 12.7.0: p_checkpoint: full lsblk output to zenity

    The zenity window will show the full output of lsblk
    Code:
    lsblk -o MODEL,NAME,FSTYPE,LABEL,SIZE "$target"
    in order to make it easier than before to identify the target device and avoid mistakes.

    - mkusb-plug 2.8.5: srctst: added a second test to identify newer versions of Ubuntu iso files and a minor cosmetic tweak (zenity window size)

    - mkusb-sedd 2.8.5: puer: added a second test to identify newer versions of Ubuntu iso files and some minor cosmetic tweaks (zenity window size etc)


    Unstable: You get/update this new version of mkusb from the unstable PPA via the following commands

    Code:
    sudo add-apt-repository universe     # this line only for standard Ubuntu
    
    sudo add-apt-repository ppa:mkusb/unstable
    sudo apt update
    sudo apt install mkusb           # to install
    # sudo apt full-upgrade          # upgrade to current version (with all other upgrades), only for installed systems
    
    sudo apt install mkusb guidus dus mkusb-common  # to upgrade all mkusb basic components including dus
    
    sudo apt install usb-pack-efi    # for persistent live drives that work in UEFI and BIOS mode with 32-bit iso files
    You get only the version dus (alone or with guidus) via one of the following commands (if you don't care about mkusb-11, mkusb-nox, mkusb-bas)

    Code:
    sudo apt install dus
    sudo apt install guidus
    You get only the version mkusb-plug via [the update command and] the following command,

    Code:
    sudo apt update
    sudo apt install mkusb-plug
    Alternative way to get mkusb: There are tarballs at

    - help.ubuntu.com/community/mkusb/gui/tarball with only dus and guidus (mkusb version 12),

    - help.ubuntu.com/community/mkusb/plug with only mkusb-plug.



    Stable: mkusb version 12.6.9 is in the stable PPA. The policy is to test mkusb for a long time and in several environments before it is uploaded to the stable PPA (unless there are minor tweaks or bug-fixes).

    You get/update this version via the following commands

    Code:
    sudo add-apt-repository universe      # this line only for standard Ubuntu
    
    sudo add-apt-repository ppa:mkusb/ppa
    sudo apt update
    sudo apt install mkusb            # to install
    # sudo apt full-upgrade           # upgrade to current version (with all other upgrades), only for installed systems
    
    sudo apt install usb-pack-efi     # for persistent live drives that work in UEFI and BIOS mode with 32-bit iso files
    You get only the version dus (alone or with guidus) via one of the following commands (if you don't care about mkusb-11, mkusb-nox, mkusb-bas)

    Code:
    sudo apt install dus
    sudo apt install guidus
    You get only the version mkusb-plug via [the update command and] the following command,

    Code:
    sudo apt update
    sudo apt install mkusb-plug
    Usually there is drive space enough to install all the following mkusb packages explicitly:

    Code:
    sudo apt update
    sudo apt install mkusb guidus mkusb-plug usb-pack-efi

    Please notice that if you have already installed mkusb-plug or dus/guidus from a tarball, you had better remove that version when you install via PPA. The advantage with the PPA version is that it gets updated/upgraded automatically along with other program packages that are installed from the Ubuntu repositories.
    Last edited by sudodus; 1 Day Ago at 09:02 AM. Reason: minor edit

Page 108 of 108 FirstFirst ... 85898106107108

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •