標題: How to make a bootable USB flash drive? -- able to install CentOS [打印本頁] 作者: 角色 時間: 2010-8-8 16:00 標題: How to make a bootable USB flash drive? -- able to install CentOS
本帖最後由 角色 於 2010-8-10 05:37 編輯
为了安装多Asterisk server,这个Bootable USB flash drive能让你简化一些tasks,不然你要拿一个CDROM,floppy disks等等。如果你有一个Bootable USB flash drive,那么救机时也大派用场。
但是安装一个bootable USB drive,可能中间会出现各类不同的问题,所以这幅帖子是用来集中讨论怎样建立一支bootable USB flash drive。
1) 下载下面两个软件 fbinst.zip and grldr.zip
fbinst.exe是一个program,它让你的USB flash drive与mainland board的USB driver的沟通起来很大的作用。
Extract the files into a single directory.
3) Using an editor to creat another file of name menu.lst
timeout 10
default 0
title CommandLine
commandline
title Reboot
reboot
title Halt
halt
複製代碼
4) format USB flash drive using Windows formating application
5) Assume hd1 is the USB flash drive device name, excute the following commands in a command prompt.
fbinst (hd1) format
(If problems occur, you may use fbinst (hd1) format --force)
fbinst (hd1) add grldr .\grldr
fbinst (hd1) add-menu fb.cfg .\fb.txt
6) Using Windows application to copy menu.lst to the root directory of the USB flash drive
A bootable USB flash drive is ready for booting. You may see the following message if your configuration is correct.
Command line
Reboot
Halt
Another member named jianliulin write a GUI too based fbinst to facilitate the file management in USB flash drives FbinstTool_V 1.509.part2.rar (181.05 KB)
Actually, all the above can be found in the site http://www.pendrivelinux.com/ which I highly recommend to those interested parties. The site is updated almost every day. Please visit frequently.作者: bubblestar 時間: 2010-8-8 23:14
It is REQUIRED that your flash drive contain a formatted partition! Some flash drives ship formatted "superfloppy" (without a partition table). Those drives will need to be reformatted to use a partition, so they can be detected by BIOS as a Hard Drive. If you are not presented with a Boot Menu as pictured above, or the menu is found at (fd0) instead of (hd0,0) the problem is likely that you are trying to boot the flash drive as a superfloppy. You should reformat your flash drive using one of the methods listed HERE, then reinstall MultiBootISOs, and attempt to boot using the USB-HDD or USB-ZIP BIOS option or see if the drive shows up as a selectable hard disk in your Boot Menu.作者: 角色 時間: 2010-8-8 23:23
本帖最後由 角色 於 2010-8-8 23:31 編輯
Thank bubblestar's advice. I remember that I did not do any parition on my USB flash drive. I just use the format command (either Windows or HP format tool) to format my USB flash drive. I shall consider your advice that at least one paritition is given to my USB flash drive before formating it.
I have a question that in the past, I did use the HP formatting tool to format my USB flash drive. However I did not use any fdisk partition software to partition my USB flash drive. Have you made any partition in your USB flash drive after formatting your USB flash drive?
YH作者: bubblestar 時間: 2010-8-9 00:01
I rarely use fdisk partition software. Actually, HP formatting tool is quite enough. Sometimes, I even do not need this tool and the flash drive can be recognized by BIOS.
The point is that we have to make sure the newly bought flash drive is not a "superfloppy". If it is the case, we just use the HP formatting tool as advised to make this workout. Windows formatting tool is not the best choice, in fact.作者: dreamy2k 時間: 2010-8-9 00:13
I am able to make my both USB flash drives to be bootable with MultiBootISOs-v1.6.exe program. However I am not able to install GRUB4DOS program using the link . Any advice to fix this problem.
Should not be able to install Centos into a USB stick. For Ubuntu, you can install into a USB hard disk, use grub to install other. In my case, I boot up with a Grub, then select a hackintosh. There is way to allow boot XP from USB but I have not tried before.作者: bubblestar 時間: 2010-8-9 10:12
正常情況,你可以如下,
1. 你的 asterisk server 可以裝 sources codes, library and compiler
2. download sources into /usr/src
3. ./configure and make menuselect. Add what you want
4. make (but do not "make install")
5. find out the .so in the codecs directory
6. copy to the appropriate directory of your asterisk.
7. maintain your asterisk with RPM
因為CPU 唔同,係唔同機compile,可能唔 work作者: dreamy2k 時間: 2010-8-9 12:52