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 revision Previous revision
create_live_usb [2015/06/13 16:31]
pavroo added Win32 Disk Imager
create_live_usb [2019/08/15 21:52] (current)
pavroo
Line 67: 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 76: 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 84: 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 92: 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 ​
create_live_usb.txt ยท Last modified: 2019/08/15 21:52 by pavroo