标签:col parted gic fstab nbsp linux ica uuid code
sudo parted /dev/sdb
(parted) mklabel gpt (parted) mkpart logical 0 -1
(parted) q
sudo mkfs.ext4 -F /dev/sdb1
sudo mkdir /mnt/sdb1
sudo mount /dev/sdb1 /mnt/sdb1
查看UUID
sudo blkid /dev/sdb1
编辑/etc/fstab
sudo vim /etc/fstab
添加
/dev/sdb1 /mnt/sdb1 ext4 defaults 0 0
或者
UUID=刚刚查出来的UUID /mnt/sdb1 ext4 defaults 0 0
标签:col parted gic fstab nbsp linux ica uuid code
原文地址:https://www.cnblogs.com/jacen789/p/12269571.html