Home
last modified time | relevance | path

Searched +full:- +full:boot (Results 1 – 25 of 1090) sorted by relevance

12345678910>>...44

/freebsd/sbin/fsck_msdosfs/
H A Dboot.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
31 __RCSID("$NetBSD: boot.c,v 1.22 2020/01/11 16:29:07 christos Exp $");
46 readboot(int dosfs, struct bootblock *boot) in readboot() argument
53 perr("could not read boot block"); in readboot()
58 pfatal("Invalid signature in boot block: %02x%02x", in readboot()
63 memset(boot, 0, sizeof *boot); in readboot()
64 boot->ValidFat = -1; in readboot()
69 boot->bpbBytesPerSec = block[11] + (block[12] << 8); in readboot()
70 if (boot->bpbBytesPerSec < DOSBOOTBLOCKSIZE_REAL || in readboot()
[all …]
H A Dfat.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
93 assert((lbp->map[i] & ~clearmask) != 0); in bitmap_clear()
94 lbp->map[i] &= clearmask; in bitmap_clear()
95 lbp->count--; in bitmap_clear()
104 return ((lbp->map[i] & usedbit) == usedbit); in bitmap_get()
112 return (lbp->map[i] == 0); in bitmap_none_in_range()
118 return (lbp->count); in bitmap_count()
126 free(lbp->map); in bitmap_ctor()
127 lbp->map = calloc(1, bitmap_size); in bitmap_ctor()
[all …]
/freebsd/sbin/bectl/
H A Dbectl.84 .\" SPDX-License-Identifier: BSD-2-Clause
11 .Nd manage ZFS boot environments
83 utility manages bootable ZFS clones called boot environments.
84 Boot envionments allow system changes to be tested safely,
85 as they are selectable directly from the boot
93 boot environments.
94 Once the changes have been tested, the boot environment can be
101 .Bl -tag -width indent
105 Specify a parent dataset for the boot environment to use for
115 as the default boot filesystem.
[all …]
/freebsd/stand/efi/gptboot/
H A Dgptboot.efi.833 is used on UEFI computers to boot from a UFS partition on a
34 GPT-partitioned disk.
37 For BIOS-based computers,
50 What UEFI computers boot is usually controlled via the mechanisms explained in
57 When the users cannot rely on host-supplied UEFI variables
65 boot from, as described under
70 The firmware will then try the next bootable item in the UEFI Boot Manager's
81 specific and non-standard.
82 .Bl -tag -width ".Cm bootfailed"
84 Attempt to boot from this partition.
[all …]
/freebsd/sbin/kldconfig/
H A Dkldconfig.851 .Bl -tag -width indent
77 .Dq Unique-ify
78 the current search path - if any of the directories is repeated one
89 .Bl -tag -width indent
90 .It Pa /boot/kernel , /boot/modules , /modules
94 .Ex -std
97 .Bd -literal -offset indent
98 $ kldconfig -r
99 /boot/kernel;/boot/modules;/boot/dtb;/boot/dtb/overlays
103 .Pa /boot
[all …]
/freebsd/sbin/reboot/
H A Dboot_i386.839 .Nm boot
43 Normally, the system will reboot itself at power-up or after crashes.
45 and unless this fails, the system will resume multi-user operations.
48 Legacy i386 PCs attempt to boot first from floppy disk drive 0 (sometimes
52 you to change this default sequence, and may also include a CD-ROM
53 drive as a boot device.
55 Contemporary PCs boot using UEFI firmware, not BIOS.
60 A three-stage bootstrap is employed.
61 Control is passed from the boot blocks (bootstrap stages one and two) to a
62 third-stage bootstrap program,
[all …]
/freebsd/stand/i386/gptboot/
H A Dgptboot.830 .Nd GPT bootcode for UFS on BIOS-based computers
33 is used on BIOS-based computers to boot from a UFS partition on a
34 GPT-partitioned disk.
37 .Cm freebsd-boot
48 boot from, as described under
54 switches from auto-boot to interactive mode.
56 filename, and boot option flags, as described in
57 .Xr boot 8 .
65 .Bl -tag -width ".Cm bootfailed"
67 Attempt to boot from this partition.
[all …]
/freebsd/tools/boot/
H A Drootgen.sh10 # Builds all the bat-shit crazy combinations we support booting from,
11 # at least for amd64. It assume you have a ~sane kernel in /boot/kernel
18 # This assumes an external program install-boot.sh which will install
19 # the appropriate boot files in the appropriate locations.
25 . $(dirname $0)/install-boot.sh
31 # Copy kernel + boot loader
32 (cd $src ; tar cf - .) | (cd $dst; tar xf -)
48 makefs -t ffs -B little -s 200m -o label=root ${img}.p2 ${src}
49 mkimg -s gpt -b ${src}/boot/pmbr \
50 -p freebsd-boot:=${src}/boot/gptboot \
[all …]
H A Dinstall-boot.sh4 # Installs/updates the necessary boot blocks for the desired boot environment
7 # be a boot tool for regression testing.
9 # insert code here to guess what you have -- yikes!
34 case ${TARGET:-$(uname -m)} in
40 *) die "machine type $(uname -m) doesn't support UEFI" ;;
50 if [ "$sizekb" -ge "$fat32min" ]; then
52 elif [ "$sizekb" -ge "$fat16min" ]; then
58 stagedir=$(mktemp -d /tmp/stand-test.XXXXXX)
59 mkdir -p "${stagedir}/EFI/BOOT"
68 while [ ! -z $1 ]; do
[all …]
/freebsd/stand/i386/gptzfsboot/
H A Dgptzfsboot.830 .Nd GPT bootcode for ZFS on BIOS-based computers
33 is used on BIOS-based computers to boot from a filesystem in
37 .Cm freebsd-boot
38 partition of a GPT-partitioned disk with
46 tries to find all ZFS pools that are composed of BIOS-visible
61 .Cm freebsd-zfs
63 The first pool seen during probing is used as a default boot pool.
67 property of the pool is used as a default boot filesystem.
73 is loaded from the boot filesystem.
75 .Pa /boot.config
[all …]
/freebsd/stand/forth/
H A Dloader.4th.838 .Pa /boot/loader.rc
64 .Pa /boot/loader.rc
65 file, so it is not needed (and should not be re-issued) in a normal setup.
68 .Bl -tag -width disable-module_module -compact -offset indent
69 .It Ic boot
70 .It Ic boot Ar kernelname Op Cm ...
71 .It Ic boot Ar directory Op Cm ...
72 .It Ic boot Fl flag Cm ...
73 Boot as specified by the
77 Depending on the arguments passed, it can override boot flags and
[all …]
H A Dcheck-password.4th.81 .\" Copyright (c) 2011-2018 Devin Teske
29 .Nm check-password.4th
30 .Nd FreeBSD password-checking boot module
37 .Dl o Prevent modification of boot options without password
53 .Dl include check-password.4th
56 .Pa /boot/loader.4th
57 file, so it is not needed (and should not be re-issued) in a normal setup.
61 .Bl -tag -width disable-module_module -compact -offset indent
62 .It Ic check-password
63 Multi-purpose function that can protect the interactive boot menu,
[all …]
H A Dmenu.rc7 include /boot/version.4th
8 include /boot/brand.4th
9 include /boot/menu.4th
10 include /boot/menu-commands.4th
11 include /boot/shortcuts.4th
15 print_version \ print version string (bottom-right; see `version.4th')
16 draw-beastie \ draw freebsd mascot (on right; see `beastie.4th')
17 draw-brand \ draw the FreeBSD title (top-left; see `brand.4th')
18 menu-init \ initialize the menu area (see `menu.4th')
21 \ NOTE: To use `non-ansi' variants, add `loader_color=0' to loader.conf(5)
[all …]
/freebsd/share/man/man5/
H A Dboot.config.528 .Nm boot.config
29 .Nd "Configuration file for the legacy boot blocks"
35 boot block code.
37 When the first- and second-stage
39 boot loaders run, they search the
41 slice of the boot partition for a
45 partition require user intervention during the boot process).
49 options for the boot block code and are echoed to the system console.
54 .Xr boot 8
56 .Dq Li "boot:"
[all …]
/freebsd/lib/libbe/
H A Dlibbe.32 .\" SPDX-License-Identifier: BSD-2-Clause
33 .Nd library for creating, destroying and modifying ZFS boot environments
150 regarding ZFS boot environments, including "deep" boot environments in which
151 a boot environment has child datasets.
181 .Bl -bullet
183 .Pa /boot
190 The system has not been properly booted with a ZFS boot
194 fails to open the zpool the active boot environment resides on, or
197 fails to locate the boot environment that is currently mounted.
208 function returns the name of the currently booted boot environment.
[all …]
/freebsd/usr.sbin/efibootmgr/
H A Defibootmgr.81 .\"-
2 .\" SPDX-License-Identifier: BSD-2-Clause
4 .\" Copyright (c) 2017-2018 Netflix, Inc.
32 .Nd manipulate the EFI Boot Manager
73 .Fl u Ar unix-path
77 program manipulates how UEFI Boot Managers boot the system.
80 It can also change the defined order of boot methods.
81 It can create a temporary boot (BootNext) variable that references a
82 boot method to be tried once upon the next boot.
88 .Cm Boot Ns Em XXXX
[all …]
/freebsd/share/man/man8/
H A Duefi.833 Unified Extensible Firmware Interface provides boot- and run-time services
45 boot process loads system bootstrap code located in an EFI System Partition
50 .Bl -column -offset indent "Partition Scheme" "ESP Identifier"
52 .It GPT Ta C12A7328-F81F-11D2-BA4B-00A0C93EC93B
58 boot process proceeds as follows:
59 .Bl -enum -offset indent -compact
66 If not set, an architecture-specific default is used.
67 .Bl -column -offset indent "Architecture" "Default Path"
69 .It amd64 Ta Pa /EFI/BOOT/BOOTX64.EFI
70 .It arm Ta Pa /EFI/BOOT/BOOTARM.EFI
[all …]
/freebsd/sys/contrib/device-tree/src/arm/marvell/
H A Dmmp2-brownstone.dts1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
12 compatible = "mrvl,mmp2-brownstone", "mrvl,mmp2";
34 interrupt-parent = <&intcmux4>;
35 interrupt-controller;
36 #interrupt-cells = <1>;
37 maxim,tsc-irq = <0>;
41 regulator-min-microvolt = <637500>;
42 regulator-max-microvolt = <1425000>;
43 regulator-boot-on;
[all …]
/freebsd/stand/man/
H A Dloader.efi.82 .\" SPDX-License-Identifier: BSD-2-Clause
4 .\" Copyright (c) 2019-2022 Netflix, Inc
52 or when placed directly as the default boot program as described in
69 .Dv 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut
154 .Bl -column -offset indent ".Sy Windows Name" ".Sy I/O Port Address" ".Sy Typical FreeBSD device"
169 The primary console is set using the boot flags.
176 Boot flags may be set on the command line to the boot command.
180 .Bl -column -offset indent ".Sy boot flag" ".Sy loader variable" ".Sy Kernel RB_ flag"
181 .It Sy boot flag Ta Sy loader variable Ta Sy Kernel RB_ flag
197 .Bl -column -offset xxx "Flags" "RB_SERIAL | RB_MULTIPLE" "Kernel Consoles" "Primary Console"
[all …]
/freebsd/stand/defaults/
H A Dloader.conf.552 .Bl -bullet
77 .Bl -tag -width Ar
90 .Pa /boot/loader.rc ,
101 .Dq Li -1 ,
126 since those flags apply to all boot loaders.
128 Set to "yes" to get the same effect as boot -v or booting verbose from the
145 The lua-based loader will process files with a
156 should be treated as write-only.
175 .Pa /boot/loader.conf.d/PRODUCT
179 .Bd -literal
[all …]
H A Dloader.conf1 # This is loader.conf - a file full of useful variables that you can
11 exec="echo Loading /boot/defaults/loader.conf"
13 kernel="kernel" # /boot sub-directory containing kernel and modules
16 loader_conf_files="/boot/device.hints /boot/loader.conf"
17 loader_conf_dirs="/boot/loader.conf.d"
18 local_loader_conf_files="/boot/loader.conf.local"
19 nextboot_conf="/boot/nextboot.conf"
30 splash="/boot/images/freebsd-logo-rev.png" # Set boot_mute=YES to load it
46 # cached entropy at boot time
47 entropy_cache_name="/boot/entropy" # Set this to the name of the file
[all …]
/freebsd/tools/tools/nanobsd/rescue/Files/root/
H A DZFS_Create.txt2 Some remarks for setting up a zfs boot environment
4 ZFS Boot sctructure:
5 boot
6 +-ROOT
7 +-root
8 [+-root2]
9 [+-root3]
11 zpool create -o mountpoint=none boot ...
12 zpool set listsnapshots=on boot
14 zfs create -o mountpoint=/mnt boot/ROOT
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHaiku.cpp1 //===--- Haiku.cpp - Haiku ToolChain Implementations ------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
33 // Silence warning for "clang -g foo.o -o foo" in ConstructJob()
35 // and "clang -emit-llvm foo.o -o foo" in ConstructJob()
37 // and for "clang -w foo.o -o foo". Other warning options are already in ConstructJob()
41 // Silence warning for "clang -pie foo.o -o foo" in ConstructJob()
44 // -rdynamic is a no-op with Haiku. Claim argument to avoid warning. in ConstructJob()
48 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
50 CmdArgs.push_back("--eh-frame-hdr"); in ConstructJob()
[all …]
/freebsd/usr.sbin/boot0cfg/
H A Dboot0cfg.830 .Nd boot manager installation/configuration utility
38 .Op Fl i Ar volume-id
48 boot manager permits the operator to select from which disk and
56 .No non- Ns Bx
58 Typically, only non-removable disks are sliced.
64 boot manager on the specified
68 On PCs, a boot manager typically occupies sector 0 of a disk, which is
69 known as the Master Boot Record (MBR).
74 .Bl -tag -width indent
78 boot manager.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/nvmem/layouts/
H A Du-boot,env.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/nvmem/layouts/u-boot,env.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: U-Boot environment variables layout
10 U-Boot uses environment variables to store device parameters and
14 Data is stored using U-Boot specific formats (variant specific header and NUL
15 separated key-value pairs).
27 - Rafał Miłecki <rafal@milecki.pl>
32 - description: A standalone env data block
[all …]

12345678910>>...44