1. root@porteus:~/USB-BOOT# ./usbimg2disk.sh -f -s /mnt/iso/ -o /dev/sdb
  2.  
  3. # We are going to format and use this device - '/dev/sdb':
  4. # Vendor : Kingston
  5. # Model : DataTraveler 2.0
  6. # Size : 3836 MB
  7. #
  8. # FDISK OUTPUT:
  9. #
  10. # Disk /dev/sdb: 4022 MB, 4022337536 bytes
  11. # 6 heads, 28 sectors/track, 46762 cylinders, total 7856128 sectors
  12. # Units = sectors of 1 * 512 = 512 bytes
  13. # Sector size (logical/physical): 512 bytes / 512 bytes
  14. # I/O size (minimum/optimal): 512 bytes / 512 bytes
  15. # Disk identifier: 0x04030201
  16. #
  17. # Device Boot Start End Blocks Id System
  18. # /dev/sdb1 * 2048 7856127 3927040 b W95 FAT32
  19.  
  20. *** ***
  21. *** If this is the wrong drive, then press CONTROL-C now! ***
  22. *** ***
  23. Or press ENTER to continue:
  24. --- Formatting /dev/sdb with VFAT partition label 'USBSLACKINS'...
  25. --- Last chance! Press CTRL-C to abort!
  26. Or press ENTER to continue:
  27. --- Available free space on the the USB drive is 3919364 KB
  28. --- Required free space for installer: 42417 KB
  29. --- Copying boot files to the USB drive...
  30. --- Extracting Slackware initrd.img...
  31. --- Modifying installer files...
  32. --- Gzipping the initrd image again:
  33. --- Copying Slackware package tree to the USB drive...
  34. symlink has no referent: "/mnt/iso/extra/java"
  35. IO error encountered -- skipping file deletion
  36. rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.8]
  37. *** ./usbimg2disk.sh FAILED at line 475 ***
  38. --- Cleaning up the staging area...
  39. root@porteus:~/USB-BOOT#
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46. =================================================================
  47. Here we Excluded the java link (using sed) and the output is clean
  48.  
  49. =================================================================
  50. root@porteus:~/USB-BOOT# ./usbimg2disk.sh -f -s /mnt/iso/ -o /dev/sdb
  51.  
  52. # We are going to format and use this device - '/dev/sdb':
  53. # Vendor : Kingston
  54. # Model : DataTraveler 2.0
  55. # Size : 3836 MB
  56. #
  57. # FDISK OUTPUT:
  58. #
  59. # Disk /dev/sdb: 4022 MB, 4022337536 bytes
  60. # 108 heads, 46 sectors/track, 1581 cylinders, total 7856128 sectors
  61. # Units = sectors of 1 * 512 = 512 bytes
  62. # Sector size (logical/physical): 512 bytes / 512 bytes
  63. # I/O size (minimum/optimal): 512 bytes / 512 bytes
  64. # Disk identifier: 0x3ec408d1
  65. #
  66. # Device Boot Start End Blocks Id System
  67. # /dev/sdb1 2048 7856127 3927040 b W95 FAT32
  68.  
  69. *** ***
  70. *** If this is the wrong drive, then press CONTROL-C now! ***
  71. *** ***
  72. Or press ENTER to continue:
  73. --- Formatting /dev/sdb with VFAT partition label 'USBSLACKINS'...
  74. --- Last chance! Press CTRL-C to abort!
  75. Or press ENTER to continue:
  76. --- Available free space on the the USB drive is 3919364 KB
  77. --- Required free space for installer: 42417 KB
  78. --- Copying boot files to the USB drive...
  79. --- Extracting Slackware initrd.img...
  80. --- Modifying installer files...
  81. --- Gzipping the initrd image again:
  82. --- Copying Slackware package tree to the USB drive...
  83. --- Cleaning up the staging area...
  84. --- Making the USB drive '/dev/sdb' bootable...
  85. root@porteus:~/USB-BOOT#