gaitapi

freebsd Install boot code Install

Oct 25th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. Gpt system:
  2. ----- gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0
  3. Install boot code
  4. .........
  5. Legacy mbr
  6. gpart bootcode -b /boot/mbr ada0
  7.  
  8. Install simple MBR boot loader (boots active slice):
  9. # gpart bootcode -b /boot/mbr ada1
  10. # gpart set -a active -i 1 ada1
  11.  
  12. Or install FreeBSD boot manager:
  13. # gpart bootcode -b /boot/boot0 ada1
  14.  
  15. # gpart bootcode -b /boot/boot ada1s1
Add Comment
Please, Sign In to add comment