Editing MBR and GPT
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Welcome}} | {{Welcome}} | ||
− | + | {{Navbar System}} | |
{{Navbar GhostBSD Boot Process}} | {{Navbar GhostBSD Boot Process}} | ||
Line 6: | Line 6: | ||
The process of starting a computer and loading the operating system is referred to as “the bootstrap process”, or “booting”. The GhostBSD boot process provides a great deal of flexibility in customizing what happens when the system starts, including the ability to select from different operating systems installed on the same computer, different versions of the same operating system, or a different installed kernel. | The process of starting a computer and loading the operating system is referred to as “the bootstrap process”, or “booting”. The GhostBSD boot process provides a great deal of flexibility in customizing what happens when the system starts, including the ability to select from different operating systems installed on the same computer, different versions of the same operating system, or a different installed kernel. | ||
+ | |||
+ | The GhostBSD boot process differs from the FreeBSD boot process. On this page we will show you the similarities and differences. | ||
==GhostBSD Boot Process== | ==GhostBSD Boot Process== | ||
Line 32: | Line 34: | ||
If neither ''bootonce'' nor ''bootme'' attributes are found on any partitions, booting is attempted from the first Ghost/FreeBSD-ufs partition on the disk. | If neither ''bootonce'' nor ''bootme'' attributes are found on any partitions, booting is attempted from the first Ghost/FreeBSD-ufs partition on the disk. | ||
− | The | + | ====Bootstrap Process==== |
+ | |||
+ | By default, a three-stage bootstrap is employed, and control is automatically passed from the boot blocks (bootstrap stages one and two) to a separate third-stage bootstrap program, [https://www.freebsd.org/cgi/man.cgi?query=loader&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports loader(8)]. This third stage provides more sophisticated control over the booting process than it is possible to achieve in the boot blocks, which are constrained by occupying limited fixed space on a given disk or slice. | ||
+ | |||
+ | FILES | ||
+ | * [[/boot/]]boot1 first stage bootstrap file | ||
+ | * [[/boot/]]boot2 second stage bootstrap file | ||
+ | * [[/boot/]]loader third stage bootstrap | ||
+ | |||
+ | The automatic boot will attempt to load '''[[/boot/]]loader''' from partition `a' of either the floppy or the hard disk. This is the final stage of Ghost/FreeBSD's kernel bootstrapping process. | ||
+ | |||
+ | During initialization, loader will probe for a console and set the console variable. <br/> | ||
+ | Next, FICL is initialized, the builtin words are added to its vocabulary, and '''[[/boot/]]boot.4th''' is processed.<br/> | ||
+ | After that, '''[[/boot/]]loader.rc''' is processed. These files are processed through the include command, which reads all of them into memory before processing them, making disk changes possible. | ||
+ | |||
+ | GhostBSD/FreeBSD provides for booting from both the older MBR standard and the newer GUID Partition Table (GPT). | ||
+ | Once the kernel boot process is finished, the kernel passes control to the user process [https://www.freebsd.org/cgi/man.cgi?query=init&sektion=8&manpath=freebsd-release-ports init(8)], which is located at ''/sbin/init''. The '''[[/boot/defaults/loader.conf]]''' states as GhostBSD defaults: ''rc_system="[[OpenRC|openrc]]".'' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
[[Category:Sysutils]] | [[Category:Sysutils]] |