树莓派挂载大硬盘ntfs

1 查看挂载情况

sudo fdisk -l 

#sudo parted -l

df -h

2 挂载

#sudo mount  /dev/sda3  /media/pi      //挂载硬盘

3 特殊情况

是服务器,进入rescue模式
运行命令返回以下内容
root@rescue:~# mount -t ntfs /dev/sda /media/sdb2 
NTFS signature is missing.Failed to mount '/dev/sdb2': Invalid argumentThe device '/dev/sdb2' doesn't seem to have a valid NTFS.Maybe the wrong device is used? Or the whole disk instead of apartition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
后来看到另外的一个命令,测试了下,返回以下内容
root@rescue:~# mkntfs /dev/sda
/dev/sda is entire device, not just one partition.
Refusing to make a filesystem here!

你可能感兴趣的:(树莓派,树莓派)