Hi
Some computers are not able to boot from a USB pendrive with Slackware's usbboot.img on it.
For that reason I have written the script
usbimg2disk.sh which takes the contents of usbboot.img and writes that to a standard USB pendrive with vfat partition. The command "usbimg2disk.sh -h" shows the following:
Code:
# Purpose: to use the content of Slackware's usbboot.img and transform
# a standard USB thumb drive with a single vfat partition
# into an alternative USB boot device for the Slackware installer.
#
# Reason: some computers refuse to boot from a USB thumb drive if it was
# made bootable by dumping 'usbboot.img' onto it.
#
# Your USB thumb drive may contain data!
# This data will *not* be overwritten, unless you have
# explicitly chosen to format the drive by using the '-f' parameter.
#
# usbimg2disk.sh accepts the following parameters:
# -h|--help This help
# -f|--format Format the USB drive before use
# -i|--infile <filename> Full path to the usbboot.img file
# -l|--logfile <filename> Optional logfile to catch fdisk output
# -o|--outdev <filename> The device name of your USB drive
# -u|--unattended Do not ask any questions
#
# Example:
#
# usbimg2disk.sh -i ~/download/usbboot.img -o /dev/sdX
#
I wrote this script because the usbboot.img was unable to boot the Slackware installer from a USB drive on a tablet computer that I own.
I also asked Pat to add this script to the usb-and-pxe-installers directory.
Eric