]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - release/texts/FLOPPIES.TXT
This commit was generated by cvs2svn to compensate for changes in r53024,
[FreeBSD/FreeBSD.git] / release / texts / FLOPPIES.TXT
1 For a normal CDROM or network installation, all you need to copy onto
2 actual floppies from this directory are the kern.flp and mfsroot.flp
3 images (for 1.44MB floppies).
4
5 Get two blank, freshly formatted floppies and image copy kern.flp
6 onto one and mfsroot.flp onto the other.  These images are NOT DOS
7 files!  You cannot simply copy them to a DOS or UFS floppy as
8 regular files, you need to "image" copy them to the floppy with
9 fdimage.exe under DOS (see the tools/ directory on your CDROM or
10 FreeBSD FTP mirror) or the `dd' command in UNIX.
11
12 For example:
13
14 To create the kern floppy image from DOS, you'd do something like
15 this:
16
17 C> fdimage kern.flp a:
18
19 Assuming that you'd copied fdimage.exe and kern.flp into a directory
20 somewhere.  You would do the same for mfsroot.flp, of course.
21
22 If you're creating the boot floppy from a UNIX machine, you may find
23 that:
24
25         dd if=floppies/kern.flp of=/dev/rfd0
26
27 or
28
29         dd if=floppies/kern.flp of=/dev/floppy
30
31 work well, depending on your hardware and operating system environment
32 (different versions of UNIX have totally different names for the
33 floppy drive - neat, huh? :-).
34
35 If you're on an ALPHA machine which netboots its floppy images or
36 you have a 2.88MB or LS-120 floppy capable of taking a 2.88MB image
37 on an x86 machine, you may still wish to use the older (but now
38 twice as large) boot.flp image which we also provide.  That contains
39 the contents of kern.flp and mfsroot.flp on a single floppy,
40 essentially, and can be used in all of the above scenarios as well
41 as a handy boot image for those mastering "El Torito" bootable CD
42 images.  See the mkisofs(1) command for more information.
43
44 Going to two installation boot floppies is a step we definitely
45 would have rather avoided but we simply no longer could due to
46 general code bloat and FreeBSD's many new device drivers in GENERIC.
47
48 One positive side-effect of this new organizational scheme, however,
49 is that it also allows one to easily make one's own kern or MFS
50 floppies should a need to customize some aspect of the installation
51 process or use a custom kernel for an otherwise unsupported piece of
52 hardware arise.  As long as the kernel is compiled with
53 ``options MFS'' and ``options MFS_ROOT'', it will properly look for
54 and boot an mfsroot.flp image in memory when run (see how the
55 /boot/loader.rc file in kern.flp does its thing).  The mfsroot.flp
56 image is also just a gzip'd filesystem image which is used as root,
57 something which can be made rather easily using vnconfig(8).
58 If none of that makes any sense to you then don't worry about it -
59 just use the kern.flp and mfsroot.flp images as described above.