Searched refs:bootcode (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/sbin/gpt/ |
H A D | biosboot.c | 75 "[-A] [-c bootcode] [-i index] [-L label] [-b startsec]", 128 gpt_warnx(gpt, "The bootcode in `%s' does not match the" in read_boot() 174 struct mbr *mbr, *bootcode; in biosboot() local 196 if ((bootcode = read_boot(gpt, bootpath)) == NULL) { in biosboot() 197 gpt_warnx(gpt, "Error reading bootcode"); in biosboot() 200 (void)memcpy(&mbr->mbr_code, &bootcode->mbr_code, in biosboot() 202 free(bootcode); in biosboot()
|
/netbsd-src/usr.sbin/sysinst/arch/i386/ |
H A D | msg.md.en | 155 {The bootcode in the Master Boot Record does not appear to be valid. 157 Do you want to install the NetBSD bootcode?} 160 {Do you want to update the bootcode in the Master Boot Record to 161 the latest version of the NetBSD bootcode?}
|
H A D | md.c | 541 const char *bootcode; in md_check_mbr() local 648 bootcode = fl & MBR_BS_EXTLBA ? _PATH_BOOTEXT : _PATH_BOOTSEL; in md_check_mbr() 650 bootcode = _PATH_MBR; in md_check_mbr() 683 if (md_read_bootcode(bootcode, &mbri->mbr) == 0) in md_check_mbr() 688 msg_fmt_display("Can't find %s", "%s", bootcode); in md_check_mbr()
|
/netbsd-src/sbin/fdisk/ |
H A D | fdisk.c | 211 static int i_flag; /* init bootcode */ 233 static struct mbr_sector bootcode[8192 / sizeof (struct mbr_sector)]; 236 static int bootsize; /* actual size of bootcode */ 437 case 'i': /* Always update bootcode */ in main() 485 bootsize = read_boot(optarg, bootcode, in main() 486 sizeof bootcode, 1); in main() 660 "%*s[-c bootcode] " in main() 1068 warnx("%s: bootcode too large", boot_path); in read_boot() 1073 warnx("%s: bootcode too small", boot_path); in read_boot() 1106 bootsize = read_boot(DEFAULT_BOOTCODE, bootcode, in read_boot() 234 static struct mbr_sector bootcode[8192 / sizeof (struct mbr_sector)]; global() variable [all...] |
/netbsd-src/sbin/newfs_msdos/ |
H A D | mkfs_msdos.c | 200 static u_int8_t bootcode[] = { variable 727 memcpy(img + x1, bootcode, sizeof(bootcode)); in mkfs_msdos()
|
/netbsd-src/sys/arch/atari/atari/ |
H A D | locore.s | 863 | and other bootcode together.
|
/netbsd-src/usr.sbin/sysinst/ |
H A D | msg.mi.en | 940 {No bootcode for specified FS type of root partition}
|