Chinaunix首页 | 论坛 | 博客
  • 博客访问: 593042
  • 博文数量: 158
  • 博客积分: 2696
  • 博客等级: 少校
  • 技术积分: 1668
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-10 00:49
个人简介

life?is?short?,?play?more!

文章分类

全部博文(158)

文章存档

2021年(1)

2013年(10)

2012年(4)

2011年(11)

2010年(27)

2009年(28)

2008年(52)

2007年(25)

我的朋友

分类: LINUX

2009-02-16 17:40:36

 

I will assume your USB device is at /dev/sdb
Please backup all your data in your USB key. Because all the data will be deleted.
1) Insert your USB key to your computer which run Linux OS.
Umount the USB partition if linux automatically mounts your USB partition.
2) If your USB device is /dev/sdb, Run the following command to format your USB as one FAT parition
mkdosfs -I /dev/sdbMount the one FAT parition / USB to your Linux OS
3) Copy all the contents under /cdrom/isolinux to your USB partition. eg:
cp -r /cdrom/isolinux/* /dev/sdb/In your USB partition, rename isolinux.cfg to syslinux.cfg. eg:
mv isolinux.cfg syslinux.cfg  
4) Umount your USB partition. eg:
umount /dev/sdbRun the following command to make the USB bootable. eg:
syslinux /dev/sdb

Note: syslinux in some distrabuted linux version will do the all steps to make a bootable usb disk. (so under these linux os, we just run syslinux /dev/sdb) Bad point is that ,u can't modify the boot messages and boot lables that u want urself.

阅读(1103) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~