Page 97 of 97 FirstFirst ... 4787959697
Results 961 to 967 of 967

Thread: Howto make USB boot drives

  1. #961
    Join Date
    Jun 2007
    Location
    Southern Ceylon
    Beans
    3,202
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Howto make USB boot drives

    The Phoronix Benchmarks made me interested: https://www.phoronix.com/scan.php?pa...20-linux&num=1. I am trying it on a Live USB made using baliniaEtcher. Clear looks like Ubuntu on the outside, but things look different on the inside. It seems smooth and fast , but maybe "better the devil you know than the devil you don't know"
    Page that explains Ventoy Persistence: https://www.ostechnix.com/create-per...#comment-78804. I built a 6GB persistence.img file, no 4GB limit. USB won't boot on my HP.

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

    Re: Howto make USB boot drives

    Easy way to get installed Ubuntu 20.04 LTS that boots in UEFI and BIOS

    This is the easy way for you to get an installed Ubuntu system, that boots both in UEFI and BIOS mode, and you can use it in several cases. However,

    - if you want to learn how to do it, or
    - if you want to be sure of the content (and don't rely on me), or
    - if you want hibernation, or
    - if you want an encrypted disk (LVM with LUKS encryption),

    then you must do it yourself. (In the encrypted disk case, you must create the passphrase yourself during the installation.)

    Using a method similar to what is described by C.S.Cameron I have created

    - a compressed image file of
    - an installed system of Ubuntu 20.04 LTS
    - that can boot both in UEFI mode and BIOS mode (alias CSM alias legacy mode).

    This compressed image file expands to 15.7 GB, so it fits into drives with size at least 16 GB. It is easy to extract and clone it to an external drive

    - with mkusb (only one step),
    - but you can use any
    . extraction tool,
    . plus cloning tool,
    . plus a tool to fix the gpt partition table gpt-fix. You may have problems in Windows to find such a tool, and in several cases you can skip it, and the drive will work anyway.

    After extraction, cloning and fixing, it is a good idea to expand the root partition, where Ubuntu is installed in order to use the whole drive, when you are using a big drive ( > 16 GB ).

    There are more details about this image file

    dd_unb_ubuntu-20.04_15GB_2020-06-26.img.xz

    at the following links,

    help.ubuntu.com/community/Installation/UEFI-and-BIOS

    help.ubuntu.com/community/Installation/UEFI-and-BIOS/stable-alternative - details of the method to create the system

    Finally, the installed system has a password, and you are encouraged to change it,

    Password: changeme
    Attached Images Attached Images
    Last edited by sudodus; 2 Weeks Ago at 03:33 PM. Reason: added link - details of the method ...; hibernation ...

  3. #963
    Join Date
    Jun 2007
    Location
    Southern Ceylon
    Beans
    3,202
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Howto make USB boot drives

    I tried this and am impressed.
    Smaller to download than the Ubuntu ISO but contains a Full 20.04 install.
    Easy and quick to flash to USB disk from Windows or Linux. I used Rufus.
    Simple to customize and upgrade.
    Just like having a desktop on a thumbdrive or SD card.
    Good job sudodus

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

    Re: Howto make USB boot drives

    Easy way to get installed Ubuntu 20.04 LTS that boots in UEFI and BIOS - continued

    I have a computer with an nvidia card, and installed the nvidia proprietary driver, that was recommended and selected automatically by Ubuntu. It works well in that computer, I could see that VLC uses vdpau acceleration (using the graphics chip to play video).

    Then I moved the drive with the installed Ubuntu 20.04 LTS system to other computers (laptops), that have no nvidia card, and the graphics work as before, the correct free drivers are selected and work as they should.

    So in this way, this installed system is more portable than a [persistent] live system, where you cannot install an nvidia proprietary driver.

    Finally, please notice that you, the end user, must install the proprietary driver (if you want it). Due to the licensing rules it must not be included in the compressed image file, and the same applies to the package ubuntu-restricted-extras.
    Last edited by sudodus; 2 Weeks Ago at 07:54 AM. Reason: and the same applies to the package ubuntu-restricted-extras

  5. #965
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Howto make USB boot drives

    mkusb version 12.5.8

    - mkusb 12.5.8
    . dus-wipe: added p_zentest, wf_prep, wf_cleanup to use watch-flush

    Improvement in version 12.5.8

    The program watch-flush is used also when wiping the whole device. This keeps the user informed about the progress and eta (estimated time until the wiping is finished).



    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.7 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.

  6. #966
    Join Date
    Jul 2020
    Beans
    4

    Re: Howto make USB boot drives

    exelente

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

    Re: Howto make USB boot drives

    There is a bug in the Groovy iso files, that affects booting from iso files. In many PC computers, it has been impossible to boot from USB drives with cloned live systems. There is a bug-fix, that makes it work again, at least in some computers. See these links,

    - Re: groovy gorilla installer crashes, post #22
    - Launchpad bug report #1886148 - failure to boot groovy daily



    Persistence by mkusb-dus is also affected. Persistent live systems of Ubuntu family flavours with these new Groovy iso files need the 'upefi' setting - usb-pack-efi - in order to work. I will wait a while before modifying mkusb, because I expect more changes until this bug is completely fixed.



    For isotesting other features and program packages you can create USB drives with grub-n-iso systems according to the following link. Such systems seem to work both live-only and persistent live, they are not affected by this bug.

    - help.ubuntu.com/community/Installation/iso2usb/isoboot

Page 97 of 97 FirstFirst ... 4787959697

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
  •