How Do I Initialize a Disk in Ubuntu?
Contents How Do I Create a New Disk in Ubuntu? to Achieve This, You Need to Perform Three Simple Steps: 2.1 Create a Mount Point. Sudo Mkdir /Hdd. 2.2 Edit...
Contents
How do I create a new disk in Ubuntu?
To achieve this, you need to perform three simple steps:
- 2.1 Create a mount point. sudo mkdir /hdd.
- 2.2 Edit /etc/fstab. Open /etc/fstab file with root permissions: sudo vim /etc/fstab. And add following to the end of the file: /dev/sdb1 /hdd ext4 defaults 0 0.
- 2.3 Mount partition. Last step and you’re done! sudo mount /hdd.
26 апр. 2012 г.
Must Read
How do I initialize a disk in Linux?
Initializing the new virtual hard disk in a Linux guest OS comprises two steps: allocating the virtual hard disk space and mounting this disk in the guest OS. To allocate the space, you will need to create a new partition on this virtual hard disk, using the fdisk utility.