1)格式化U盘,然后制定分区的文件系统可选

使用a,指定分区为启动分区

1 ext3文件系统格式

生成extlinux.cfg配置文件

2 win95 FAT32文件格式

生成syslinux.cfg配置文件

开始将光盘内容写入USB中:

/dev/sdb1是刚才的分区

# livecd-iso-to-disk CentOS-5.4-x86_64-LiveCD.iso /dev/sdb1 --reset-mbr

【注意:请使用reset-mbr重新将mbr启动引导代码写入mbr,否则系统可能无法启动】

Verifying p_w_picpath... 

/tmp/CentOS-5.4-x86_64-LiveCD.iso:     ad63c0a54086eb35e892d6e1292085e3 

Fragment sums: 9e363badf4e9359c76ce8e324bdbd82847bed2dcc8e7e22ecbb2ddda2621 

Fragment count: 20 

Percent complete: 100.0%     Fragment[20/20] -> OK 

100.0 

The supported flag value is 0 

The media check is complete, the result is: PASS. 

It is OK to install from this media. 

Already set up as live p_w_picpath.    Deleting old in fifteen seconds... 

Copying live p_w_picpath to USB stick 

Updating boot config file 

Installing boot loader 

USB stick set up as live p_w_picpath! 

问题1:如果没有格式化文件系统,出现如下的错误:

It is OK to use this media.

mount: /dev/sdd1: can't read superblock

Cleaning up to exit...

umount: /media/usbdev.AkFUXh: not mounted