Goal: Install Debian on a Bootable USB Stick for a MacBook with Two USB Ports
This article will guide you through the process of creating a bootable USB stick with Debian on a MacBook with two USB ports. The USB stick will be used to boot the Debian Live flash and then proceed with the installation.
Prerequisites
- A MacBook with two USB ports
- A USB stick with at least 8GB of storage
- The latest Debian ISO image
Creating the Bootable USB Stick
To create a bootable USB stick, you will need to use the dd command in the terminal. Follow these steps:
- Insert the USB stick into your MacBook
- Open the Terminal app
- Identify the device path of the USB stick by running the following command:
diskutil list - Unmount the USB stick by running the following command:
diskutil unmountDisk /dev/diskX(ReplaceXwith the device number of the USB stick) - Write the Debian ISO image to the USB stick by running the following command:
sudo dd bs=1m if=path/to/debian.iso of=/dev/rdiskX(ReplaceXwith the device number of the USB stick andpath/to/debian.isowith the path to the Debian ISO image) - Wait for the command to complete. This may take several minutes.
Booting from the USB Stick
To boot from the USB stick, follow these steps:
- Shut down your MacBook
- Insert the USB stick into one of the USB ports
- Press the power button to turn on your MacBook
- Immediately press and hold the
Optionkey - Release the
Optionkey when you see the Startup Manager - Select the USB stick as the startup disk
- Wait for the Debian Live flash to boot
Installing Debian
Once you have booted from the USB stick, you can proceed with the installation of Debian. Follow the on-screen instructions to complete the installation.
In this article, you have learned how to create a bootable USB stick with Debian on a MacBook with two USB ports. You have also learned how to boot from the USB stick and install Debian.
References
- Debian: CD/DVD/BD/USB Images
- How to create a bootable installer for macOS
- How to Create a Bootable USB Drive on a Mac
Types of references included: online resources.