HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT
Formating Your New Disk
Assuming Your New Disk is “/dev/sdc” on VirtualBox
MKFS (Make File System)
- use superuser “root” to execute the “mkfs” command.
- The default file system is “ext2”.
mkfs -v /dev/sdc
root:~# mkfs -v /dev/sdc
mke2fs 1.46.2 (28-Feb-2021)
fs_types for mke2fs.conf resolution: 'ext2', 'small'
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
1024 inodes, 4096 blocks
204 blocks (4.98%) reserved for the super user
First data block=1
Maximum filesystem blocks=4194304
1 block group
8192 blocks per group, 8192 fragments per group
1024 inodes per group
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
root:~#