一步一步 在mac上安裝ubuntu
做為程式設計師的你,一定聽說過Linux甚至非常喜歡Linux.
最近買了一臺mac air,我非常喜歡蘋果的工藝,但作為屌絲程式設計師,我依舊喜歡基於Linux核心的Ubuntu 進行開發.下面我就講述一步一步在mac上安裝ubuntu系統.
-
1
首先是下載Ubuntu映象,mac版本
-
2
開啟終端
-
3
將iso格式轉換成img格式
hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso
-
4執行
diskutil list
獲取當前系統掛載的儲存媒介 -
5
插入u盤
-
6
diskutil list
獲取u盤的掛載名稱,diskN -
7
執行
diskutil unmountDisk /dev/diskN
取消掛載,以便格式化 -
8
執行
sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
格式化並製作ubuntu系統啟動盤 -
9
解除安裝u盤
diskutil eject /dev/diskN
-
10
重啟 Mac 並按壓 press alt/option 進入boot模式,並選擇從u盤啟動.接下來就是很友好的過程,按照提示一步一步來就可以了.
Ps:安裝後無線網路可能用不了,不過不用擔心.網上已經有人解決了.我也是這樣弄的.
Please run:
lspci -nn | grep 0280
The pipe symbol | is on the right side of my US keyboard on the same key with '\'. Is this your device?
Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
If so, then bcmwl-kernel-source is correct for your device. If you still have the install DVD or USB, then you can find it and its prerequisite there. Navigate to pool > restricted > b > bcmwl and drag and drop the deb file to your desktop. Now navigate to pool > main > d > dkms and drag and drop dkms to your desktop. Now install both with:
cd ~/Desktop
sudo dpkg -i *.deb
Load the driver:
sudo modprobe wl
Your wireless should now be working.
If your device is not 14e4:43a0, tell us what it actually is and we'll proceed.