Home
last modified time | relevance | path

Searched full:boot (Results 1 – 25 of 3628) sorted by relevance

12345678910>>...146

/freebsd-src/sbin/fsck_msdosfs/
H A Dboot.c31 __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()
71 boot->bpbBytesPerSec > DOSBOOTBLOCKSIZE || in readboot()
72 !powerof2(boot->bpbBytesPerSec)) { in readboot()
[all …]
H A Dfat.c168 struct bootblock *boot; member
523 return (fat->boot); in boot_of_()
557 const struct bootblock *boot = boot_of_(fat); in valid_cl() local
559 return (cl >= CLUST_FIRST && cl < boot->NumClusters); in valid_cl()
580 checkdirty(int fs, struct bootblock *boot) in checkdirty() argument
587 if (boot->ClustMask != CLUST16_MASK && boot->ClustMask != CLUST32_MASK) in checkdirty()
590 off = boot->bpbResSectors; in checkdirty()
591 off *= boot->bpbBytesPerSec; in checkdirty()
593 buffer = malloc(len = boot->bpbBytesPerSec); in checkdirty()
604 if ((size_t)read(fs, buffer, boot->bpbBytesPerSec) != in checkdirty()
[all …]
H A Dcheck.c50 struct bootblock boot; in checkfilesys() local
79 if (readboot(dosfs, &boot) == FSFATAL) { in checkfilesys()
85 if (skipclean && preen && checkdirty(dosfs, &boot)) { in checkfilesys()
96 mod |= readfat(dosfs, &boot, &fat); in checkfilesys()
132 freebytes = (int64_t)boot.NumFree * boot.ClusterSize; in checkfilesys()
133 badbytes = (int64_t)boot.NumBad * boot.ClusterSize; in checkfilesys()
140 if (boot.NumBad) { in checkfilesys()
145 boot.NumFiles, freestr, boot.NumFree, in checkfilesys()
146 badstr, boot.NumBad); in checkfilesys()
149 boot.NumFiles, freestr, boot.NumFree); in checkfilesys()
[all …]
/freebsd-src/stand/efi/gptboot/
H A Dgptboot.efi.833 is used on UEFI computers to boot from a UFS partition on a
50 What UEFI computers boot is usually controlled via the mechanisms explained in
65 boot from, as described under
70 The firmware will then try the next bootable item in the UEFI Boot Manager's
84 Attempt to boot from this partition.
89 will attempt to boot each one until successful.
91 Attempt to boot from this partition only one time.
107 attribute set, but failed to boot.
112 .Sx "POST-BOOT ACTIONS"
119 will boot from the first UFS partition found on the device.
[all …]
/freebsd-src/sbin/kldconfig/
H A Dkldconfig.890 .It Pa /boot/kernel , /boot/modules , /modules
99 /boot/kernel;/boot/modules;/boot/dtb;/boot/dtb/overlays
103 .Pa /boot
107 $ kldconfig -d /boot
108 kldconfig: not in module search path: /boot
116 $ kldconfig -d -f /boot
122 .Pa /boot
125 $ kldconfig -i -m -vv /boot
126 /boot/kernel;/boot/modules -> /boot;/boot/kernel;/boot/modules
135 $ kldconfig -i -vv /boot
[all …]
/freebsd-src/sbin/reboot/
H A Dboot_i386.839 .Nm boot
48 Most i386 PCs attempt to boot first from floppy disk drive 0 (sometimes
53 drive as a boot device.
55 Some newer PCs boot using UEFI firmware, not BIOS.
61 Control is passed from the boot blocks (bootstrap stages one and two) to a
65 process than it is possible to achieve in the boot blocks, which are
68 The remainder of this subsection deals only with the boot blocks.
73 After the boot blocks have been loaded,
76 >> FreeBSD/x86 BOOT
77 Default: 0:ad(0,a)/boot/loader
[all …]
/freebsd-src/sbin/bectl/
H A Dbectl.821 .Nd Utility to manage boot environments on ZFS
93 command is used to setup and interact with ZFS boot environments, which are
96 A boot environment allows the system to be upgraded, while preserving the
104 that should be used as the boot environment root, or the dataset whose children
105 are all boot environments.
128 as the default boot filesystem.
131 flag is given, this takes effect only for the next boot.
134 removes temporary boot once configuration.
135 Without temporary configuration, the next boot will use zfs dataset specified
136 in boot pool
[all …]
/freebsd-src/stand/i386/gptzfsboot/
H A Dgptzfsboot.833 is used on BIOS-based computers to boot from a filesystem in
37 .Cm freebsd-boot
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
77 .Pa /boot/config
78 is present in the boot filesystem, boot options are read from it
80 .Xr boot 8 .
86 .Cm vfs.zfs.boot.primary_vdev
[all …]
/freebsd-src/lib/libbe/
H A Dlibbe.333 .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.
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.
209 This boot environmen
[all...]
/freebsd-src/stand/i386/gptboot/
H A Dgptboot.833 is used on BIOS-based computers to boot from a UFS partition on a
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 .
67 Attempt to boot from this partition.
72 will attempt to boot each one until successful.
74 Attempt to boot from this partition only one time.
90 attribute set, but failed to boot.
[all …]
/freebsd-src/share/man/man5/
H A Dboot.config.528 .Nm boot.config
29 .Nd "Configuration file for the boot blocks"
35 boot block code.
39 boot loader runs, it searches 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:"
59 The options related to the boot image selection described below and all
[all …]
/freebsd-src/stand/forth/
H A Dloader.4th.838 .Pa /boot/loader.rc
64 .Pa /boot/loader.rc
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
80 .It Ic boot-conf
81 .It Ic boot-conf Ar kernelname Op Cm ...
[all …]
H A Dcheck-password.4th.830 .Nd FreeBSD password-checking boot module
37 .Dl o Prevent modification of boot options without password
56 .Pa /boot/loader.4th
63 Multi-purpose function that can protect the interactive boot menu,
64 prevent boot without password, or prompt for geli(8) passphrase
77 device(s) during boot.
94 to be entered before the system is allowed to boot.
103 before the user is allowed to visit the boot menu.
106 .Bl -tag -width /boot/check-password.4th -compact
107 .It Pa /boot/loader
[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
31 set mainmenu_caption[1]="Boot Multi User [Enter]"
32 set maintoggled_text[1]="Boot [S]ingle User [Enter]"
33 set mainmenu_command[1]="boot"
35 set maintoggled_ansi[1]="Boot ^[1mS^[mingle User ^[1m[Enter]^[m"
39 set mainmenu_caption[2]="Boot [S]ingle User"
[all …]
/freebsd-src/tools/boot/
H A Drootgen.sh11 # 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
49 mkimg -s gpt -b ${src}/boot/pmbr \
50 -p freebsd-boot:=${src}/boot/gptboot \
60 make_esp_file ${img}.p1 ${espsize} ${src}/boot/loader.efi
73 make_esp_file ${img}.p1 ${espsize} ${src}/boot/loader.efi
75 # p1 is boot for uefi, p2 is boot for gpt, p3 is /
[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.
59 mkdir -p "${stagedir}/EFI/BOOT"
74 cp "$1" "${stagedir}/EFI/BOOT/${efibootname}.efi"
123 # Check if /EFI/BOOT/BOOTxx.EFI is the FreeBSD boot1.efi
125 efibootfile="${mntpt}/EFI/BOOT/${efibootname}.efi"
127 isboot1=$(strings "${efibootfile}" | grep "FreeBSD EFI boot block")
130 echo "Only ${kbfree}KB space remaining: removing old FreeBSD boot1.efi file /EFI/BOOT/${efibootname}.efi"
132 rmdir "${mntpt}/EFI/BOOT"
[all...]
/freebsd-src/usr.sbin/efibootmgr/
H A Defibootmgr.832 .Nd manipulate the EFI Boot Manager
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
110 boot entry, or the new entry when used with
115 boot entr
[all...]
/freebsd-src/stand/i386/zfsboot/
H A Dzfsboot.833 is used on BIOS-based computers to boot from a filesystem in
37 The first part, a single-sector starter boot block, is installed
39 The second part, a main boot block, is installed at a special offset
41 Both areas are reserved by the ZFS on-disk specification for boot use.
45 bootable using appropriate configuration and boot blocks described in
46 .Xr boot 8 .
50 boot process is very similar to that of
65 .Bl -tag -width /boot/zfsboot -compact
66 .It Pa /boot/zfsboot
67 boot code binary
[all …]
/freebsd-src/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
58 boot process proceeds as follows:
69 .It amd64 Ta Pa /EFI/BOOT/BOOTX64.EFI
70 .It arm Ta Pa /EFI/BOOT/BOOTARM.EFI
71 .It arm64 Ta Pa /EFI/BOOT/BOOTAA64.EFI
72 .It i386 Ta Pa /EFI/BOOT/BOOTIA32.EFI
73 .It riscv Ta Pa /EFI/BOOT/BOOTRISCV64.EFI
78 boot configuration for
85 reads boot configuratio
[all...]
/freebsd-src/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
11 zpool create -o mountpoint=none boot ...
12 zpool set listsnapshots=on boot
14 zfs create -o mountpoint=/mnt boot/ROOT
15 zfs create boot/ROOT/root
19 cp /boot/zfs/zpool.cache /mnt/root/boot/zfs/zpool.cache
20 zpool set bootfs=boot/ROOT/root boot
22 set in /mnt/root/boot/loader.conf
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm/marvell/
H A Dmmp2-brownstone.dts43 regulator-boot-on;
49 regulator-boot-on;
55 regulator-boot-on;
61 regulator-boot-on;
67 regulator-boot-on;
73 regulator-boot-on;
79 regulator-boot-on;
85 regulator-boot-on;
91 regulator-boot-on;
97 regulator-boot
[all...]
/freebsd-src/stand/defaults/
H A Dloader.conf.590 .Pa /boot/loader.rc ,
161 .Pa /boot/loader.conf.d/PRODUCT
176 .Pa /boot/loader.conf.d/PLANAR_MAKER
178 .Pa /boot/loader.conf.d/PLANAR_PRODUCT
180 .Pa /boot/loader.conf.d/PRODUCT
182 .Pa /boot/loader.conf.d/M_PRODUCT
189 .Pa /boot
219 Protect boot menu with a password without interrupting
223 If a password is set, boot menu will not appear until any key is pressed during
229 In both cases user should provide specified password to be able to access boot
[all...]
H A Dloader.conf11 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/entrop
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHaiku.cpp170 getFilePaths().push_back(concat(getDriver().SysRoot, "/boot/system/lib")); in Haiku()
171 getFilePaths().push_back(concat(getDriver().SysRoot, "/boot/system/develop/lib")); in Haiku()
207 "/boot/system/non-packaged/develop/headers")); in AddClangSystemIncludeArgs()
209 "/boot/system/develop/headers/os")); in AddClangSystemIncludeArgs()
211 "/boot/system/develop/headers/os/app")); in AddClangSystemIncludeArgs()
213 "/boot/system/develop/headers/os/device")); in AddClangSystemIncludeArgs()
215 "/boot/system/develop/headers/os/drivers")); in AddClangSystemIncludeArgs()
217 "/boot/system/develop/headers/os/game")); in AddClangSystemIncludeArgs()
219 "/boot/system/develop/headers/os/interface")); in AddClangSystemIncludeArgs()
221 "/boot/syste in AddClangSystemIncludeArgs()
[all...]
/freebsd-src/usr.sbin/boot0cfg/
H A Dboot0cfg.830 .Nd boot manager installation/configuration utility
48 boot manager permits the operator to select from which disk and
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).
78 boot manager.
86 .Pa /boot/boot0
88 .Pa /boot/boot0sio
109 of the 512-byte boot block.
137 Allow the MBR to be updated by the boot manager.
[all …]

12345678910>>...146