Linux USB

From Ever changing code
Revision as of 12:39, 28 June 2014 by Pio2pio (talk | contribs) (Created page with "= Format USB stick = sudo fdisk -l #fid out your usb device df umount /dev/'''sdb1''' mkfs.vfat /dev/'''sdb1''' #create fat32 mkfs.ext3 /dev/'''sdb1''' #create ext3...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Format USB stick

sudo fdisk -l   #fid out your usb device
df
umount /dev/sdb1
mkfs.vfat /dev/sdb1   #create fat32
mkfs.ext3 /dev/sdb1   #create ext3
mkdosfs -F 32 -I /dev/sdb1 #format device to fat32

Copy .iso on USB stick

sudo dd if=image.iso of=/dev/sdb1

Mount .iso

sudo mkdir /mnt/isoimage
sudo mount -o loop -t iso9660 image.iso /mnt/isoimage/