Click to See Complete Forum and Search --> : Hard Drive


redhatmandrake
10-29-2002, 04:22 AM
I've just installed a new hard drive (well in vmware anyway) and i can't mount it. My system see's it and i've assigned a partition(using fdisk) and all but when it comes to mounting it i can't.

mount -t ext2 /dev/sdb1 /mnt/hrd

Do I need to extablish an extended partition as well. And what other program or command can i use for adding\fixing disk and filesystems.

mrBen
10-29-2002, 05:30 AM
Have you formatted it? Fdisk won't format the drive normally, IIRC. You will need to run mke2fs /dev/sdb1 or mkfs -t ext2 /dev/sdb1 in order to create a file system on the partition. You should then be able to mount it.

HTH

mdwatts
10-29-2002, 06:53 AM
mkfs.ext2 /dev/sdb1 (for ext2)

mkfs.ext2 -j /dev/sdb1 (for ext3)

redhatmandrake
10-29-2002, 01:23 PM
I knew i had to format it but didn't know how. Thanks