linux please plug in a usb disk,opensuse之u盘安装制作

SDB:Create a Live USB stick using Mac OS x

This page explains how to create a bootable USB stick from a LiveDVD image file using Max OSx.

There is a dedicated article about how to Create a Live USB stick using Linux

Version: 12.2+This applies to openSUSE 12.2 and above.

WarningThe instructions on this page will destroy all data currently on the USB stick being used. Please be certain it does not contain important information.

Find Block Device

Plug-in your USB stick and find what "/dev/diskN" it is mapped to by opening Terminal (where "N" stands for "disk0", "disk1", "disk2" etc). To do so, please execute:

# diskutil list

This will print out the list of currently mapped devices/partitions. Find the USB using "NAME" column. Then note the corresponding /dev/diskN, where "N" is for index of your disk. For example:

/dev/disk2

#:                       TYPE        NAME                    SIZE   IDENTIFIER

0:                       FAT32                               2.0 GB   disk0

1:                                   USB2                    2.0 GB   disk0s1

In this case "/dev/disk2" is the one we want.

Unmount USB Stick

Unmount the USB stick

# diskutil unmountDisk /dev/diskN

Where /dev/diskN is the one you have found in previous step as per our example it would be "/dev/disk2".

Write ISO to USB

Write the content of the ISO file:

# sudo dd if=/path/to/downloaded.iso of=/dev/rdiskN bs=4k

/dev/rdiskN is the same disk you have found previously, with an r in front. r is for raw disk, as writing to /dev/rdisk2 is much faster than writing to /dev/disk2. You will be prompted for the administrator's password.

原文出处如下:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值