Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Partition/ mounting system. 1

Status
Not open for further replies.

N3XuS

Programmer
Mar 1, 2002
339
BE
I'm using RH 9.0 and have to make a new partition.
So I used fdisk to make a new partition /dev/hda4 ID 83 (which is ext2 no ?) either way it's the same type as the other partitions. Anyhow when I try mounting the partition like this: "mount -t ext2 /dev/hda4 /shares2" it says "mount: wrong fs type, bad option, baad superblock on /dev/hda4, or too many mounted file systems.
I know it's not the last one, I don't have that many mounted fs's and it ain't no bad option either. So nothing left BUT the filesystem being wrong. I suspect fdisk just ain't doing what it's supposed to do and doesn't make it into the right fs type :(

Anyone have an idea how to check a fs type or make this work ? ty :p
 
I tried "mount -t ext3 /dev/hda4 /shares2" as well , same error :(
What I find weird is that when I do "e2fsck /dev/hda4" it says "The superblock could not be read or does not describe a correct ext2 filesystem." Why does he assume it's ext2 then :s
 
ah wait I get it "e2fsck" stands for ext2 filesystem check so that explains why it assumes it's ext2 :) Doesn't explain why I can't mount though :(
 
Try "df -T" this will give the same info as "df" but will list the fstype as well.
 
heh euh hda4 doesn't show in df, so my guess is that fdisk really is screwing up and not doing ziltch.
Although fdisk shows hda4 in the partition table ...
 
well as you prolly noticed I'm a supernoob to linux. No it's not formatted heh. Since the command "format" doesn't exist and any manuals about making a partition and mounting it don't even mention anything about formatting I assumed there was no need.
Which command is used for formatting :)
 
Right I started "parted" and typed "print" to see the paritions. it's showing the 4th partition but "Filesystem is empty. In fdisk it's showing partition 4 has type ID 83 which is "linux parition
 
great found it. I can't beleive this "walkthrough" guide didn't friggin mention to format the disk using "mkfs".
 
You beat me to the punch - I was just gonna say "man mkfs" Glad you figured it out.
 
Thanks for the help/brainstorm Rhythm :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top