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/05 15:20] pavroocreate_live_usb [2021/05/04 15:24] (current) – external edit 127.0.0.1
Line 4: Line 4:
 ===== From a Windows host ====== ===== From a Windows host ======
  
-From a Windows host/Operating System you can visit [[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 burning 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. 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. 
 ---- ----
  
Line 52: Line 32:
 ===== From a Linux host ===== ===== From a Linux host =====
  
-----+
 === GUI method === === GUI method ===
  
Line 63: Line 43:
 {{:mintstick.png?500|}} {{:mintstick.png?500|}}
  
-2. Live USB Creator - Sparky's tool which uses 'dd' command. +2. [[live_usb_creator|Live USB Creator]] - Sparky's tool which uses 'dd' command. 
  
 Choose Sparky iso image from your hard drive and USB stick. Choose Sparky iso image from your hard drive and USB stick.
Line 74: Line 54:
  
 ---- ----
 +
 === CLI method === === CLI method ===
  
-On a Linux host you can use this command to know your USB-pen drive's drive assignment+On a Linux host you can copy the iso image in text mode using **dd** command.
  
-is it sdb or is it sdc or is it sde?+As the first, you have to check what is your already connected USB number.   
  
-Open terminal Ctrl+alt+t or open terminal from menuany terminal will do.+It can be: **sdb****sdc**, **sde**, etc.
  
-Type+Open a terminal and type:
  
    sudo fdisk -l    sudo fdisk -l
  
-and then enter your "root" or admin password.+and then enter your password.
  
-and it will show your pen drive letters.+This is only an example, which shows: 
 +   * sda - a hard drive
  
-Next step is to erase previous partition info from your usb,+   /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
  
-backup your data before you format your pen drive+   * sdb - usb pen drive (FAT32 file system)
  
-sdb is your usb or is it sdc? Check it before you go further...+   /dev/sdb1  *           2048 31260671 31258624   14,9G  b W95 FAT32
  
-Enter the below command into terminal and make sure you change the below command with correct drive letter of your pen drive/usb.+Next step is to erase previous partition info from your usb, so backup your data before formatting your pen drive.
  
-   sudo dd if=/dev/zero of=/dev/sdb bs=512 count=16+Unmount your pen drive:
  
-Then unmount your pendrive or usb+   umount /dev/sdb
  
-A USB key device, assuming that it had been mounted in the directory /mnt/usb, would be unmounted with the following: +Format it to FAT32 file system:
- +
-   umount /mnt/usb +
- +
-Or you can open a file manager and unmount the pendrive by right clicking on the left pane where the usb drive is displayed. +
- +
-Format it to FAT32 using this command, use correct letter, is it sdb or is it sdc or sde? +
- +
-   sudo mkfs.vfat -n '' -I /dev/sdb +
- +
- +
-Now you can use Sparky's usb image format application or gparted which ia available in any linux. +
- +
-If gparted application is not installed you can install using a package manager for your Linux distribution.  +
- +
-Open gparted +
- +
-gparted  --- create MS-DOS partition table and format to FAT32+
  
 +   sudo mkfs.vfat /dev/sdb
  
 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 '~/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. +Where
- +   '~/Desktop/sparkylinux.iso' is the name and location of your downloaded image (located at the desktop is  an example) 
-If you don't know about the target USB drive path, run this command and figure out your destination 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.
-   sudo fdisk -l+
  
 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 145: 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.1433510440.txt.gz · Last modified: 2021/05/04 15:25 (external edit)