Difference between revisions of "/boot/"

From GhostBSD Wiki
Jump to: navigation, search
(Programs and Files)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Welcome}}
 
{{Welcome}}
 +
{{Navbar GhostBSD Boot Process}}
  
 
==Introduction==
 
==Introduction==
Line 17: Line 18:
 
|file: [[/boot/defaults/loader.conf]]
 
|file: [[/boot/defaults/loader.conf]]
 
|default settings -- do not change this file.
 
|default settings -- do not change this file.
|-
 
|file: [[/boot/loader.conf]]
 
|user defined settings
 
|-
 
|file: /boot/loader.conf.local
 
|machine-specific settings for sites with a  <code>common loader.conf.</code>
 
 
|-
 
|-
 
|dtb/    
 
|dtb/    
Line 28: Line 23:
 
|-
 
|-
 
|firmware/   
 
|firmware/   
|loadable kernel modules containing binary firmware <br/>for hardware that needs firmware downloaded to it  to function
+
|this file is emty
 
|-
 
|-
|kernel/    
+
|[[Kernel|kernel]]/    
 
|pure kernel executable (the operating system loaded into memory at boot time) and kernel modules
 
|pure kernel executable (the operating system loaded into memory at boot time) and kernel modules
 
|-
 
|-
|modules/   
+
|[[Modules|modules]]/   
 
|third-party loadable kernel modules; see [https://www.freebsd.org/cgi/man.cgi?query=kldstat&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports kldstat(8)]
 
|third-party loadable kernel modules; see [https://www.freebsd.org/cgi/man.cgi?query=kldstat&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports kldstat(8)]
 
|-
 
|-
 
|overlays/   
 
|overlays/   
|Compiled flattened device tree (FDT) overlays; see  [https://www.freebsd.org/cgi/man.cgi?query=fdt&sektion=4&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports fdt(4)] and [https://www.freebsd.org/cgi/man.cgi?query=dtc&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports dtc(1)] - not on GhostBSD
+
|On FreeBSD: Compiled flattened device tree (FDT) overlays; see  [https://www.freebsd.org/cgi/man.cgi?query=fdt&sektion=4&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports fdt(4)] and [https://www.freebsd.org/cgi/man.cgi?query=dtc&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports dtc(1)] <br/>'''Directory not on GhostBSD'''
 
|-
 
|-
 
|zfs/    
 
|zfs/    
Line 54: Line 49:
 
|-
 
|-
 
|/boot/beastie.4th
 
|/boot/beastie.4th
|[https://www.unix.com/man-page/freebsd/8/beastie.4th/ The file that goes by the name of beastie.4th] is a set of commands designed to draw the ASCII art FreeBSD mascot, known simply as beastie, to the right of the boot loader menu.]
+
|[https://www.unix.com/man-page/freebsd/8/beastie.4th/ The file that goes by the name of beastie.4th] is a set of commands designed to draw the ASCII art FreeBSD mascot, known simply as beastie, to the right of the boot loader menu.
 
|-
 
|-
 
|/boot/boot
 
|/boot/boot
|[https://www.unix.com/man-page/freebsd/8/boot/ system bootstrapping procedures]
+
|[https://www.unix.com/man-page/freebsd/8/boot/ system bootstrapping procedures] A single, full-blown file, boot (/boot/boot), is what ultimately is written to disk.
 
|-
 
|-
 
|/boot/boot0
 
|/boot/boot0
|
+
|[https://www.freebsd.org/doc/en/books/arch-handbook/boot-boot0.html The Master Boot Record] It is a small 512-byte file.
 
|-
 
|-
 
|/boot/boot0sio
 
|/boot/boot0sio
|
+
|Image for serial consoles (COM1,9600,8,N,1,MODEM) [https://www.unix.com/man-page/FreeBSD/8/boot0cfg/ see: FILES]
 
|-
 
|-
 
|/boot/boot1
 
|/boot/boot1
|
+
|[https://www.freebsd.org/doc/en/books/arch-handbook/boot-boot1.html boot1 is the next step in the boot-loading sequence]
 
|-
 
|-
 
|/boot/boot1.efi
 
|/boot/boot1.efi
|
+
|[https://www.freebsd.org/cgi/man.cgi?query=uefi&sektion=8&manpath=freebsd-release-ports UEFI] The default UEFI boot configuration for FreeBSD installs boot1.efi in the default path.
 
|-
 
|-
 
|/boot/boot1.efifat
 
|/boot/boot1.efifat
|
+
|[https://www.freebsd.org/cgi/man.cgi?query=uefi&sektion=8&manpath=freebsd-release-ports UEFI]  [https://www.freebsd.org/cgi/man.cgi?query=msdosfs&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports msdosfs(5)] FAT file system image containing boot1.efi for use by [https://www.freebsd.org/cgi/man.cgi?query=bsdinstall&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports bsdinstall(8)] and the bootcode argument to [https://www.freebsd.org/cgi/man.cgi?query=gpart&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports gpart(8)].
 
|-
 
|-
 
|/boot/boot2
 
|/boot/boot2
|
+
|boot2 is much bigger than boot0 and boot1, holding both the BTX server and the boot2 client
 
|-
 
|-
 
|/boot/brand.4th
 
|/boot/brand.4th
|
+
|[https://www.unix.com/man-page/freebsd/8/brand.4th/ FreeBSD ASCII art boot module]
 
|-
 
|-
 
|/boot/brand-fbsd.4th
 
|/boot/brand-fbsd.4th
|
+
|[https://github.com/freebsd/freebsd/blob/master/stand/forth/brand.4th like brand.4th]
 
|-
 
|-
 
|/boot/cdboot
 
|/boot/cdboot
|
+
|Boot from CD
 
|-
 
|-
 
|/boot/check-password.4th
 
|/boot/check-password.4th
Line 117: Line 112:
 
|-
 
|-
 
|/boot/isoboot
 
|/boot/isoboot
|
+
|Boot from iso
 
|-
 
|-
 
|/boot/loader
 
|/boot/loader
Line 123: Line 118:
 
|-
 
|-
 
|/boot/loader.4th
 
|/boot/loader.4th
|loader(8) bootstrapping script. [https://www.unix.com/man-page/freebsd/8/loader.4th/ loader.conf processing tools]
+
|[https://www.unix.com/man-page/freebsd/8/loader/ loader(8)] bootstrapping script. [https://www.unix.com/man-page/freebsd/8/loader.4th/ loader.conf processing tools]
 
|-
 
|-
 
|[[/boot/loader.conf]]
 
|[[/boot/loader.conf]]
Line 132: Line 127:
 
|-
 
|-
 
|/boot/loader.rc
 
|/boot/loader.rc
|loader bootstrapping script.
+
|loader bootstrapping script. Standard: /boot/loader.rc: include /boot/loader.4th
 
|-
 
|-
 
|/boot/loader.rc.local
 
|/boot/loader.rc.local
Line 172: Line 167:
 
|-
 
|-
 
|/boot/mbr
 
|/boot/mbr
|
+
|Master Boot Record
 
|-
 
|-
 
|/boot/menu.4th
 
|/boot/menu.4th
Line 211: Line 206:
 
|-
 
|-
 
|/boot/version.4th
 
|/boot/version.4th
|[https://www.unix.com/man-page/freebsd/8/version.4th/] The file that goes by the name of version.4th is a set of commands designed to draw the boot loader version at the bottom-right of the screen.  The commands of version.4th by themselves are not enough for most uses.  Please refer to the examples below for the most common situations, and to loader(8) for additional commands.
+
| The file that goes by the name of [https://www.unix.com/man-page/freebsd/8/version.4th/ version.4th] is a set of commands designed to draw the boot loader version at the bottom-right of the screen.  The commands of [https://www.unix.com/man-page/freebsd/8/version.4th version.4th] by themselves are not enough for most uses.  Please refer to the examples below for the most common situations, and to [https://www.unix.com/man-page/freebsd/8/loader/ loader(8)] for additional commands.
 
|-
 
|-
 
|/boot/zfsboot
 
|/boot/zfsboot
Line 217: Line 212:
 
|-
 
|-
 
|/boot/zfsloader
 
|/boot/zfsloader
|[https://www.unix.com/man-page/freebsd/8/zfsloader/ zfsloader is an extended variant] of loader(8) with added support for booting from ZFS.  This document describes only differences from loader(8).]
+
|[https://www.unix.com/man-page/freebsd/8/zfsloader/ zfsloader is an extended variant] of [https://www.unix.com/man-page/freebsd/8/loader/ loader(8)] with added support for booting from ZFS.  This document describes only differences from [https://www.unix.com/man-page/freebsd/8/loader/ loader(8).]
  
 
|}
 
|}
  
 
[[Category:Sysutils]]
 
[[Category:Sysutils]]

Latest revision as of 15:59, 23 March 2020

Welcome to Icon Disti GhostBSD.png /boot/.
GhostBSD Boot Process
MBR and GPT UEFI OpenRC /boot/
Back to the Icon Disti GhostBSD.pngSystem

Introduction[edit]

The directory /boot/ contains all important programs and configuration files used during operating system bootstrap.

Content[edit]

Directory Description
defaults/ default bootstrapping configuration files; see loader.conf(5)
file: /boot/defaults/loader.conf default settings -- do not change this file.
dtb/ Compiled flattened device tree (FDT) files; see fdt(4) and dtc(1)
firmware/ this file is emty
kernel/ pure kernel executable (the operating system loaded into memory at boot time) and kernel modules
modules/ third-party loadable kernel modules; see kldstat(8)
overlays/ On FreeBSD: Compiled flattened device tree (FDT) overlays; see fdt(4) and dtc(1)
Directory not on GhostBSD
zfs/ zfs(8) zpool cache files
Back to Icon Disti GhostBSD.pngDirectory Structure

Programs and Files[edit]

Variable Description
/boot/beastie.4th The file that goes by the name of beastie.4th is a set of commands designed to draw the ASCII art FreeBSD mascot, known simply as beastie, to the right of the boot loader menu.
/boot/boot system bootstrapping procedures A single, full-blown file, boot (/boot/boot), is what ultimately is written to disk.
/boot/boot0 The Master Boot Record It is a small 512-byte file.
/boot/boot0sio Image for serial consoles (COM1,9600,8,N,1,MODEM) see: FILES
/boot/boot1 boot1 is the next step in the boot-loading sequence
/boot/boot1.efi UEFI The default UEFI boot configuration for FreeBSD installs boot1.efi in the default path.
/boot/boot1.efifat UEFI msdosfs(5) FAT file system image containing boot1.efi for use by bsdinstall(8) and the bootcode argument to gpart(8).
/boot/boot2 boot2 is much bigger than boot0 and boot1, holding both the BTX server and the boot2 client
/boot/brand.4th FreeBSD ASCII art boot module
/boot/brand-fbsd.4th like brand.4th
/boot/cdboot Boot from CD
/boot/check-password.4th
/boot/color.4th FreeBSD color-detection boot module
/boot/delay.4th FreeBSD debugging boot module
/boot/device.hints device resource hints
/boot/efi.4th
/boot/frames.4th
/boot/gptboot GPT bootcode for UFS on BIOS-based computers
/boot/gptboot.efi
/boot/gptboot.efifat
/boot/gptzfsboot GPT bootcode for ZFS on BIOS-based computers
/boot/isoboot Boot from iso
/boot/loader The program called loader is the final stage of FreeBSD's kernel bootstrapping process.[1]
/boot/loader.4th loader(8) bootstrapping script. loader.conf processing tools
/boot/loader.conf user defined settings
/boot/loader.efi
/boot/loader.rc loader bootstrapping script. Standard: /boot/loader.rc: include /boot/loader.4th
/boot/loader.rc.local
/boot/loader_4th
/boot/loader_4th.efi
/boot/loader_lua
/boot/loader_lua.efi
/boot/loader_simp
/boot/loader_simp.efi
/boot/logo-beastie.4th
/boot/logo-beastiebw.4th
/boot/logo-fbsdbw.4th
/boot/logo-orb.4th
/boot/logo-orbbw.4th
/boot/mbr Master Boot Record
/boot/menu.4th FreeBSD dynamic menu boot module
/boot/menu.rc
/boot/menu-commands.4th
/boot/menusets.4th FreeBSD dynamic submenu boot module
/boot/pmbr
/boot/pxeboot Preboot Execution Environment (PXE) bootloader
/boot/screen.4th
/boot/shortcuts.4th
/boot/support.4th
/boot/userboot.so
/boot/userboot_4th.so
/boot/userboot_lua.so
/boot/version.4th The file that goes by the name of version.4th is a set of commands designed to draw the boot loader version at the bottom-right of the screen. The commands of version.4th by themselves are not enough for most uses. Please refer to the examples below for the most common situations, and to loader(8) for additional commands.
/boot/zfsboot bootcode for ZFS on BIOS-based computers
/boot/zfsloader zfsloader is an extended variant of loader(8) with added support for booting from ZFS. This document describes only differences from loader(8).