-bash-3.2# diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *250.1 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS macHD 249.2 GB disk0s2 3: Apple_Boot Recovery HD 650.0MB disk0s3 ... /dev/disk3 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *7.7 GB disk3 1: EFI EFI 209.7 MB disk3s1 2: Apple_HFS usb-osx 7.4 GB disk3s2
-bash-3.2# mount | grep macHD /dev/disk0s2 on /Volumes/macHD (hfs, local, journaled) -bash-3.2# mount | grep usb-osx /dev/disk3s2 on /Volumes/usb-osx (hfs, local, nodev, nosuid, noowners)
-bash-3.2# installer -pkg /Volumes/usb-osx/Packages/OSInstall.mpkg -target /Volumes/macHD installer: Package name is OS X installer: Installing at base path /Volumes/macHD 2013-10-13 21:36:12.016 installer[411:817f] Looking for system packages 2013-10-13 21:36:12.092 installer[411:817f] no system packages found 2013-10-13 21:36:12.093 installer[411:817f] No or Invalid system receipts found on /Volumes/macHD/Recovered Items 2013-10-13 21:36:12.093 installer[411:817f] Attempting fallback using: /System/Library/PrivateFrameworks/SystemMigration.framework/Resources/FallbackSystemFiles.plist 2013-10-13 21:36:12.423 installer[411:817f] Finding system files... 2013-10-13 21:36:13.907 installer[411:817f] Writing system path cache. 2013-10-13 21:36:13.941 installer[411:817f] FSF cache NOT written: /Volumes/macHD/Recovered Items/System/Library/Caches/com.apple.FindSystemFiles.plist No mount point for /Volumes/Image Volume/.IABootFiles Cant determine mount point of /Volumes/Image Volume/.IABootFiles Could not statfs() Could not determine filesystem of installer: The install was successful.
-bash-3.2# df -h | grep macHD /dev/disk0s2 232Gi 3.4Gi 229Gi 2% 881294 59958448 1% /Volumes/macHD ... /dev/disk0s2 232Gi 3.5Gi 229Gi 2% 911436 59928306 1% /Volumes/macHD
-bash-3.2# reboot
Source: https://habr.com/ru/post/197204/
All Articles