Page 102 of 102 FirstFirst ... 25292100101102
Results 1,011 to 1,019 of 1019

Thread: Howto make USB boot drives

  1. #1011
    Join Date
    Jun 2007
    Location
    A Village in the Jungle
    Beans
    3,266
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Howto make USB boot drives

    Yes thank you sudodus.
    It is not so difficult to extract the .img file before using Etcher.
    It is probably better to use Rufus when working in Windows.

  2. #1012
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Howto make USB boot drives

    mkusb version 12.5.9, 12.6.0, 12.6.1

    - mkusb 12.5.9
    . dus-live: mkcmd_runcmd: size also when cloning from block device
    . watch-flush: fix if dirtorig = 0 to avoid division by zero

    - mkusb 12.6.0
    . dus-persistent: grub-n-iso: --no-same-owner added to tar command
    .. tar -xf "$mkusb_sdir"/usb-pack_efi.tar.xz --directory "$targ1"
    . To make 'usb-pack-efi' work with secure boot with fix for the boothole bug there are new versions of the files
    .. usb-pack_efi-2.02.tar.xz
    .. usb-pack_efi-2.04.tar.xz

    - mkusb 12.6.1
    .. If grubimg, do not extract from usb-pack_efi.tar.xz
    .. use the same image as grub-2.02.img.xz and grub-2.04.img.xz
    .. (not now, maybe later simplify the logic for grubimg)
    .. A set of tests indicate, that this version works also with secure boot taking care of the fix to squash the boothole bug.

    Improvement in version 12.5.9

    Minor bugfix to show progress including flushing the buffers also when cloning from block device

    Improvement in version 12.6.0, 12.6.1

    Major improvement to make mkusb-dus work with secure boot with fix for the boothole bug via 'usb-pack-efi'



    Unstable 1: 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.5.8 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; 2 Weeks Ago at 05:43 PM. Reason: added 12.6.0, 12.6.1

  3. #1013
    Join Date
    Jun 2007
    Location
    A Village in the Jungle
    Beans
    3,266
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Howto make USB boot drives

    Minor problem with mkusb_grub-boot-template-for-uefi-n-bios_fat32_4GB_use-in-windows.img.xz
    I am unable to resize the ESP partition.

  4. #1014
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Howto make USB boot drives

    Quote Originally Posted by C.S.Cameron View Post
    Minor problem with mkusb_grub-boot-template-for-uefi-n-bios_fat32_4GB_use-in-windows.img.xz
    I am unable to resize the ESP partition.
    0. Are you talking about this file:
    Code:
    $ ls -l mkusb_grub-boot-template-for-uefi-n-bios_fat32_4GB_use-in-wins.img.xz
    -rw-r--r-- 1 root root 3331492 aug 11 22:47 mkusb_grub-boot-template-for-uefi-n-bios_fat32_4GB_use-in-wins.img.xz
    
    $ md5sum mkusb_grub-boot-template-for-uefi-n-bios_fat32_4GB_use-in-wins.img.xz
    f13fc267e60401a883193005983e7709  mkusb_grub-boot-template-for-uefi-n-bios_fat32_4GB_use-in-wins.img.xz
    1. Why do you want to resize the ESP partition?

    2. What tool do you use?

    3. What is the error output or symptom?

  5. #1015
    Join Date
    Jun 2007
    Location
    A Village in the Jungle
    Beans
    3,266
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Howto make USB boot drives

    Yes that is the file.
    Oops, it looks like this is normal with the template images.
    The FAT32 boot partition can be moved, but it can not be expanded or contracted, at least the usable space can not be expanded or contracted.
    ie in GParted the overall size of the partition can be expanded, but the Used space plus the Unused space remain the same. The original space is white and the new space is grey. I have not been able to shrink the overall size once expanded. I have never noticed this before.

    Sorry, this sounds pretty confusing, I have just been trying to boot groovy ISO files in UEFI and have not had much luck.

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

    Re: Howto make USB boot drives

    @C.S.Cameron,

    Thanks for the details.

    1. Yes, I can confirm that gparted cannot change the size of [the FAT file system in] the ESP partition.

    2. I tested with a fresh partition with FAT32 in a GUID partition table (GPT). And gparted fails with that system too.

    3. I tested with a fresh partition with FAT32 in an MSDOS partition table (the old kind of partition table). In this case gparted can change the size.

    It looks like a bug in gparted.



    Now my questions are:

    - Why do you want to resize the ESP partition?

    - Is this important, so important, that I should create a template with an MSDOS partition table in order to work around this problem?

  7. #1017
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Howto make USB boot drives

    This template

    Code:
    mkusb_grub-boot-template-for-uefi-n-bios_fat32_4GB_use-in-wins.img.xz
    worked for me with the Lubuntu Groovy daily iso file dated 2020-09-14.

    Today I tested with the current daily Lubuntu Groovy dated 2020-09-20, and it works too, both in BIOS mode and UEFI mode. See the attached file.

  8. #1018
    Join Date
    Jun 2007
    Location
    A Village in the Jungle
    Beans
    3,266
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Howto make USB boot drives

    Not so important. I was just doing some trial and error experimenting. This was just a curiosity I had never noticed before.

    Both mkusb_grub-boot-template-for-uefi-n-bios_fat32_4GB_use-in-wins.img.xz and mkusb_grub-boot-template-for-uefi-n-bios_fat32_4GB_use-in-wins_2020-09-07.img.xz are working for me in BIOS mode with groovy-desktop-amd64(200910).iso. In UEFI mode I either got the initramfs unpacking error or the skip to internal drive. I will try do download the latest daily tonight.

  9. #1019
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Howto make USB boot drives

    mkusb version 12.6.2, 12.6.3

    - mkusb 12.6.2
    . dus & dus-*; variable font and window size of zenity
    .. new function: p_zensize where msiz percent sets the size
    - mkusb 12.6.3
    . mkusb-plug: mkusb-sedd: puer, puer0:
    .. Workaround because of bug:
    .. https://bugs.launchpad.net/bugs/1895329

    Improvement in version 12.6.2

    Automatic logic in mkusb-dus to get a suitable text size and window size in high resolution screens, greater than 1920x1080.

    Details about font size for high resolution: The default font in monitors with 2560x1440 or 3840x2160 pixels may be too small in Ubuntu Desktop and the Ubuntu family flavours.

    In Ubuntu 20.04.x LTS with Gnome desktop environment you can use gnome-tweak-tool and increase the default fonts from 11 to 16, which should make things nice. This is matched by the automatic logic in mkusb-dus. (However, if you use the shortcut by the Ubuntu settings tool and set '200%', mkusb-dus will believe that the font is still too small, and make the windows (and font, that it can control) very large.)

    Improvement in version 12.6.3

    Workaround because of Bug #1895329: The partition for persistence with ext file system is created by mkusb-sedd in mkusb-plug (instead of expecting it to be created automatically as in Ubuntu 20.04.x LTS).



    Unstable 1: 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, mkusb-plug)

    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.5.8 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; 3 Days Ago at 05:31 PM. Reason: details about font size for high resolution

Page 102 of 102 FirstFirst ... 25292100101102

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
  •