LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Question about new partition. (https://www.linuxquestions.org/questions/linux-general-1/question-about-new-partition-70158/)

jimmmac 07-04-2003 05:59 PM

Question about new partition.
 
Hi everyone

Need some help with this one. I deleted my Mandrake partition to create a backup partition for my /usr directory. The partition shows, but I am not able to mount it. I am sure it is something simple, but I want to be able to mount my new partition to be able to backup my /usr directory. Results of my efforts are below. This was after fdisk and a reboot. Thanks.

Jim

[root@localhost root]# fdisk -l /dev/hda

Disk /dev/hda: 10.0 GB, 10005037056 bytes
255 heads, 63 sectors/track, 1216 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 637 5116671 c Win95 FAT32 (LBA)
/dev/hda2 638 1216 4650817+ 83 Linux
[root@localhost root]# mount -t auto /dev/hda2 /mnt/usrbackup
mount: you must specify the filesystem type
[root@localhost root]# mount -t ext3 /dev/hda2 /mnt/usrbackup
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
or too many mounted file systems
[root@localhost root]#

andrewlkho 07-04-2003 06:05 PM

is it the right fs? try and remember what fs you formatted it with, and try others like ext2, in case that's what it is/
hth

fancypiper 07-04-2003 06:10 PM

Did you format it? Perhaps it's a blank partition.

To make an ext3fs:

mke2fs -j /dev/hda2

jimmmac 07-05-2003 07:32 AM

Hi everyone

Thanks for your replies. I figured it out right after I did this post. I forgot about the mkfs. I did it and it worked. Feel like such a dumbell. Thanks for your responses. I will remember next time.

Jim


All times are GMT -5. The time now is 07:12 PM.