[Ilugc] reg adding new hard disk.

  • From: rsubr@xxxxxxxxxxxxxxxxxxxxxxxx (Raja Subramanian)
  • Date: Fri, 27 Dec 2002 12:15:50 +1100

Raghavendra Bhat wrote:

sathish posts :

when i am fdisk adding new partition  , i am not able to mount that
partition

First partition  the new HDD  using fdisk, then format  the partitions
using mke2fs.  Read `man mke2fs' and `man fdisk'.


/dev/hdb   /home2          ext2            defaults          1 1
        ^^^

You can  only mount partitions within  a HDD.  You  have not specified
which partition, just mentioning the drive is not enough.


Not really. You can create a filesystem (and mount it) on *any* block
device. You can certainly use the entire disk (eg. /dev/hdb) to create a
filesystem and not bother with partitions.

However, this approach is not recommended as some disk
partitioning/diagnostic programs may think that it is an uninitialised
disk and create a new partition table.

This could cause much headache as it overwrites the first few critical
blocks of the filesystem. It's far safer to partition first, and then
create filesystems.

- Raja


Other related posts: