This directory contains utilies and images files, can used to
Create media capable of installing Cisco ACS.
The iso-to-usb.sh script would create a bootable USB key with the
ACS ISO image. The usage is as follows:
iso-to-usb.sh Source_iso Usb_device
For example, if your USB device WAS/DEV/SDC, and your source ISO
Image is Acs-5.4.0.40-2242--08-29-2012.iso, you would use this syntax:
#./iso-to-usb.sh ACS-5.4.0.40-2242--08-29-2012.ISO/DEV/SDC
The iso-to-usb.sh script requires a functioning Linux installation to run.
It has been tested under Rhel 5, Rhel 6, CentOS 5.x, CentOS 6.x.
Note that after running ' iso-to-usb.sh ', your USB key would be
Partitioned in a format where non-linux operating systems would not
Recognize all of the space available. To repurpose your USB
Key for general purpose use with Windows or MACOS, run the
'repurpose-usb.sh' utility in the This directory. This utility
Would repartition and reformat your USB key for general use.
Operation: ======VM ===== access u disk ========
[Email protected] aping># fdisk-l
disk/dev/sda:21.5 GB, 21474836480 bytes
255 heads, Sectors/track, 2610 cylinders
Units = Cylinders of 16065 * 8225280 bytes
Sector size (logical/physical): bytes/512 bytes
I/O size (minimum/optimal): bytes/512 bytes
Disk identifier:0x000e4e87
Device Boot Start End Blocks Id System
/DEV/SDA1 * 1 2356 18922496 Linux
/dev/sda2 2356 2611 2048000, Linux Swap/solaris
disk/dev/sdb:15.8 GB, 15829303296 bytes
Heads, Wuyi sectors/track, 5051 cylinders
Units = Cylinders of 6120 * 3133440 bytes
Sector size (logical/physical): bytes/512 bytes
I/O size (minimum/optimal): bytes/512 bytes
Disk identifier:0x21be21bd
Device Boot Start End Blocks Id System
/DEV/SDB1 * 221 5052 14784640 c W95 FAT32 (LBA)
Re-partition formatting.
[Email protected] aping># MKFS.EXT3/DEV/SDB1
MKE2FS 1.41.12 (17-may-2010)
File System label =
Operating system: Linux
Block size =4096 (log=2)
Chunked size =4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
966656 inodes, 3864008 blocks
193200 blocks (5.00%) reserved for the Super user
First block of data =0
Maximum filesystem blocks=3959422976
118 block Groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Writing Inode table: complete
Creating Journal (32768 blocks): complete
/DEV/SDB1 1 5051 15456034+ Linux
[Email protected] aping>#/iso-to-usb.sh Acs_v5.5.0.46.iso/dev/sdb
Error:missing dependency: syslinux here is missing a dependency package
Please install the package with Syslinux and try again
[Email protected] aping># RPM-IVH syslinux-3.11-7.i386.rpm
Warning:syslinux-3.11-7.i386.rpm:header V3 dsa/sha1 Signature, key ID E8562897:nokey
error:failed dependencies:
Mtools is needed by syslinux-3.11-7.i386
[email protected] aping># LL
Total dosage 1870848
-rw-r--r--1 aping aping 1915023360 June acs_v5.5.0.46.iso missing packages can be found in this image, ACS based on Linux system development
-rwxr-xr-x 1 aping aping 11873 November iso-to-usb.sh
-rw-r--r--1 aping aping 213717 November mtools-3.9.10-2.fc6.i386.rpm
-rw-r--r--1 aping aping 982 November
-rw-r--r--1 aping aping 486126 February syslinux-3.11-7.i386.rpm
[Email protected] aping># RPM-IVH mtools-3.9.10-2.fc6.i386.rpm
Warning:mtools-3.9.10-2.fc6.i386.rpm:header V3 dsa/sha1 Signature, key ID E8562897:nokey
Preparing ... ########################################### [100%]
1:mtools ########################################### [100%]
[Email protected] aping># RPM-IVH syslinux-3.11-7.i386.rpm
Warning:syslinux-3.11-7.i386.rpm:header V3 dsa/sha1 Signature, key ID E8562897:nokey
Preparing ... ########################################### [100%]
1:syslinux ########################################### [100%]
[Email protected] aping>#
[Email protected] aping>#/iso-to-usb.sh ACS_V5.5.0.46.ISO/DEV/SDB1
Error:device must be raw USB Device such as/dev/sdb OR/DEV/SDC
Perhaps like you gave a parition name, such as/dev/sdb1
[Email protected] aping># /iso-to-usb.sh acs_v5.5.0.46.iso/dev/sdb
W A R n I N G * * *
This SCRIPT would DELETE all EXISTING CONTENT on YOUR USB Drive:/dev/sdb
Is you sure want to CONTINUE? [y/n]: Y
Deleting partition table on USB drive:/dev/sdb ...
Creating new partition table on USB drive:/dev/sdb ...
formating BOOT partition:/DEV/SDB1 as VFAT ...
formating DATA partition:/dev/sdb2 as EXT2 ...
Copying syslinux files to USB partition:/dev/sdb1 ...
Copying ISO file to USB partition:/dev/sdb2 ...
done!
This completes the production of USB
In addition, it can be burned into a disc to install.
Soft Disc Pass UltraISO
This article is from the "673879223" blog, please be sure to keep this source http://miller0intarnet.blog.51cto.com/1550653/1793773
ACS USB installation boot maker