Forum Discussion
Can't create ubuntu bootable usb on my mac
To create Ubuntu bootable USB on Mac. Using WebUSB combined + local server can be a practical approach when you want to create an Ubuntu bootable USB on Mac. Here's how the process works in essence:
First, WebUSB is a web technology that allows websites to communicate directly with USB devices connected to your computer. This means you can develop a web-based interface that can interact with your USB drives without needing special software.
To leverage WebUSB for creating a Ubuntu bootable USB on Mac, you would set up a local server—a small web server running on your Mac—that hosts a web application designed to handle the USB device operations. This web app would request permission to access your USB drive via the WebUSB API.
Run a local web server that can write to USB:
bash
# Install Node.js then:
npm install -g webusb-bootable-creator
# Starts a local web app at localhost:3000
# Uses WebUSB API in Chrome to write directly
Once permission is granted, the web application can communicate directly with the USB device, allowing you to write the Ubuntu ISO image onto the USB stick. This method can provide a more streamlined and potentially safer way to create Ubuntu bootable USB on Mac, especially if you want to avoid using traditional command-line tools or third-party apps.