Copiado de Raspbian a tarjeta de memoria
#sudo dd bs=1M if=rpi_35_v6_1_2_3_jessie_kernel_4_4_50.img of=/dev/mmcblk0
Congelación del kernel
#sudo apt-mark hold linux-image
Operaciones con memorias usb
Discover the location of a USB drive:
ls /dev/sda*
/dev/sda points to the 1st hard drive
/dev/sda1 If the drive is formatted, points to the drive’s 1st partition
/dev/sda2 If the partition exists, points to the 2nd partition, etc.
To mount a USB drive:
sudo mkdir /mnt/usbdrive
sudo mount /dev/sda1 /mnt/usbdrive
ls /mnt/usbdrive
To list your file systems:
sudo fdisk -l
sudo mount -l
df -h
Before disconnecting a USB drive:
sudo umount /dev/sda1
Format
Format a drive to EXT4
sudo mkfs.ext4 /dev/sda1 -L untitled
Add macOS HFS+ read/write support
sudo apt-get install hfsutils hfsprogs
Format a drive to HFS+
sudo mkfs.hfsplus /dev/sda1 -v untitled
Add Windows NTFS read/write support
sudo apt-get install ntfs-3g
Format a drive to NTFS
sudo mkfs.ntfs /dev/sda1 -f -v -I -L untitled
Add Windows/macOS exFAT read/write support
sudo apt-get install exfat-fuse exfat-utils
Format a drive to exFAT
sudo mkfs.exfat /dev/sda1 -n untitled
Add Windows/DOS FAT32 read/write support
sudo apt-get install dosfstools
Format a drive to FAT32
sudo mkfs.vfat /dev/sda1 -n untitled
No hay comentarios:
Publicar un comentario