Red_Hat
RH202 · Question #3
Create the partition having 100MB size and mount it on /mnt/neo
1. Use fdisk /dev/hda To create new partition. 2. Type n For New partitions 3. It will ask for Logical or Primary Partitions. Press l for logical. 4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Key. 5. Type the Size: +100M You can Specify either Last
Requirements Engineering in the Project Lifecycle
Question
Create the partition having 100MB size and mount it on /mnt/neo
Explanation
- Use fdisk /dev/hda To create new partition.
- Type n For New partitions
- It will ask for Logical or Primary Partitions. Press l for logical.
- It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
- Type the Size: +100M You can Specify either Last cylinder of Size here.
- Press P to verify the partitions lists and remember the partitions name.
- Press w to write on partitions table.
- Either Reboot or use partprobe command.
- Use mkfs -t ext3 /dev/hda? ->Where ? is your partition number
- Or
- mke2fs -j /dev/hda? To create ext3 filesystem.
- mkdir /mnt/neo
- vi /etc/fstab
- Write:
- /dev/hda? /mnt/neo ext3 defaults 1 2
- Verify by mounting on current Sessions also:
- mount /dev/hda? /mnt/neo
Topics
#disk partitioning#mount points#storage management#Linux filesystems
Community Discussion
No community discussion yet for this question.