Create a USB boot disk for Linux installation on Mac OS X

Source: Internet
Author: User

Help you install Linux on a machine similar to Mac mini (a small box. This is actually a pc, but an atom-based cpu. After some searches, we finally chose to use the debain Linux release, mainly considering that debain is smaller and better suited to their needs.

As all peripherals in this small box are externally connected, including wireless mouse and keyboard, I was quite worried about whether the drivers of these devices would be compatible. Afterwards, I proved that these worries were redundant. Back to the question, to install the Linux system, you must first create a USB boot disk (the optical drive is already obsolete). Fortunately, it is very easy to do this with Mac OS X. The following describes the production process.

Step 1: First insert the USB flash disk, open the terminal, and run the following command to check whether the USB flash disk has been mounted to the system. Then, you can see the USB flash disk under the Finder.

The output of the diskutil list system is similar to the following:

Star @ star: Volumes $ diskutil list
/Dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme * 160.0 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 159.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/Dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme * 17.3 MB disk1
1: Apple_partition_map 32.3 KB disk1s1
2: Apple_HFS Flash Player 17.3 MB disk1s2
/Dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme * 15.7 GB disk2
1: The/dev/disk2 above Windows_FAT_32 KINGSTON 15.7 GB disk2s1 is the USB flash disk mount point.

Next, unmount the USB flash drive and run the following command:

Diskutil unmountDisk/dev/disk2 has a USB flash drive that has been inserted but is unmounted. At this time, you cannot see the USB flash drive under the Finder, but you can still see it using the diskutil list command.
Next, write the iso file for Linux installation to this USB flash drive. You can run the following command to complete this task:

Dd if = ~ /Downloads/debian-6.0.6-i386-CD-1.iso of =/dev/disk2 bs = 1 m this process takes about 5-10 minutes, after which the output will be similar to the following log.

648 + 0 records in
648 + 0 records out
679477248 bytes transferred in 447.883182 secs (1517086 bytes/sec) Such a USB-enabled Linux installation USB flash disk is ready. The next step is to install the system and other things.

Recommended reading:

Precautions for Linux installation and system initialization

Linux installation and configuration of Java environment variables

Install and start telnet in SUSE Linux

Create a USB flash drive to start Linux installation (Ubuntu 12.04)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.