* M1 은 Arm 계열이기 때문에 다음 링크에서 desktop 용 arm 64-bit image 를 다운 받았다.
https://cdimage.ubuntu.com/focal/daily-live/current/ 에서 focal-desktop-arm64.iso 를 다운 받으면 된다.
Ubuntu 20.04.6 LTS (Focal Fossa) Daily Build
cdimage.ubuntu.com
* UTM 은 아래 링크 중에서 GitHub 에서 다운받는다 https://docs.getutm.app/installation/macos/
macOS
Documentation for UTM virtual machines
docs.getutm.app
* UTM 에서 + 아이콘 : 새 가상머신 만들기 클릭
If you have an M1, M2 you can use hardware acceleration to speed up FFmpeg video encoding.
그 이후 상세 과정은 생략합니다.
* VM 을 외장드라이브에 저장하려면 다음 링크를 참고한다. UTM 은 VM 설치 경로를 변경할 수 없다 (23년4월10일)
(@webnautes 님이 도움 주셨습니다)
https://github.com/utmapp/UTM/issues/1205
Run .utm from anywhere · Issue #1205 · utmapp/UTM
It would be nice to be able to store the .utm VMs some where else than ~\Documents, for exemple an attached disk. Version 2.0.13(13)
github.com
Macbook M1에 Ubuntu ARM64 설치하는 방법
Macbook Air M1에 Ubuntu ARM64 설치한 과정을 기록했습니다. 2021. 11. 20 최초작성 2022. 01. 17 2022. 01. 20 2022. 10. 03 2022. 12. 19 UTM 4.0.9 2023. 3. 25 UTM 4.1.6 유튜브 영상도 제작했습니다. 0. 아래 링크에서 Ubuntu Serve
webnautes.tistory.com
STEP 1 - create the sparse image
Open Disk Utility. Create a new Blank Image
Save As: DocumentsName: DocumentsSize 32 GBImage Format: Sparse Disk Image
(부연설명: sparse image 를 외장스토리지 내에 만든다.)
STEP 2
QUIT UTM
STEP 3
EJECT THE SPARSE IMAGE FROM DISK UTILITY
STEP 4
MOUNT THAT SPARSE IMAGE
* rename the existing UTM/Data/Documents directory
* hdiutil attach /Volumes/MY_EXTERNAL_SSD/Documents.sparseimage -mountpoint ~/Library/Containers/com.utmapp.UTM/Data/Documents
* move the existing Public and .utm files to the directory ~/Library/Containers/com.utmapp.UTM/Data/Documents
STEP 5 - PROFIT!
now you should be able to start UTM and your VMs should show up. Be mindful, they are a bit slower but not by much
* 설치 완료 후 공유 폴더를 쓰려면 다음 링크를 참고한다.
https://stackoverflow.com/questions/75201559/share-files-from-mac-to-an-ubuntu-server-utm
Share Files from mac to an ubuntu server (utm)
I have installed ubuntu server on utm (mac m1) and now I want to share a folder with the server which exists on my mac so how do I do it. I tried everything on the net but failed, please help me
stackoverflow.com
You can set the Shared Directory as your directory in the utm utm-shared-directory
then mount the share with the following command:
$ sudo mkdir /media/HostShared $ sudo mount -t 9p -o trans=virtio share /media/HostShared -oversion=9p2000.L $ sudo vi /etc/fstab
Modify /etc/fstab and add the following line to automatically mount the share on startup:
share /media/HostShared 9p trans=virtio,version=9p2000.L,rw,_netdev,nofail 0 0
* 이렇게 까지 설치했는데, 회사에서 제공하는 SDK 가 arm 용 빌드가 없었다;;;;;
"이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다."
'IT > Mac' 카테고리의 다른 글
AirPlay 에 대해 (0) | 2025.01.08 |
---|---|
맥북 스테인게이트 제거 (0) | 2022.06.06 |
Macbook Pro 2009 15인치 모델에 El Capitan 설치 (0) | 2022.03.13 |
iMac 2013 late 21.5" HDD -> SSD 업그레이드 (0) | 2021.04.22 |
Mac BigSur 에서 Mojave 로 다운그레이드시에 Incompatible Disk 오류 (0) | 2021.03.25 |
맥북 업데이트 설치 후 시스템 종료 되지 않는 현상 (6) | 2021.01.19 |
화이트맥북 A1342 마우스 왼쪽 클릭 안되는 문제 고치기 (3) | 2017.03.07 |
[Mac] Caps Lock Key 로 한영키 전환 (0) | 2016.10.26 |
화이트맥북 A1342 ODD 활용하기 (0) | 2016.08.27 |
계산기 팁 - 종이 테이프 (Paper Tape) (0) | 2016.04.26 |
댓글