root@porteus:~/USB-BOOT# ./usbimg2disk.sh -f -s /mnt/iso/ -o /dev/sdb
# We are going to format and use this device - '/dev/sdb':
# Vendor : Kingston
# Model : DataTraveler 2.0
# Size : 3836 MB
#
# FDISK OUTPUT:
#
# Disk /dev/sdb: 4022 MB, 4022337536 bytes
# 6 heads, 28 sectors/track, 46762 cylinders, total 7856128 sectors
# Units = sectors of 1 * 512 = 512 bytes
# Sector size (logical/physical): 512 bytes / 512 bytes
# I/O size (minimum/optimal): 512 bytes / 512 bytes
# Disk identifier: 0x04030201
#
# Device Boot Start End Blocks Id System
# /dev/sdb1 * 2048 7856127 3927040 b W95 FAT32
*** ***
*** If this is the wrong drive, then press CONTROL-C now! ***
*** ***
Or press ENTER to continue:
--- Formatting /dev/sdb with VFAT partition label 'USBSLACKINS'...
--- Last chance! Press CTRL-C to abort!
Or press ENTER to continue:
--- Available free space on the the USB drive is 3919364 KB
--- Required free space for installer: 42417 KB
--- Copying boot files to the USB drive...
--- Extracting Slackware initrd.img...
--- Modifying installer files...
--- Gzipping the initrd image again:
--- Copying Slackware package tree to the USB drive...
symlink has no referent: "/mnt/iso/extra/java"
IO error encountered -- skipping file deletion
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.8]
*** ./usbimg2disk.sh FAILED at line 475 ***
--- Cleaning up the staging area...
root@porteus:~/USB-BOOT#
=================================================================
Here we Excluded the java link (using sed) and the output is clean
=================================================================
root@porteus:~/USB-BOOT# ./usbimg2disk.sh -f -s /mnt/iso/ -o /dev/sdb
# We are going to format and use this device - '/dev/sdb':
# Vendor : Kingston
# Model : DataTraveler 2.0
# Size : 3836 MB
#
# FDISK OUTPUT:
#
# Disk /dev/sdb: 4022 MB, 4022337536 bytes
# 108 heads, 46 sectors/track, 1581 cylinders, total 7856128 sectors
# Units = sectors of 1 * 512 = 512 bytes
# Sector size (logical/physical): 512 bytes / 512 bytes
# I/O size (minimum/optimal): 512 bytes / 512 bytes
# Disk identifier: 0x3ec408d1
#
# Device Boot Start End Blocks Id System
# /dev/sdb1 2048 7856127 3927040 b W95 FAT32
*** ***
*** If this is the wrong drive, then press CONTROL-C now! ***
*** ***
Or press ENTER to continue:
--- Formatting /dev/sdb with VFAT partition label 'USBSLACKINS'...
--- Last chance! Press CTRL-C to abort!
Or press ENTER to continue:
--- Available free space on the the USB drive is 3919364 KB
--- Required free space for installer: 42417 KB
--- Copying boot files to the USB drive...
--- Extracting Slackware initrd.img...
--- Modifying installer files...
--- Gzipping the initrd image again:
--- Copying Slackware package tree to the USB drive...
--- Cleaning up the staging area...
--- Making the USB drive '/dev/sdb' bootable...
root@porteus:~/USB-BOOT#