Page 17 of 126 FirstFirst ... 715161718192767117 ... LastLast
Results 161 to 170 of 1260

Thread: Howto make USB boot drives

  1. #161
    Join Date
    Jun 2005
    Beans
    Hidden!

    Re: Howto make USB boot drives

    @ventrical +1
    Being naturally pernickity is what I like the most about your threads.(Takes the guess work out of guessing meanings)
    Plus you keep me on my toes when I try to take the short way out in helping others.
    Thanks my friend and Regards

  2. #162
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: Howto make USB boot drives

    Quote Originally Posted by runrickus View Post
    @ventrical +1
    ....I try to take the short way out in helping others.
    Thanks . I needed to hear that. Actually it is one of my failings... hopefully that I can work on..

    Regards..

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

    Re: Howto make USB boot drives

    mkusb version 10.1.1 has a clean[er] GUI interface

    I have been told, that the 'mkusb console', which is a terminal window, can scare many users from mkusb. I had time, so I made an attempt to modify mkusb to look more like a standard GUI program. Have a look at mkusb version 10.1.1

    1. Running mkusb from the desktop file (via a menu or file browser)

    There are old and new dialogue windows and new progress windows. At the very end, the user will get a window with what was printed to 'mkusb console' before, but is now redirected to '~/mkusb.log'. See the attached files.

    - Is it a good idea to show ~/mkusb.log like that, or should it be optional (to be selected from a menu instead of having to look at it)?

    2. Running mkusb from the command line

    It uses the terminal window as the 'mkusb console' like before, but there are also progress windows.

    *. Get this version from the unstable PPA

    mkusb 10.1.1 is available from ppa:mkusb/unstable via the following command lines,

    Code:
    sudo add-apt-repository ppa:mkusb/unstable
    sudo apt-get update
    sudo apt-get install mkusb
    if you want mkusb-nox
    Code:
    sudo apt-get install mkusb-nox
    or if you want both mkusb and mkusb-nox
    Code:
    sudo apt-get install mkusb mkusb-nox
    that will install the bleeding edge version of mkusb and/or mkusb-nox (testing new features and bug-fixes).
    Attached Images Attached Images

  4. #164
    Join Date
    Jun 2005
    Beans
    Hidden!

    Re: Howto make USB boot drives

    All I can say is Nice, very Nice.
    Along with your attachments (the Pictures) should be clear to the majority.
    By the way I have not had any errors as of yet.(Numerous installs)
    Thanks sudodus
    Last edited by QDR06VV9; September 10th, 2015 at 09:19 PM.

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

    Re: Howto make USB boot drives

    Thanks runrickus

    I'm glad that mkusb is useful for you.

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

    Re: Howto make USB boot drives

    mkusb 10.2 has a 'wipe menu' with several useful options

    mkusb is available for testing from phillw.net

    1. Some convenient alternatives are added to wiping

    • s "Standard: create MSDOS partition table with FAT32 partition"
    • b "Big drive: create GUID partition table with NTFS partition"
    • g "General: use 'gparted' to make partition table and partition(s)"
    • a "Advanced: create GUID partition table (skeleton for installing an OS)"
    • f "wipe the First megabyte (mibibyte)"
    • w "wipe the Whole device - consider other options except for special cases"


    2. Command line token 'wipe' short-cut to the wipe menu

    Code:
    sudo -H mkusb wipe
    3. The manual man mkusb is updated

    Screenshots
    Attached Images Attached Images
    Last edited by sudodus; September 16th, 2015 at 01:44 PM. Reason: minor edits

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

    Re: Howto make USB boot drives

    Zenity's option to render html works again in Wily. Bug #1478386 is fixed.

    Quote Originally Posted by comment #10

    This bug was fixed in the package zenity - 3.16.3-1ubuntu3

    ---------------
    zenity (3.16.3-1ubuntu3) wily; urgency=medium

    * debian/control.in: build-depends on gnome-common

    -- Sebastien Bacher <seb128@ubuntu.com> Thu, 01 Oct 2015 17:04:38 +0200
    Changed in zenity (Ubuntu):
    status: Fix Committed → Fix Released
    This means that mkusb looks good again in Wily (it need not use the workaround 'mkusb-legacy')

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

    Re: Howto make USB boot drives

    mkusb 10.3 makes a persistent live system with a GPT partition table
    and a partition with the NTFS file system for data sharing with Windows.


    You can install it from ppa:mkusb/unstable and from phillw.net. See the following link for more details.

    help.ubuntu.com/community/mkusb/gui

    As before, mkusb can clone an ISO file to a live-only system but also create a persistent live system that can boot 32-bit and 64-bit Ubuntu family operating systems in BIOS and UEFI mode (but not in secure boot).

    Test results with mk-grub-n-iso-s which is built into mkusb version 10

    This new version of mkusb makes a GPT partition table and a partition with the NTFS file system for data sharing with Windows. This improves the exchange of data with [computers running] Windows, and it makes it possible to use with huge disks (more than 2 GB).

    The following code windows illustrate the partition table.



    Seen from the system where it is created with mkusb

    Code:
    $ sudo parted -s /dev/sdd print
    Model: SanDisk ExtremePro (scsi)
    Disk /dev/sdd: 128GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    
    Number  Start   End     Size    File system  Name     Flags
     2      1049kB  2097kB  1049kB               primary  bios_grub
     3      2097kB  66.1MB  64.0MB  fat32        primary  boot
     4      66.1MB  967MB   901MB                primary
     5      967MB   73.4GB  72.4GB  ext4         primary
     1      73.4GB  128GB   54.6GB  ntfs         primary  msftdata
    
    $ sudo lsblk -fm /dev/sdd
    NAME   FSTYPE  LABEL              MOUNTPOINT                NAME     SIZE OWNER GROUP MODE
    sdd                                                         sdd    119.2G root  disk  brw-rw----
    ├─sdd1 ntfs    usbdata            /media/usbdata            |-sdd1  50.9G root  disk  brw-rw----
    ├─sdd2                                                      |-sdd2     1M root  disk  brw-rw----
    ├─sdd3 vfat    lubwily32                                    |-sdd3    61M root  disk  brw-rw----
    ├─sdd4 iso9660 Lubuntu 15.10 i386 /media/Lubuntu 15.10 i386 |-sdd4   859M root  disk  brw-rw----
    └─sdd5 ext4    casper-rw          /media/casper-rw          `-sdd5  67.5G root  disk  brw-rw----
    Seen from itself running a persistent live session

    Code:
    lubuntu@lubuntu:~$ sudo df -h
    Filesystem      Size  Used Avail Use% Mounted on
    udev            931M     0  931M   0% /dev
    tmpfs           189M  5.3M  184M   3% /run
    /dev/sdf4       812M  812M     0 100% /cdrom
    /dev/loop0      707M  707M     0 100% /rofs
    /cow             67G   77M   63G   1% /
    tmpfs           944M     0  944M   0% /dev/shm
    tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    tmpfs           944M     0  944M   0% /sys/fs/cgroup
    tmpfs           944M  4.0K  944M   1% /tmp
    tmpfs           189M  4.0K  189M   1% /run/user/999
    /dev/sdf5        67G   77M   63G   1% /media/lubuntu/casper-rw
    /dev/sdf1        51G   88M   51G   1% /media/lubuntu/usbdata
    
    lubuntu@lubuntu:~$ sudo parted -s /dev/sdf print
    Model: SanDisk ExtremePro (scsi)
    Disk /dev/sdf: 128GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: 
    
    Number  Start   End     Size    File system  Name     Flags
     2      1049kB  2097kB  1049kB               primary  bios_grub
     3      2097kB  66.1MB  64.0MB  fat32        primary  boot, esp
     4      66.1MB  967MB   901MB                primary
     5      967MB   73.4GB  72.4GB  ext2         primary
     1      73.4GB  128GB   54.6GB  ntfs         primary  msftdata
    
    lubuntu@lubuntu:~$ sudo lsblk -fm /dev/sdf
    NAME   FSTYPE  LABEL              UUID                                 MOUNTPOINT               NAME     SIZE OWNER GROUP MODE
    sdf                                                                                             sdf    119.2G root  disk  brw-rw----
    ├─sdf1 ntfs    usbdata            1EC82C0A133468EA                     /media/lubuntu/usbdata   ├─sdf1  50.9G root  disk  brw-rw----
    ├─sdf2                                                                                          ├─sdf2     1M root  disk  brw-rw----
    ├─sdf3 vfat    lubwily32          1D8E-0F38                                                     ├─sdf3    61M root  disk  brw-rw----
    ├─sdf4 iso9660 Lubuntu 15.10 i386 2015-10-03-17-30-41-00               /cdrom                   ├─sdf4   859M root  disk  brw-rw----
    └─sdf5 ext4    casper-rw          8c2b0f82-3cbe-459e-84de-fed1d750cd88 /media/lubuntu/casper-rw └─sdf5  67.5G root  disk  brw-rw---
    Seen from Windows:

    The usbdata partition is automatically mounted by Windows.

    The last partition 'on the drive surface' is the first partition in the partition table, and that is what counts for Windows to see it. This trick makes it possible to have the system partitions of the persistent live system near 'the head end of the drive surface', which is an advantage particularly with huge disks. With the GPT partition table this system should work even with a huge USB disk, (exceeding 2 GB).



    This version needs testing. Maybe some bug should be squashed before it can be moved to the stable PPA, ppa:mkusb/ppa. So you are very welcome to test it

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

    Re: Howto make USB boot drives

    mkusb 10.3 tested with a 4 TB hard disk drive

    I verified that mkusb can create a persistent live system that uses a 4 TB hard disk drive with a huge usbdata partition with NTFS ( > 3 TB ).

    It works like it should with a new 'external box' with eSATA and USB 3. See the attached picture and the following code box with the mkusb console output, mkusb.log. In this extreme example, 184 Gibibytes are allocated for persistence, and 174 Gibibytes are actually available for files (program packages, tweaks and personal data files). The size of the usbdata partition is 3.5 Tibibytes.

    (An older box with eSATA and USB 2 could manage more than 2 TB only via eSATA. The persistent live system could boot also via USB, but the huge usbdata partition with NTFS was not available.)

    Code:
    The mkusb console window displays,
    or the file ~/mkusb.log contains:
    output from the engine behind the zenity curtain.
    ---------------------------------------------------------------------------
    start [mkusb 10.3] @ 2015-10-08 04:13:45 PM
    ---------------------------------------------------------------------------
    Current directory=/home/lubuntu
    main: usbonly=true
    main: liveonly=true
    No input file specified yet
    main: source=''
    TERM=unknown
    ubuntu
    ---------------------------------------------------------------------------
    menu_shell:
    select_source: imagefile=/home/lubuntu/Hämtningar/ubuntu-wily-desktop-amd64.iso
    ---------------------------------------------------------------------------
    menu_shell:
    ---------------------------------------------------------------------------
    menu_shell:
    imagefile=/home/lubuntu/Hämtningar/ubuntu-wily-desktop-amd64.iso
    Booted from: /dev/sdg
    /dev/sdg is busy; cannot be unmounted. Close any program that is using
    this device if you want to select and use it as a target for mkusb (maybe
    change directory if a terminal window is using the partition)!
    ans=u
    /dev/sdg is busy; cannot be unmounted. Close any program that is using
    this device if you want to select and use it as a target for mkusb (maybe
    change directory if a terminal window is using the partition)!
    ans=2
    mount: /dev/loop1 is write-protected, mounting read-only
    Ubuntu 15.10 "Wily Werewolf" - Alpha amd64
    '/home/lubuntu/Hämtningar/ubuntu-wily-desktop-amd64.iso' is identified as the source ISO file
    <pre>
    MODEL            NAME FSTYPE LABEL MOUNTPOINT  SIZE
    WDC WD40EFRX-68W sdb                           3.7T
    </pre>
    Using the file '/usr/share/mkusb/grub.cfg'
    Using the file '/usr/share/mkusb/usb-pack_efi.tar.gz'
    Clean for a GUID partition table
    GPT fdisk (gdisk) version 1.0.0
    
    Partition table scan:
      MBR: not present
      BSD: not present
      APM: not present
      GPT: not present
    
    Creating new GPT entries.
    
    Command (? for help): This option deletes all partitions and creates a new protective MBR.
    Proceed? (Y/N): 
    Command (? for help): 
    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
    PARTITIONS!!
    
    Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /dev/sdb.
    The operation has completed successfully.
    Wipe the first megabyte (mibibyte) to get a clean boot area
    1024+0 poster in
    1024+0 poster ut
    1048576 byte (1.0 MB) kopierade, 0.0359203 s, 29.2 MB/s
    ---------------------------------------------------------------------------
    Selected percentage of remaining space for persistence = 5
    ---------------------------------------------------------------------------
     
    preparing /dev/sdb3  ------------------------------------------------
    1024+0 poster in
    1024+0 poster ut
    1048576 byte (1.0 MB) kopierade, 0.0409623 s, 25.6 MB/s
    mkfs.fat 3.0.28 (2015-05-16)
    /dev/sdb3 has 255 heads and 63 sectors per track,
    hidden sectors 0x1000;
    logical sector size is 512,
    using 0xf8 media descriptor, with 124928 sectors;
    drive number 0x80;
    filesystem has 2 32-bit FATs and 1 sector per cluster.
    FAT size is 961 sectors, and provides 122974 clusters.
    There are 32 reserved sectors.
    Volume ID is 6d04e803, no volume label.
     
    preparing /dev/sdb1  ------------------------------------------------
    1024+0 poster in
    1024+0 poster ut
    1048576 byte (1.0 MB) kopierade, 0.0390653 s, 26.8 MB/s
    Cluster size has been automatically set to 4096 bytes.
    Creating NTFS volume structures.
    Creating root directory (mft record 5)
    Creating $MFT (mft record 0)
    Creating $MFTMirr (mft record 1)
    Creating $LogFile (mft record 2)
    Creating $AttrDef (mft record 4)
    Creating $Bitmap (mft record 6)
    Creating $Boot (mft record 7)
    Creating backup boot sector.
    Creating $Volume (mft record 3)
    Creating $BadClus (mft record 8)
    Creating $Secure (mft record 9)
    Creating $UpCase (mft record 0xa)
    Creating $Extend (mft record 11)
    Creating system file (mft record 0xc)
    Creating system file (mft record 0xd)
    Creating system file (mft record 0xe)
    Creating system file (mft record 0xf)
    Creating $Quota (mft record 24)
    Creating $ObjId (mft record 25)
    Creating $Reparse (mft record 26)
    Syncing root directory index record.
    Syncing $Bitmap.
    Syncing $MFT.
    Updating $MFTMirr.
    Syncing device.
    mkntfs completed successfully. Have a nice day.
    preparing /dev/sdb5  ------------------------------------------------
    1024+0 poster in
    1024+0 poster ut
    1048576 byte (1.0 MB) kopierade, 0.0385398 s, 27.2 MB/s
    mke2fs 1.42.12 (29-Aug-2014)
    Skapar ett filsystem med 48820992 4 k-block och 12206080 inoder
    Filsystems-UUID: bd3cb6a8-fac7-48d1-9566-2c40ac3e1423
    Superblockkopior lagrade på block: 
    	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
    	4096000, 7962624, 11239424, 20480000, 23887872
    
    Allokerar grupptabeller:    0/1490         klar                            
    Skriver inodstabeller:    0/1490         klar                            
    Skapar journal (32768 block): klar
    Skriver superblock och filsystemsbokföringsinformation:    0/1490  26/1490         klar
    
    mount: /dev/loop1 is write-protected, mounting read-only
    tune2fs 1.42.12 (29-Aug-2014)
    ---------------------------------------------------------------------------
    source=/home/lubuntu/Hämtningar/ubuntu-wily-desktop-amd64.iso
    ---------------------------------------------------------------------------
    mount /dev/sdb3 /tmp/tmp.WRMqyweanq
    /dev/sdb3          61M    512    61M   1% /tmp/tmp.WRMqyweanq
    UEFI Bootloader:  Installerar för i386-pc-plattformar.
    Installation avslutad. Inga fel rapporterades.
    BIOS Bootloader:  Installerar för i386-pc-plattformar.
    Installation avslutad. Inga fel rapporterades.
    ./
    ./boot/
    ./boot/grub/
    ./boot/memtest/
    ./boot/memtest/memtest86+-5.01.bin
    ./boot/memtest/memtest.bin
    ./EFI/
    ./EFI/BOOT/
    ./EFI/BOOT/bootx64.efi
    ./EFI/BOOT/bootia32.efi
    ---------------------------------------------------------------------------
    do_n_show:
    &lt; "/home/lubuntu/Hämtningar/ubuntu-wily-desktop-amd64.iso" pv -n | dd of=/dev/sdb4 bs=4096
     
    ( < "/home/lubuntu/Hämtningar/ubuntu-wily-desktop-amd64.iso" pv -n | dd of=/dev/sdb4 bs=4096 && echo 'Done' > /dev/stderr ) 2>&1 || ( echo '# failed';sleep 1 )
    Please wait for sync (flushing file system buffers to the device)
    until 'Done' is written ...
    'pv %'; 'dd final output'
    2
    5
    8
    10
    13
    16
    18
    21
    24
    26
    29
    32
    34
    37
    40
    42
    45
    48
    50
    53
    56
    58
    61
    64
    67
    69
    72
    75
    77
    80
    83
    85
    88
    91
    93
    96
    99
    100
    307200+0 poster in
    307200+0 poster ut
    1258291200 byte (1.3 GB) kopierade, 37.8401 s, 33.3 MB/s
    Done
    do_n_show: Work done
    ---------------------------------------------------------------------------
    Syncing the target device ...
    <pre>
    parted -s "/dev/sdb" print
    Modell: ATA WDC WD40EFRX-68W (scsi)
    Disk /dev/sdb: 4001GB
    Sektorstorlek (logisk/fysisk): 512B/4096B
    Partitionstabell: gpt
    Disk Flags: 
    
    Nummer  Början  ****    Storlek  Filsystem  Namn     Flaggor
     2      1049kB  2097kB  1049kB              primary  bios_grub
     3      2097kB  66.1MB  64.0MB   fat32      primary  startbar, esp
     4      66.1MB  1374MB  1308MB              primary
     5      1374MB  201GB   200GB    ext2       primary
     1      201GB   4001GB  3799GB   ntfs       primary  msftdata
    
    lsblk -o MODEL,NAME,FSTYPE,LABEL,MOUNTPOINT,SIZE "/dev/sdb"
    MODEL            NAME   FSTYPE  LABEL              MOUNTPOINT   SIZE
    WDC WD40EFRX-68W sdb                                            3.7T
                     ├─sdb1 ntfs    usbdata                         3.5T
                     ├─sdb2                                           1M
                     ├─sdb3 vfat    ubuwily64                        61M
                     ├─sdb4 iso9660 Ubuntu 15.10 amd64              1.2G
                     └─sdb5 ext4    casper-rw                     186.2G
    </pre>
    Done :-)
    The target device is ready to use.
    '/home/lubuntu/Hämtningar/ubuntu-wily-desktop-amd64.iso' was installed
    Cleanup after mkusb finished :-)
    Zenity error log-file 'zerrlog'=/tmp/tmp.2cxDS9uk7w
    Cleanup after mkusb finished :-)
    ---------------------------------------------------------------------------
    Total time used [by mkusb] = 244 s; 00:04:04
    Attached Images Attached Images

  10. #170
    Join Date
    Oct 2015
    Beans
    1

    Re: Howto make USB boot drives

    Hola. .
    Thanks for a detailed one. . But recentlyi I have installed 15.04 with the help of unetbootin from my ubuntu 12.04. And now am using wiley without any problems except the known freeze then force quit problems. . Can you please enlighten me what could be my priority problem if I installed via unetbootin. .

Page 17 of 126 FirstFirst ... 715161718192767117 ... LastLast

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
  •