User Tools

Site Tools


create_live_usb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
create_live_usb [2015/06/13 04:52] way12gocreate_live_usb [2021/05/04 15:24] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Create Live USB disk ======= ====== Create Live USB disk =======
 +----
  
-If you want to make bootable USB with Windows try Win32 Disk Imager.+===== From a Windows host ======
  
-A tool for writing images to USB sticks or SD/CF cards+Running a Windows host/Operating System you can create a live USB disk with Sparkylinux using one of the tools, for example:
  
-http://sourceforge.net/projects/win32diskimager/+   * [[http://unetbootin.sourceforge.net/|Unetbootin]] (available for MS Windows, OSX and Linux)  
 +   * [[http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/|Universal USB Installer]] 
 +   * [[http://linuxliveusb.com/en/|Linux USB Creator]] 
 +   * [[http://sourceforge.net/projects/win32diskimager/|Win32 Disk Imager]] 
 + 
 +How to write Sparkylinux iso to a pen drive on Windows host? 
 + 
 +1. Insert at least 2GB USB stick into your PC and launch one of the applications listed above. 
 + 
 +{{:image-createausbstickonwindows-1.jpg|}} 
 + 
 +2. Click 'Browse' and choose the downloaded SparkyLinux ISO image. 
 + 
 +{{:image-createausbstickonwindows-2.jpg|}} 
 + 
 +3. Choose the USB drive and click 'Create'
 + 
 +{{:image-createausbstickonwindows-3.jpg|}} 
 + 
 +Now you can boot Sparkylinux from your pen drive changing the boot order in your machine's BIOS/UEFI. 
 + 
 +----
  
-Description 
-This program is designed to write a raw disk image to a removable device or backup a removable device to a raw image file. It is very useful for embedded development, namely Arm development projects (Android, Ubuntu on Arm, etc). Anyone is free to branch and modify this program. Patches are always welcome. 
  
 ===== From a Linux host ===== ===== From a Linux host =====
Line 47: Line 67:
    sudo fdisk -l    sudo fdisk -l
  
-and then enter your "root" or admin password.+and then enter your password.
  
 This is only an example, which shows: This is only an example, which shows:
Line 56: Line 76:
    /dev/sda3           81922048  83970047   2048000   1000M 82 Linux swap / Solaris    /dev/sda3           81922048  83970047   2048000   1000M 82 Linux swap / Solaris
  
-   sdc - usb pen drive (FAT32 file system)+   sdb - usb pen drive (FAT32 file system)
  
-   /dev/sdc1            2048 31260671 31258624   14,9G  b W95 FAT32+   /dev/sdb1            2048 31260671 31258624   14,9G  b W95 FAT32
  
 Next step is to erase previous partition info from your usb, so backup your data before formatting your pen drive. Next step is to erase previous partition info from your usb, so backup your data before formatting your pen drive.
Line 64: Line 84:
 Unmount your pen drive: Unmount your pen drive:
  
-   umount /mnt/usb+   umount /dev/sdb
  
 Format it to FAT32 file system: Format it to FAT32 file system:
Line 72: Line 92:
 Now copy Sparky iso image to USB disk: Now copy Sparky iso image to USB disk:
  
-   sudo dd if=~/Desktop/sparkylinux.iso of=/dev/sdx oflag=direct bs=1048576+   sudo dd if=~/Desktop/sparkylinux.iso of=/dev/sdb oflag=direct bs=1048576
  
 Where: Where:
    * '~/Desktop/sparkylinux.iso' is the name and location of your downloaded image (located at the desktop is  an example)    * '~/Desktop/sparkylinux.iso' is the name and location of your downloaded image (located at the desktop is  an example)
-   * '/dev/sdx' is the target USB drive.+   * '/dev/sdb' is the target USB drive.
    * if your system doesn't support 'oflag=direct', you can just leave it out as it is simply intended to speed up the process a bit.    * if your system doesn't support 'oflag=direct', you can just leave it out as it is simply intended to speed up the process a bit.
  
 Warning: Make sure to set the correct device path, as this process will delete all data that was on the specified device previously! Warning: Make sure to set the correct device path, as this process will delete all data that was on the specified device previously!
  
-Remember, don't include an integer for the USB drive, e.g. '/dev/sdx1', as it would refer to the existing partition on that drive and not the drive itself.+Remember, don't include an integer for the USB drive, e.g. '/dev/sdb1', as it would refer to the existing partition on that drive and not the drive itself.
  
-When the USB has been properly created by **dd**, there should be an output similar to this:+When the Live USB has been properly created by **dd**, there should be an output similar to this:
  
    sudo dd if=~/Desktop/sparkylinux.iso of=/dev/sdb oflag=direct bs=1048576     sudo dd if=~/Desktop/sparkylinux.iso of=/dev/sdb oflag=direct bs=1048576 
Line 92: Line 112:
 ---- ----
  
-<WRAP center box 60%> +<WRAP center box 100%> 
-[[burn_iso|<--- Burn iso image onto CD/DVD disk]]|[[partitioning|Disk partitioning --->]]+|[[burn_iso|<--- Burn iso image onto CD/DVD disk]]   [[start|^ Wiki Start Page ^]]  |  [[partitioning|Disk partitioning --->]]|
 </WRAP> </WRAP>
create_live_usb.1434163931.txt.gz · Last modified: 2021/05/04 15:25 (external edit)