Erstellung eines bootbaren USB-Mediums

Pfad des USB-Sticks herausfinden

First plug in your USB-Stick. Then type:

lsblk

Your output should look something like this

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465,8G  0 disk 
├─sda1   8:1    0  74,5G  0 part /
├─sda2   8:2    0 390,2G  0 part /home
├─sda3   8:3    0     1K  0 part 
└─sda5   8:5    0     1G  0 part [SWAP]

Now you can use the size to determine which one is your usb stick . To mount it somewhere in your home folder for example just type:

mkdir ~/UsbStick
sudo mount /dev/PATH_TO_YOUR_STICK ~/UsbStick

obviously replacing PATH_TO_YOUR_STICK with the right /dev/sdX path and ~/UsbStick with the directory you created using the mkdir command

[via askubuntu.com ]

Iso-Image bit-genau kopieren

Run the following command, replacing /dev/sdx with your drive, e.g. /dev/sdb. (Do not append a partition number, so do not use something like /dev/sdb1)

dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress oflag=sync

[via archlinux.org ]

Veröffentlicht unter: snippet

Kommentar:

Name
E-mail (optional)
Message (kramdown markup allowed)