LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1821|回复: 8

怎么制作启动盘?

[复制链接]
发表于 2003-10-31 07:51:07 | 显示全部楼层 |阅读模式
如题
发表于 2003-10-31 11:40:41 | 显示全部楼层
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=68270
看看这里,但可能写得不是很好。见谅。
 楼主| 发表于 2003-10-31 16:33:32 | 显示全部楼层
没有象linux一样 直接用命令,写入软盘的阿?
发表于 2003-10-31 17:00:11 | 显示全部楼层
dd if=(image file)  of=/dev/fd0
发表于 2003-10-31 17:16:06 | 显示全部楼层
在光盘根目录下的install.html中有详细的安装说明,看看啊,
 楼主| 发表于 2003-10-31 22:13:35 | 显示全部楼层
最初由 rianren 发表
dd if=(image file)  of=/dev/fd0



jlu# dd if=(image file) of=/dev/fd0
Badly placed ()'s.
jlu#

--
怎么回事?
发表于 2003-10-31 22:57:35 | 显示全部楼层
CP下硬盘的第一个扇区.
dd if=/dev/hda of=mar bs=512 count=1
CP下/dev/hda1的第一个扇区
dd if=/dev/hda1 of=hda1.p bs=512 count=1
CP下/dev/hda2的第一个扇区
dd if=/dev/hda2 of=hda2.p bs=512 count=1

mbr ,hda1.p hda2.p都是文件名,可以自己取.依此类推.
发表于 2003-10-31 23:04:05 | 显示全部楼层
最初由 andrew 发表
jlu# dd if=(image file) of=/dev/fd0
Badly placed ()'s.
jlu#

--
怎么回事?


1.3 Floppy Disk Image Instructions
Depending on how you choose to install FreeBSD, you may need to create a set of floppy disks (usually two) to begin the installation process. This section briefly describes how to create these disks, either from a CDROM installation or from the Internet. Note that in the common case of installing FreeBSD from CDROM, on a machine that supports bootable CDROMs, the steps outlined in this section will not be needed and can be skipped.

For most CDROM or network installations, all you need to copy onto actual floppies from the floppies/ directory are the kern.flp and mfsroot.flp images (for 1.44MB floppies). Depending on your hardware, you may also need to make the third drivers.flp image to provide necessary device drivers.

Getting these images over the network is easy. Simply fetch the release/floppies/kern.flp, release/floppies/mfsroot.flp, and release/floppies/drivers.flp files from ftp://ftp.FreeBSD.org/ or one of the many mirrors listed at FTP Sites section of the Handbook, or on the http://www.freebsdmirrors.org/ Web pages.

Get two blank, freshly formatted floppies and image copy kern.flp onto one and mfsroot.flp onto the other. These images are not DOS files. You cannot simply copy them to a DOS or UFS floppy as regular files, you need to ``image'' copy them to the floppy with fdimage.exe under DOS (see the tools directory on your CDROM or FreeBSD FTP mirror) or the dd(1) command in UNIX.

For example, to create the kernel floppy image from DOS, you'd do something like this:

C> fdimage kern.flp a:

Assuming that you'd copied fdimage.exe and kern.flp into a directory somewhere. You would do the same for mfsroot.flp, of course.

If you're creating the boot floppy from a UNIX machine, you may find that:

# dd if=floppies/kern.flp of=/dev/rfd0

or

# dd if=floppies/kern.flp of=/dev/floppy

work well, depending on your hardware and operating system environment (different versions of UNIX have different names for the floppy drive).
 楼主| 发表于 2003-10-31 23:47:49 | 显示全部楼层
最初由 devel 发表
CP下硬盘的第一个扇区.
dd if=/dev/hda of=mar bs=512 count=1
CP下/dev/hda1的第一个扇区
dd if=/dev/hda1 of=hda1.p bs=512 count=1
CP下/dev/hda2的第一个扇区
dd if=/dev/hda2 of=hda2.p bs=512 count=1

mbr ,hda1.p hda2.p都是文件名,可以自己取.依此类推.



那么多到底是哪个制作启动盘阿,能说清楚一点吗,我刚装上!
3Q!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表