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/05/31 22:31] pavroocreate_live_usb [2021/05/04 15:24] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Create Live USB disk =======
 +----
 +
 ===== From a Windows host ====== ===== From a Windows host ======
  
-From a Windows host/Operating System you can vists http://www.imgburn.com/ and download the image burning software and follow the easy GUI-Graphical User Interface and easily burn a Sparkylinux CD version ISO or Sparkylinux DVD version iso and after burning the media/CD or DVD you can boot it from media and you can do two things.+Running a Windows host/Operating System you can create live USB disk with Sparkylinux using one of the tools, for example:
  
-1. Use LIVE MODE+   * [[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]]
  
-or+How to write Sparkylinux iso to a pen drive on Windows host?
  
-2Install Sparkylinux. +1Insert at least 2GB USB stick into your PC and launch one of the applications listed above.
- +
-You can even choose to install Sparkylinux from LIVE MODE. +
- +
-LIVE MODE is exclusive to many Linux editions like Sparkylinux where you can try the Linux without installing it to the Hard Disk-HDD. If you like the Live version then you can continue to install it to the Hard Disk-hdd. Try it before you install it is what you get with live CD/DVD. +
- +
-You can also install Sparkylinux from USB Pen drive. Live mode and installation is faster if you use Pen drive and you need not buy additional disks every time you download an updated iso.  +
- +
-When it comes to updated linux iso Sparkylinux is very handy. You need not download new iso every time a new Sparky version is released, why? Why because Sparkylinux is a rolling release linux distribution so once you install it, technically you can keep updating it without any re-installation. +
- +
-If you are using Windows how do you burn Linux ISO to USB? +
- +
-On Windows buring a linux iso to pen drive is not the same as burning to pen drive using windows iso on windows or burning to pen drive using a linux iso on linux. +
- +
-Simply put it'a different. Thankfully there are tools that allow you to perform this task. +
- +
-So the question is "How to write Sparkylinux iso to pen drive on Windows host?" +
- +
-To run Sparkylinux from a USB stick, the first thing you need to do is insert a USB stick with at least 2GB of free space into your PC+
- +
-The easiest way to put Sparkylinux onto your stick is to use the USB installer provided at [[pendrivelinux.com|pendrivelinux.com]]. You’ll need to download and install and follow the instructions. +
- +
-[[http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/#button|http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/#button]] +
- +
-Select 'Sparkylinux'.+
  
 {{:image-createausbstickonwindows-1.jpg|}} {{:image-createausbstickonwindows-1.jpg|}}
  
-Click 'Browse' and open the downloaded ISO file.+2. Click 'Browse' and choose the downloaded SparkyLinux ISO image.
  
 {{:image-createausbstickonwindows-2.jpg|}} {{:image-createausbstickonwindows-2.jpg|}}
  
-Choose the USB drive and click 'Create'.+3. Choose the USB drive and click 'Create'.
  
 {{:image-createausbstickonwindows-3.jpg|}} {{:image-createausbstickonwindows-3.jpg|}}
  
-Now you can boot Sparkylinux from your Pen drive using Windows host.+Now you can boot Sparkylinux from your pen drive changing the boot order in your machine's BIOS/UEFI.
  
 +----
  
-====== From a Linux host ====== 
  
-In the Debian based linux you can use this command to know your USB-pen drive's drive assignment+===== From a Linux host =====
  
-is it sdb or is it sdc or is it sde? 
  
-Open terminal Ctrl+alt+t or open terminal from menu, any terminal will do.+=== GUI method ===
  
-Type+There are a few applications working with graphical interface (GUI) to make a copy of Sparky onto an USB stick.
  
-**sudo fdisk -l**+1. Mintstick available in Linux Mint and its derivatives and SparkyLinux as well.
  
-and then enter your "root" or admin password.+Simply choose Sparky iso image from your hard drive and USB stick.
  
-and it will show your pen drive letters.+{{:mintstick.png?500|}}
  
-Next step is to erase previous partition info from your usb,+2. [[live_usb_creator|Live USB Creator]] - Sparky's tool which uses 'dd' command. 
  
-backup your data before you format your pen drive+Choose Sparky iso image from your hard drive and USB stick.
  
-sdb is your usb or is it sdcCheck it before you go further...+{{:live-usr-creator.png?400|}}
  
-Enter the below command into terminal and make sure you change the below command with correct drive letter of your pen drive/usb.+3. Unetbootin - available in most Linux distributions.
  
-**sudo dd if=/dev/zero of=/dev/sdb bs=512 count=16**+{{:unetbootin.png?400|}}
  
-Then unmount your pendrive or usb+----
  
-A USB key device, assuming that it had been mounted in the directory /mnt/usb, would be unmounted with the following:+=== CLI method ===
  
-**umount /mnt/usb**+On a Linux host you can copy the iso image in text mode using **dd** command.
  
-Or you can open a file manager and unmount the pendrive by right clicking on the left pane where the usb drive is displayed.+As the first, you have to check what is your already connected USB number  
  
-Format it to FAT32 using this command, use correct letter, is it sdb or is it sdc or sde?+It can be: **sdb**, **sdc**, **sde**, etc.
  
-**sudo mkfs.vfat -n '' -I /dev/sdb**+Open a terminal and type:
  
 +   sudo fdisk -l
  
-Now you can use Sparky's usb image format application or gparted in any linux+and then enter your password.
  
-If gparted application is not installed you can install it using +This is only an example, which shows: 
 +   * sda - a hard drive
  
-a command in terminal+   /dev/sda1  *            2048  40962047  40960000   19,5G 83 Linux 
 +   /dev/sda2           40962048  81922047  40960000   19,5G 83 Linux 
 +   /dev/sda3           81922048  83970047   2048000   1000M 82 Linux swap / Solaris
  
-**sudo apt-get install gparted**+   sdb usb pen drive (FAT32 file system)
  
-Open gparted+   /dev/sdb1  *           2048 31260671 31258624   14,9G  b W95 FAT32
  
-gparted  --- create MS-DOS partition table and format to FAT32+Next step is to erase previous partition info from your usb, so backup your data before formatting your pen drive.
  
-Now use Sparky's usb image writer - select iso and burn to usb.+Unmount your pen drive:
  
-If you don't have USB format application you can use the " dd " commands mentioned above, install gparted and use it and perform installation.+   umount /dev/sdb
  
-If you don't have USB image writer application then you can use " dd " command to write iso to usb+Format it to FAT32 file system:
  
-It is really simpleGo to a Terminal and type: +   sudo mkfs.vfat /dev/sdb
- +
  
-**sudo dd if=~/Desktop/sparkylinux.iso of=/dev/sdx oflag=direct  bs=1048576**+Now copy Sparky iso image to USB disk:
  
-Where '~/Desktop/sparkylinux.iso' is the name and location of your downloaded image (located at the desktop in this example) and '/dev/sdx' 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.+   sudo dd if=~/Desktop/sparkylinux.iso of=/dev/sdb oflag=direct bs=1048576
  
-If you don't know about the target USB drive path, run this command and figure out your destination drive. +Where: 
- +   '~/Desktop/sparkylinux.iso' is the name and location of your downloaded image (located at the desktop is  an example) 
-**sudo fdisk -l**+   * '/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.
  
 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: +
- +
-**sudo dd if=~/Desktop/sparkylinux.iso of=/dev/sdb oflag=direct bs=1048576** +
- +
- +
-706+1 records in +
  
-706+1 records out+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 
 +   706+1 records in
 +   706+1 records out
 +   740601856 bytes (741 MB) copied, 91.7024 s, 8.1 MB/s
  
-740601856 bytes (741 MB) copied, 91.7024 s, 8.1 MB/s+----
  
 +<WRAP center box 100%>
 +|[[burn_iso|<--- Burn iso image onto CD/DVD disk]]  |  [[start|^ Wiki Start Page ^]]  |  [[partitioning|Disk partitioning --->]]|
 +</WRAP>
create_live_usb.1433104287.txt.gz · Last modified: 2021/05/04 15:25 (external edit)