File:  [NetBSD Developer Wiki] / wikisrc / users / jakllsch / gptboot.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Fri Sep 9 23:58:17 2011 UTC (2 years, 7 months ago) by jakllsch
Branches: MAIN
CVS tags: HEAD
Add short gpt boot tutorial.

# gptboot tutorial
    gpt create wd0
    gpt add -b 64 -s 2097152 wd0
    dkctl wd0 addwedge wd0_1 64 2097152 ffs
    newfs -O2 dk0
    installboot /dev/rdk0 /usr/mdec/bootxx_ffsv2
    gpt biosboot dk0
    mount /dev/dk0 /mnt
    cp -p /usr/mdec/boot /mnt/
    umount /mnt

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb