11757 installboot: install vbr only when stage2 is installed

Review Request #2354 - Created Sept. 28, 2019 and submitted

Information
Toomas Soome
illumos-gate
11757
d984c53...
Reviewers
general
11757 installboot: install vbr only when stage2 is installed

unpatched version:

root@test:~# installboot /dev/rdsk/c3t0d0s1

Bootblock version installed on /dev/rdsk/c3t0d0s1 is more recent or identical to
/boot/gptzfsboot
Use -F to override or install without the -u option.

/boot/pmbr will be written to /dev/rdsk/c3t0d0s1
stage1 written to slice 1 sector 0 (abs 524544)

Bootblock version installed on /dev/rdsk/c3t0d0s0 is more recent or identical to
/boot/loader64.efi
Use -F to override or install without the -u option.


Bootblock version installed on /dev/rdsk/c3t0d0s0 is more recent or identical to
/boot/loader32.efi
Use -F to override or install without the -u option.

/boot/pmbr is newer than one in /dev/rdsk/c3t0d0p0
stage1 written to slice 0 sector 0 (abs 0)

patched version:

root@test:~# ./installboot /dev/rdsk/c3t0d0s1
Bootblock version installed on /dev/rdsk/c3t0d0s1 is more recent or identical to
/boot/gptzfsboot
Use -F to override or install without the -u option.

Bootblock version installed on /dev/rdsk/c3t0d0s0 is more recent or identical to
/boot/loader64.efi
Use -F to override or install without the -u option.

Bootblock version installed on /dev/rdsk/c3t0d0s0 is more recent or identical to
/boot/loader32.efi
Use -F to override or install without the -u option.

/boot/pmbr is newer than one in /dev/rdsk/c3t0d0p0
stage1 written to slice 0 sector 0 (abs 0)

root@test:~# 
Igor Kozhukhov
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...