2015年10月15日木曜日

★★★ openbsd 6.1 UEFI

https://en.wikipedia.org/wiki/Treaty_of_Shimonoseki より



  • Article 1: China recognizes definitively the full and complete independence and autonomy of Korea, and, in consequence,
    the
    payment of 
    tribute and the performance of ceremonies and formalities by Korea to China,
    that are in 
    derogation of such independence and autonomy, shall wholly cease for the future.




1) set  legacy on BIOS

2)boot PC by CD (burned with install61.iso)

3)boot PC by USB memory (install61.fs を ddで焼いたもの)














in this state , in put !



and then next command


y



exit



y
なれてる人は ここで G だが 、 初心者は a  















次の 画面のcommand



finish all the install process.
so halt -p & remove CD










on X







UEFI のみの時
dd if=./Downloads/install61.fs  of=/dev/sdb

こうして作ったUSBメモリをCDの代わりに使うが、あとは 一緒

これにて
# df
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/sd0a    111231348   5741536  99928248     5%    /


# mount /dev/sd0i /mnt


# df
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/sd0a    111231348   5741536  99928248     5%    /
/dev/sd0i          920       488       432    53%    /mnt


# du /mnt
480     /mnt/efi/boot
488     /mnt/efi
520     /mnt

# ls /mnt/                                                                                          
efi

# ls /mnt/efi/                                                                                      
boot

# ls /mnt/efi/boot/                                                                                 
bootia32.efi  bootx64.efi


# file /mnt/efi/boot/bootx64.efi

/mnt/efi/boot/bootx64.efi: MS-DOS executable PE  for MS Windows




Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/sd0a    111231348   1213112 104456672     1%    /


#top
load averages:  1.07,  1.13,  1.15                                      Uob.my.domain 20:20:23
31 processes: 30 idle, 1 on processor                                                 up  0:55
CPU0 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU1 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt, 99.9% idle
CPU2 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU3 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt, 99.9% idle
Memory: Real: 22M/136M act/tot Free: 7691M Cache: 62M Swap: 0K/2055M


# disklabel -E sd0                                                                            
Label editor (enter '?' for help at any prompt)
> p
OpenBSD area: 1024-117231345; size: 117230321; free: 43
#                size           offset  fstype [fsize bsize   cpg]
  a:        113022272          4209056  4.2BSD   2048 16384 12958 # /
  b:          4208006             1024    swap                    # none
  c:        117231408                0  unused                    
  i:              960               64   MSDOS    

















see also

http://marc.info/?l=openbsd-misc&m=144477058232343&w=2




0) BIOS-> legacy boot

1) boot PC by  CD.

2) install but Partway

3) when 'Use (W)hole disk .....' appear , push ! and go to shell .

4) fdisk -i -b 960 sd0

5) exit

6) when # appear ,

newfs_msdos sd0i

mount /dev/sd0i  /mnt2

mkdir -p /mnt2/efi/boot

cp /mnt/usr/mdec/BOO* /mnt2/efi/boot







0 件のコメント:

コメントを投稿