8000 minix/minix/man/man8/setup.8 at v3.3.0 · svagner/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
388 lines (356 loc) · 13.9 KB

setup.8

File metadata and controls

388 lines (356 loc) · 13.9 KB
to run the test programs. They should all run correctly but they can take
20 min on a fast machine and over an hour on a slow one.
\fINote\fR: It is necessary to compile the test suite when running as root
but execute it as bin in order to see if the setuid bit works correctly.
.IT "Rebuild the entire operating system"
If all the tests work correctly, you can now rebuild the system.
Doing so is not necessary since it comes prebuilt, but
if you plan to modify the system, you will need to know how to rebuild it.
Besides, rebuilding the system is a good test to see if it works. Type:
.PP
cd /usr/src/tools
.br
make
.PP
to see the various options available. Now make a new bootable image by typing
.PP
su
make clean
time make image
.PP
You just rebuilt the operating system, including all the kernel and user-mode
parts. That did not take very long, did it?
To update the boot image currently installed on the hard disk, type
.PP
make hdboot
.PP
.IT "Shut down and reboot the new system"
To boot the new system, first shut down by typing:
.PP
shutdown
.PP
This command saves certain files and returns you to the MINIX 3 boot monitor.
To get a summary of what the boot monitor can do, while in it, type:
.PP
help
.PP
For more details, see \fIwww.minix3.org/manpages/man8/boot.8.html\fR.
You can now remove any CD-ROM or floppy disk and turn off the computer.
.IT "Booting Tomorrow"
.PP
If you have a legacy floppy disk drive, the simplest way to boot MINIX 3 is by
inserting your new boot floppy and turning on the power. It takes only a few seconds.
Alternatively, boot from the MINIX 3 CD-ROM, login as bin and type:
.PP
shutdown
.PP
to get back to the MINIX 3 boot monitor. Now type:
.PP
boot c0d0p0
.PP
to boot from the operating system image file on
controller 0, driver 0, partition 0.
Of course, if you put MINIX 3 on drive 0 partition 1, use:
.PP
boot c0d0p1
.PP
and so on.
.PP
A third possibility for booting is to make the MINIX 3 partition the active one,
and use the MINIX 3 boot monitor to start MINIX 3 or any other operating system.
For details
see \fIwww.minix3.org/manpages/man8/boot.8.html\fR.
.PP
Finally, a fourth option is for you to install a multiboot loader such as
LILO or GRUB (\fIwww.gnu.org/software/grub\fR).
Then you can boot any of your operating systems easily.
Discussion of multiboot loaders is beyond the scope of this guide, but there
is some information of the subject at \fIwww.minix3.org/doc\fR.
\fBUSING A SIMULATOR\fR
.nr a 0
.PP
A completely different approach to running MINIX 3 is to run it
on top of another operating system instead of native on the bare
metal. Various virtual machines, simulators, and emulators are
available for this purpose. Some of the most popular ones are:
\(bu VMware (www.vmware.com)
.br
\(bu Bochs (www.bochs.org)
.br
\(bu QEMU (www.qemu.org)
.sp 1v
See the documentation for each of them. Running a program on a
simulator is similar to running it on the actual machine, so you
should go back to Part I and acquire the latest CD-ROM and continue
from there.
0