如何从PC的OSX创建USB Ubuntu启动设备? [重复]

我的Dell XPS 9350不再启动Ubuntu。它没有双启动,而只有单启动,并且ssd已加密。

我正在尝试从Mac Apple OSX创建一个Ubuntu可启动的USB记忆棒,但直到现在所有尝试都失败了。

I formatted the pendrive to MS-DOS.

Can I use directly the iso image file i.e.,

sudo dd if=Downloads/ubuntu-18.04.2-desktop-amd64.iso of=/dev/rdisk2 bs=1m

or as I have read elsewhere, should I convert the iso file:

hdiutil convert -format UDRW -o Downloads/ubuntu-18.04.2-desktop-amd64 Downloads/ubuntu-18.04.2-desktop-amd64.iso 

which creates Downloads/ubuntu-18.04.2-desktop-amd64.dmg:

sudo dd if=Downloads/ubuntu-18.04.2-desktop-amd64.dmg of=/dev/rdisk2 bs=1m?

最佳答案

1.准备USB记忆棒

(如果您打算仅将USB记忆棒与通用PC硬件一起使用,则可以跳过此步骤。)

-从应用程序>实用程序或Spotlight搜索启动磁盘实用程序

-插入USB记忆棒,并观察添加到“磁盘工具”中的新设备

-选择USB记忆棒设备(您可能需要启用选项“查看”>“显示所有设备”),然后从工具栏中选择“擦除”(或右键单击菜单)

-Set the format to MS-DOS (FAT) and the scheme to GUID Partition Map

-检查您选择了正确的设备,然后单击删除

2.安装并运行Etcher

To write the ISO file to the USB stick, I suggest Etcher (you can download it from this link).
After downloading this and clicking to mount the package, Etcher can either be run in-place or dragged into your Applications folder.

3.蚀刻机配置

Etcher将分三个阶段配置和写入USB设备,每个阶段都需要依次选择: -选择映像:选择Ubuntu的ISO映像。

-选择驱动器:选择您的USB驱动器。

-Flash !:按该按钮可启动USB驱动器(系统将要求您提供密码)。

输入密码后,Etcher将开始将ISO文件写入您的USB设备。 一切完成后,您将收到通知。

Credits: Create a bootable USB stick on macOS