Showing posts with label Mac OS X Snow Leopard. Show all posts
Showing posts with label Mac OS X Snow Leopard. 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