ACS USB安装引导制作

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ACS USB安装引导制作相关的知识,希望对你有一定的参考价值。

This directory contains utilies and images files that can be used to

create media capable of installing Cisco ACS.


The iso-to-usb.sh script will 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 was 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 will be 

partitioned in a format where non-Linux operating systems will 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 this directory.  This utility

will repartition and reformat your USB key for general use.



操作:======vm =====接入U盘========

[[email protected] aping># fdisk -l


Disk /dev/sda: 21.5 GB, 21474836480 bytes

255 heads, 63 sectors/track, 2610 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x000e4e87


   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1        2356    18922496   83  Linux

/dev/sda2            2356        2611     2048000   82  Linux swap / Solaris


Disk /dev/sdb: 15.8 GB, 15829303296 bytes

120 heads, 51 sectors/track, 5051 cylinders

Units = cylinders of 6120 * 512 = 3133440 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x21be21bd


   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1   *         221        5052    14784640    c  W95 FAT32 (LBA)


重新分区格式化。

[[email protected] aping># mkfs.ext3 /dev/sdb1

mke2fs 1.41.12 (17-May-2010)

文件系统标签=

操作系统:Linux

块大小=4096 (log=2)

分块大小=4096 (log=2)

Stride=0 blocks, Stripe width=0 blocks

966656 inodes, 3864008 blocks

193200 blocks (5.00%) reserved for the super user

第一个数据块=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


正在写入inode表: 完成                            

Creating journal (32768 blocks): 完成



/dev/sdb1               1        5051    15456034+  83  Linux


[[email protected] aping># ./iso-to-usb.sh ACS_v5.5.0.46.iso /dev/sdb

Error: Missing dependency: syslinux 这里缺少依赖包

Please install 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

总用量 1870848

-rw-r--r-- 1 aping aping 1915023360 6月  24 2016 ACS_v5.5.0.46.iso  缺少的包都可以在这个镜像中找到,基于linux系统开发的ACS

-rwxr-xr-x 1 aping aping      11873 11月 20 2013 iso-to-usb.sh

-rw-r--r-- 1 aping aping     213717 11月 19 2007 mtools-3.9.10-2.fc6.i386.rpm

-rw-r--r-- 1 aping aping        982 11月 20 2013 README

-rw-r--r-- 1 aping aping     486126 2月  23 2012 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 WILL DELETE ALL EXISTING CONTENT ON YOUR USB DRIVE: /dev/sdb

ARE YOU SURE YOU 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!

这样就完成了USB的制作

另外,可以刻录成光盘形式去安装。

软碟通UltraISO

本文出自 “673879223” 博客,请务必保留此出处http://miller0intarnet.blog.51cto.com/1550653/1793773

以上是关于ACS USB安装引导制作的主要内容,如果未能解决你的问题,请参考以下文章

使用UltraISO制作u盘启动盘,系统引导光盘(CD/DVD)制作

WinSetupFromUSB制作多系统U盘引导启动

STM32 bluepill USB 引导加载程序 DFU

ESXI系统引导盘

在线求助,用ultraiso制作的u盘启动,usb跟uefi,选择哪个启动

黑果小兵USB黑苹果万能工具盘镜像