LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Having problems mounting hd. (mount: you must specify the filesystem type) (https://www.linuxquestions.org/questions/linux-newbie-8/having-problems-mounting-hd-mount-you-must-specify-the-filesystem-type-188956/)

brynjarh 06-02-2004 03:43 PM

Having problems mounting hd. (mount: you must specify the filesystem type)
 
I used fdisk to delete all partition of hdb and create a new one.

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 9729 78148161 83 Linux


----------------------------------------------------------------------------

---Starting--- ----Ending---- Start Number of
# Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors
-- ----- ---- ---- ---- ---- ---- ---- ---- ------- ---------
1 0x00 1 1 0 0x83 254 63 1023 63 156296322
2 0x00 0 0 0 0x00 0 0 0 0 0
3 0x00 0 0 0 0x00 0 0 0 0 0
4 0x00 0 0 0 0x00 0 0 0 0 0



When I do 'mount /dev/hdb1 /mnt/hdb1' I get 'mount: you must specify the filesystem type'. I don't get that becous it already says in cfdisk and fdisk that the system is Linux(id 83).
This is what it says in /var/log/messages about it:
Jun 2 20:42:17 localhost kernel: FAT: bogus number of reserved sectors
Jun 2 20:42:17 localhost kernel: VFS: Can't find a valid FAT filesystem on dev hdb1.


PLEASE help me fix this, I can't continue anything untill I have gotten this hd to work properly.

bulliver 06-02-2004 03:54 PM

Creating the partition is not enough to use it, you need to put a filesystem on it. ie:

Code:

mkfs.ext3 /dev/hdb1
Then you can mount it using
Code:

mount -t ext3 /dev/hdb1 /mnt/hdb1

brynjarh 06-02-2004 04:05 PM

Cool, it worked!
Thanks bulliver. :)

mr805newbie 01-11-2008 01:23 AM

This worked for me too! You guys rock!

xxchrisxx111 02-09-2010 11:39 PM

Worked
 
Haha worked for me too!! You the man !

ivannasrudin 01-05-2011 01:45 AM

can i do it on my root "/" directory?


All times are GMT -5. The time now is 05:19 PM.