制作FreeBSD的usb启动盘

FreeBSD手册中讲的很仔细,为了方便以后的资料调取,这里特定存档。

制作步骤:

1 先从网上下载memstick.img文件,最新的9.0的地址是:

ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/ISO-IMAGES/9.0/FreeBSD-9.0-RELEASE-i386-memstick.img.

2 从网上下载Image Writer for Windows,这样图形界面的软件在windows下更易使用。直接将img映像文件写入u盘;如果是在freebsd下,直接用dd写入就行了。

这个启动盘就做好了,据我试用,这个盘应该是还可以再编辑,比如安装其它软件的,具体等以后试验了。

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html

To create a bootable memory stick, follow these steps:

  1. Acquire the Memory Stick ImageThe memory stick image can be downloaded from the ISO-IMAGES/ directory fromftp://ftp.FreeBSD.org/pub/FreeBSD/releases/arch/ISO-IMAGES/version/FreeBSD-version-RELEASE-arch-memstick.img. Replace arch andversion with the architecture and the version number which you want to install, respectively. For example, the memory stick images for FreeBSD/i386 9.0-RELEASE are available from ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/ISO-IMAGES/9.0/FreeBSD-9.0-RELEASE-i386-memstick.img.The memory stick image has a .img extension. The ISO-IMAGES/ directory contains a number of different images, and the one you will need to use will depend on the version of FreeBSD you are installing, and in some cases, the hardware you are installing to.

    Important: Before proceeding, back up the data you currently have on your USB stick, as this procedure will erase it.

  2. Write The Image File to the Memory Stick

    Using FreeBSD To Write the Image

    Warning: The example below lists /dev/da0 as the target device where the image will be written. Be very careful that you have the correct device as the output target, or you may destroy your existing data.

    1. Writing the Image with dd(1)The .img file is not a regular file you copy to the memory stick. It is an image of the complete contents of the disk. This means that you cannot simply copy files from one disk to another. Instead, you must usedd(1) to write the image directly to the disk:
      # dd if=FreeBSD-9.0-RELEASE-i386-memstick.img of=/dev/da0 bs=64k

      If an Operation not permitted error is displayed, make certain that the target device is not in use, mounted, or being automounted by some well-intentioned utility program. Then try again.

    Using Windows® To Write the Image

    Warning: Make sure you use the correct drive letter as the output target, or you may overwrite and destroy existing data.

    1. Obtaining Image Writer for WindowsImage Writer for Windows is a free application that can correctly write an image file to a memory stick. Download it from https://launchpad.net/win32-image-writer/ and extract it into a folder.
    2. Writing The Image with Image WriterDouble-click the Win32DiskImager icon to start the program. Verify that the drive letter shown underDevice is the drive with the memory stick. Click the folder icon and select the image to be written to the memory stick. Click Save to accept the image file name. Verify that everything is correct, and that no folders on the memory stick are open in other windows. Finally, click Write to write the image file to the drive.

制作FreeBSD的usb启动盘》有1个想法

发表评论

电子邮件地址不会被公开。 必填项已用*标注

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>