Showing posts with label Unified Extensible Firmware Interface. Show all posts
Showing posts with label Unified Extensible Firmware Interface. Show all posts

Wednesday, November 9, 2016

MacBook 2,1 (2007): Mac OS X Snow Leopard: Installing rEFInd

Download link:

http://sourceforge.net/projects/refind/files/0.10.4/refind-bin-0.10.4.zip/download


Command:

$ ioreg -l -p IODeviceTree | grep firmware-abi


Result:

    | |   "firmware-abi" = <"EFI32">


Command:

$ diskutil list


Result:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Untitled                499.8 GB   disk0s2
   3:       Microsoft Basic Data LINUX                   500.1 GB   disk0s3


Command:

$ mkdir /Volumes/ESP
$ sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
Password:
$ sudo mkdir -p /Volumes/ESP/EFI/refind
$ sudo cp -r ~/Downloads/refind-bin-0.10.4/refind/* /Volumes/ESP/EFI/refind/
$ sudo rm /Volumes/ESP/EFI/refind/refind_aa64.efi  
$ sudo rm /Volumes/ESP/EFI/refind/refind_x64.efi 
$ sudo mv /Volumes/ESP/EFI/refind/refind.conf-sample /Volumes/ESP/efi/refind/refind.conf
$ ls


Result:

drivers_ia32 icons refind.conf refind_ia32.efi tools_ia32


Command:

$ sudo bless --mount /Volumes/ESP --setBoot --file /Volumes/ESP/EFI/refind/refind_ia32.efi --shortform
$ pwd


Result:

/Volumes/ESP/EFI


Command:

$ ls -al


Result:

total 5
drwxrwxrwx  1 yasu  staff   512 Nov  9 15:18 .
drwxrwxrwx  1 yasu  staff   512 Nov  9 14:10 ..
drwxrwxrwx  1 yasu  staff   512 Nov  8 13:04 APPLE
drwxrwxrwx  1 yasu  staff  1024 Nov  9 15:14 refind

Saturday, September 17, 2016

FreeBSD: Downloading iso (Unified Extensible Firmware Interface, Bootonly) & Finding the Checksum (SHA256)

Command (Download):

$ wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3//FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso


Result:

--2016-09-17 12:02:19--  ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3//FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso
           => ‘FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso’
Resolving ftp.freebsd.org... 2610:1c1:1:606c::15:0, 96.47.72.72
Connecting to ftp.freebsd.org|2610:1c1:1:606c::15:0|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3/ ... done.
==> SIZE FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso ... 247324672
==> EPSV ... done.    ==> RETR FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso ... done.
Length: 247324672 (236M) (unauthoritative)

FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso                                               100%[========================================================================================================================================================================================================================================>] 235.87M   483KB/s    in 11m 5s

2016-09-17 12:13:27 (363 KB/s) - ‘FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso’ saved [247324672]


Command (Finding the checksum):

$ curl ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3//CHECKSUM.SHA256-FreeBSD-10.3-RELEASE-amd64 | grep 'uefi-bootonly.iso)'


Result:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2392  100  2392    0     0    665      0  0:00:03  0:00:03 --:--:--   665
SHA256 (FreeBSD-10.3-RELEASE-amd64-uefi-bootonly.iso) = d9f1d52639821bbd818844f1899a5cf2a5601143ca76c095158405bf14719ebb