一步一步 在mac上安装ubuntu

本文档详述了如何在Mac上安装Ubuntu系统,包括下载Ubuntu镜像、转换ISO格式、创建启动盘、取消挂载和格式化、制作启动盘、卸载U盘以及通过重启进入安装流程。
部署运行你感兴趣的模型镜像

做为程序员的你,一定听说过Linux甚至非常喜欢Linux.

最近买了一台mac air,我非常喜欢苹果的工艺,但作为屌丝程序员,我依旧喜欢基于Linux内核的Ubuntu 进行开发.下面我就讲述一步一步在mac上安装ubuntu系统.



  1. 1

    首先是下载Ubuntu镜像,mac版本

  2. 2

    打开终端

  3. 3

    将iso格式转换成img格式

    hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso


  4. 4运行
    diskutil list
    获取当前系统挂载的存储媒介

  5. 5

    插入u盘

  6. 6
    diskutil list
    获取u盘的挂载名称,diskN

  7. 7

    运行

    diskutil unmountDisk /dev/diskN
    取消挂载,以便格式化

  8. 8

    执行

    sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
    格式化并制作ubuntu系统启动盘
  9. 9

    卸载u盘

    diskutil eject /dev/diskN

  10. 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.



您可能感兴趣的与本文相关的镜像

Kotaemon

Kotaemon

AI应用

Kotaemon 是由Cinnamon 开发的开源项目,是一个RAG UI页面,主要面向DocQA的终端用户和构建自己RAG pipeline

评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值