You have it backwards.Added that to fstab like so /mnt/storage/images /dev/sdb1 ext4 default 0 0.
fstab should be:
/dev/sdb1 /mnt/storage/images ext4 defaults 0 0
You have it backwards.Added that to fstab like so /mnt/storage/images /dev/sdb1 ext4 default 0 0.
You have it backwards.
fstab should be:
/dev/sdb1 /mnt/storage/images ext4 defaults 0 0
# parted
select /dev/sdx
mklabel gpt
mkpart primary 1 -1
exit
mkfs.ext4 -O ^has_journal /dev/sdx1
fdisk is limited to the partition size it can create.
You have to use parted.
fdisk is good to see which disk is label which in the /dev/sdx
use parted to create your partition.
Normally I use the following sequence of commands
Don't use actual sdx replace with your drive as seen by fdiskCode:# parted select /dev/sdx mklabel gpt mkpart primary 1 -1 exit mkfs.ext4 -O ^has_journal /dev/sdx1
mkpart primary 1 -1 is supposed to partition 100% of the drive. You can use that accordingly or find a different command for what you want
We use essential cookies to make this site work, and optional cookies to enhance your experience.