LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2003, 11:39 PM   #1
veroth
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
trying to fix a hard drive


ok, I must be a complete gimp.
I'm trying to reinstall my Western digital 200GB hard drive. It got screwed up after a power failure.
I'm using slackware 9.1
I use
# fdisk /dev/hdb
to set up my partitions (one HUGE partition)
then I use
# mkfs.ext3 /dev/hdb1
then
# mount -t ext3 /dev/hdb1 /Silo
and I get an error
# mount: wrong fs type, bad option, bad superblock on /dev/hdb1, or too many mounted file systems

Is their anything else I have to run in order to set up a new filesystem?

I actually want to use this hard drive for mass storage. But I tried to install slackware on it to see if the installation program could do a better job at setting up the drive. and it told me that I had a fat32 partition on the hard drive somewhere. However I didn't see it in fdisk. What's going on there?
 
Old 10-23-2003, 12:42 AM   #2
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
Hi!
I don't know if it helps but, Did you try to do
"mount /dev/hdb1 /Silo" or "mount /dev/hdb -t auto"?
I don't have your distribution but in the man page of the version of mount I have, I don't see the ext3 option...
Regards
 
Old 10-23-2003, 07:08 AM   #3
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Rep: Reputation: 30
If fdisk seems to not be doing its job, you could always use some third party software. I just use partition magic to prepare all of my drives, it supports ext3 without any problems.

Does anybody know if this problem could be because his partition is too big?

-LBB
 
Old 10-23-2003, 04:02 PM   #4
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
I don't know if the size has anything to do. After all Fat32 shouldn't be working with disks over 100 gig and so far my 120 gig with mp3's are working just fine.

BTW the command is

mount -t auto /dev/hdb /whereveryouwantit

LinuxBlackBox: I agree. Fdisk for Linux is better than the version you get from M$ and i prefer partition Magic too
Reformat, resize and convert filesystem. Life's so much better with that program.
 
Old 10-23-2003, 06:36 PM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Post

I always use this

Code:
mount /dev/hdb1 /mnt/windows
Make sure you have a directory called windows in the /mnt directory. If not try this

Code:
mkdir /mnt/windows
Help any?

 
Old 10-23-2003, 07:58 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
I have seen odd problems encountered when repartitioning a disk disappear when I zero out the MBR.
As long as there is nothing on the disk you still want to recover, you can:
dd if=/dev/zero of=/dev/yourharddrive bs=512
That writes all zeros to your MBR. Then repartition and format.
Don't know if it will work in your case but if nothing else does....
Good Luck
 
Old 10-24-2003, 05:38 AM   #7
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
You could try -t ext2 on the off chance.
 
Old 10-24-2003, 06:18 AM   #8
brew1brew
Member
 
Registered: Jul 2003
Location: Plano TX (north of Dallas)
Distribution: Kubuntu
Posts: 165

Rep: Reputation: 30
Just a thought, did you create directory /Silo ? prior to trying to mount it?
 
Old 10-25-2003, 03:54 AM   #9
veroth
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
thanks for all the suggestions, class has consumed me the bast few day so I haven't been able to try anything yet. I will keep you up to date on what happens.
 
Old 10-26-2003, 08:55 PM   #10
veroth
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Ok, I think I figured it out!
But I now need some advice on how to proceed.
I wanted to partition the WHOLE THING as one chunk. Ext2/Ext3 doesn't seem to handle this very well because when I make the partition 100GB I have no problem mounting. but when I make a 150GB partition and put a ext3 fs on it, it wont let me mount it.
I still want to partition the HD as one huge thing because I plan on putting very large files on it and I don't want to run into the situation where I have x amount of space on one partition and y amount of space on another partition and the file will only fit if I have x+y amount of space (Did that make since?).

At any rate. I want to know what my options are to partition the drive as one monstrosity!
 
Old 10-27-2003, 09:54 AM   #11
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
Don't really know.
I got 2 disks on 120 gig that's formatted in FAT32 with PartitionMagic. That's 'cause i'm running dualboot and want access to my mp3's and movies from both os'es.
To me that works painfree, at least so far.

What if you skip ext3 and just uses ext2?
(is just guessing here)
 
Old 10-27-2003, 12:19 PM   #12
veroth
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
I have been using ext3 and ext2 interchangeably. And from what I understand about ext 2 or 3 they are very similar. the only difference it ext3 does journalizing stuff.
 
Old 10-27-2003, 12:40 PM   #13
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
Ok.. I'm still on ext2

But if there's a limit to how large diskpartition you can have. Even if i vcan't understand why it should be one. would it be so bad to split it in two?
If you'r just going to have movies or cd-images on it, i can understand that you want a large enough disk. I think i got maybe 2 gigs free on my mp3 disk, and i want MORE space too....

I'm currently at the lookout for an extra IDE controller for my box 'cause i'm tiered of swapping the cd-recorder and the dvd-rom all the time.
 
Old 10-27-2003, 10:57 PM   #14
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Current specs for filesystems seem to show there is no poblem with a 200 G drive.
If your mount specifications are correct I do not find other mount options that would apply.
Possibly a BIOS problem?
Remember, cutting edge hardware (which large drives belongs in) can be a bitch.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 01:47 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM
possible hard drive fix ?? stevoman098 Linux - General 8 01-28-2004 11:05 AM
I really want to try Arch, is it hard to fix the fonts? frontier1 Arch 2 12-05-2003 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration