USB iso kalıbı yazdırma

Standard

USB'den boot etme

Merhabalar;

Genellikle sancılı bir süreç oluyor linux distrolarını ya da windows dağıtımlarını doğru bir şekilde USB bootable şekilde yazdırmak.

Şans eseri gayet kolay kullanımı olan bir program keşfederek olayı basitçe anlatayım:

konsola şu komutu veriyoruz:

git clone https://github.com/Natgho/image-usb-stick

İndirme işleminde hangi dosyadaysak githubdan program oraya çekilir, indirme bittikten sonra program adını ve iso kalıbımızın nerede olduğunu konsoldan girmemiz yeterli . Örnek:

natgho@optimist:~/İndirilenler/image-usb-stick$ ./image-usb-stick 
Usage: image-usb-stick [options] IMAGE_FILE

Options:
  -h, --help            show this help message and exit
  -d DEVICE, --device=DEVICE
                        Manually selected device node. This device node must
                        be a valid root level USB storage device node even if
                        manually selected. Omitting this option will present a
                        menu of valid nodes.
  -f, --force           Force the writing of the image to device. This option
                        will not prompt for confirmation before writing to the
                        device, and implies the -u|--unmount option!
  -u, --unmount         Unmount any mounted partitions on the device. This
                        option will not prompt for unmounting any mounted
                        partitions.
  -s CHECKSUM, --checksum=CHECKSUM
                        Checksum of IMAGE_FILE. This checksum may be prefixed
                        with a hash type. For instance, 'md5:abc...',
                        'sha1:abc...', 'sha512:abc...'; if no prefix is
                        specified, md5 is assumed for the hash type.
natgho@optimist:~/İndirilenler/image-usb-stick$ ./image-usb-stick ../
bootstrap-3.3.5-dist/                                kutuphane.tar.gz                                     ve1369891930.swf
bootstrap-3.3.5-dist.zip                             manjaro-xfce-minimal-0.9.0-dev-x86_64.iso            virtualbox-5.0_5.0.2-102096~Ubuntu~trusty_amd64.deb
create_ap/                                           Minecraft.jar                                        VPv64Trkc.rar
Getting Started with Laravel 4.pdf                   rufus/                                               Web Penetration Testing with Kali Linux.pdf
how-to-install-screenfetch-and-archey.html           speedtest-cli/                                       xampp.run
image-usb-stick/                                     sql.tar.gz                                           xubuntu-15.04-desktop-amd64.iso
kutuphane.sql                                        startbootstrap-sb-admin-2-1.0.7.zip                  
natgho@optimist:~/İndirilenler/image-usb-stick$ ./image-usb-stick ../manjaro-xfce-minimal-0.9.0-dev-x86_64.iso 
Loading disks...

Select a device to image:

  1) DataTraveler_2.0 (/dev/sdb) - 7.8 GB
     - DataTraveler_2.0 (/dev/sdb1) - 7.8 GB

Choice: 1

Selected: DataTraveler_2.0 (/dev/sdb) - 7.8 GB

WARNING: imaging /dev/sdb may result in data loss! Continue? [Y/N]: Y
Traceback (most recent call last):
  File "./image-usb-stick", line 482, in <module>
    image (args[0], target_device.device_node, progress)
  File "./image-usb-stick", line 347, in image
    with open (out_path, 'wb') as out_fp:
IOError: [Errno 13] Permission denied: '/dev/sdb'
natgho@optimist:~/İndirilenler/image-usb-stick$ sudo ./image-usb-stick ../manjaro-xfce-minimal-0.9.0-dev-x86_64.iso 
[sudo] password for natgho: 
Loading disks...

Select a device to image:

  1) DataTraveler_2.0 (/dev/sdb) - 7.8 GB
     - DataTraveler_2.0 (/dev/sdb1) - 7.8 GB

Choice: 1

Selected: DataTraveler_2.0 (/dev/sdb) - 7.8 GB

WARNING: imaging /dev/sdb may result in data loss! Continue? [Y/N]: Y
100%  0:00:06  [================================================]  ETA 0:00:00 
Done.
natgho@optimist:~/İndirilenler/image-usb-stick$                                                                                                                                                

Ek olarak bunun daha bir başka yolu direk konsoldan işlem yaptırmadır, o da şu şekilde:


1
dd if=iso_kalibinin_ismi.iso of=/dev/sdX bs=4M

 

Bir başka yazımda görüşmek üzere 🙂

Bir Cevap Yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir