LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-07-2003, 11:04 PM   #1
justin9
Member
 
Registered: Jul 2003
Location: Toronto
Distribution: Fedora Core 2
Posts: 36

Rep: Reputation: 15
Exclamation I can't format my hard drive! help!


So, I have this new hard drive, in my new computer. I had Lindows, but I wanted Red Hat Linux 8.0 instead, so I started installing it. Partway through it crashed, so I ran the install again. Soon it gave me a fatal hard drive error and quit, so I decided to just format my hard drive and start all over. So I used my trusty ol Partition Magic boot disc and tryed to reformat it, but no, it wouldn't let me! It gave me another error and said it couldnt be completed. Well, im really stuck, so if anyone could help, id really, really appreciate it. thanks!

ps. i have this 160GB Maxtor that I bought, and I was going to put it in my computer, but then this happened, so i decided not to, incase i somehow messed it up too. should I put it in? thanks.
 
Old 07-07-2003, 11:17 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
1. Boot into Linux with a "live CD" or boot floppy

KNOPPIX Linux Live CD
Linux Bootable Business Card
Tom's Root and Boot floppy

# Cheap CDs
Discount Linux CDs
Linux Central
Cheapbytes
TuxCDs
ComputerHelperGuy

2. Erase the drive completely with the command below that matches where your drive is attached on the IDE chain:

dd if=/dev/zero of=/dev/hda
dd if=/dev/zero of=/dev/hdb
dd if=/dev/zero of=/dev/hdc
dd if=/dev/zero of=/dev/hdd

If that finishes with no errors, you should be able to format with Linux fdisk or partition magic.

Good luck.

If you ever have had a fat32 filesystem on a drive, do this before partitioning to have a clean drive.
 
Old 07-08-2003, 12:47 PM   #3
justin9
Member
 
Registered: Jul 2003
Location: Toronto
Distribution: Fedora Core 2
Posts: 36

Original Poster
Rep: Reputation: 15
I made a Red Hat 8 boot floppy, I can use that right?
 
Old 07-08-2003, 01:05 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
There are boot floppies to boot you to a working Linux such as toms root and boot, and there are boot floppies that boot the install program. If you can boot to a command line prompt, yes. I don't think you have a working installation yet, right?

If your boot floppy in an install boot, try that and see if you can install using text and expert so you can see any error messages.

Last edited by fancypiper; 07-08-2003 at 01:07 PM.
 
Old 07-08-2003, 01:20 PM   #5
justin9
Member
 
Registered: Jul 2003
Location: Toronto
Distribution: Fedora Core 2
Posts: 36

Original Poster
Rep: Reputation: 15
Well, I booted with the red hat floppy and ran that line like you said. I got a blank line with a cursor, and I assumed it was erasing. Soon after, my computer froze, and when I tried to load the floppy again I got a whole lot of errors followed by
"Kernel Panic: No init found. Try passing init= option to kernel"
and my scroll lock and caps lock lights were flashing. I thought I had done enough damage and then left. Whats going on???
 
Old 07-08-2003, 01:34 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Is this a linux only box or a dual boot with windows working correctly? I don't know exactly what you have to work with. Details are very important and we are very poor mind readers even though better than most.

For one thing, you don't have a working installation on your hard drive to be able to boot into is what is happening with your boot disk.

Quote:
Partition Magic boot disc and tryed to reformat it, but no, it wouldn't let me!
I think the partitioning table on your hard disk is messed up and won't allow you to partition correctly.

To recover, again I suggest completely zeroing your hard drive so you can start over with a fresh clean drive.

To get a working Linux going without installing, get one of these:

A Linux bootable floppy:
Tom's Root and Boot floppy
A Linux "Live CD"
KNOPPIX Linux Live CD - You can buy this here

Using one of those boot into Linux and zero your drive and try again.
dd if=/dev/zero of=/dev/hd<x>

Last edited by fancypiper; 07-08-2003 at 01:36 PM.
 
Old 07-08-2003, 02:22 PM   #7
justin9
Member
 
Registered: Jul 2003
Location: Toronto
Distribution: Fedora Core 2
Posts: 36

Original Poster
Rep: Reputation: 15
Alright, but I have one slight problem. My only other working computer is a Mac, and you need a pc to install Tom's root and boot as far as I can tell. I would order that cd, but I need to get my computer working as soon as possible. Any ideas?
 
Old 07-08-2003, 02:33 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
The Ranish Partition Manager may be able to repair it, but I'm not sure how Mac works, so I am sort of helpless.

Besides the auto partitioning, have you tried disk druid, fdisk and cfdisk to partition?

How about fips20 on your install CD? Does Red Hat still supply that?

Have you tried your other drive yet? Perhaps the drive is dead if nothing will partition/repair it. Did you try installing and testing either hard drive with the drive manufacture's utilities?

That's all I can think of off hand.

# Redhat links
RedHat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project

Last edited by fancypiper; 07-08-2003 at 02:35 PM.
 
Old 07-08-2003, 02:49 PM   #9
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Blog Entries: 1

Rep: Reputation: 37
Do you have a low level format utility in the bios, if so run it.

I'll guess from your problems u have a maxtor, fujitsu or ibm hdd; but most likely a maxtor.

Best advice would be to get a new hard drive, and get a seagate or western digital. I use only those in my systems and ive not had any major probs with them.
Ive in the past had to return lots of maxtors and ibms, and a friend recently had to return 2000 fujitsus from a company order.
 
Old 07-09-2003, 07:42 AM   #10
Mojojo
Member
 
Registered: May 2003
Location: Philadelphia/PA
Distribution: Arch
Posts: 452

Rep: Reputation: 35
Put the new maxtor in and try to install Redhat. Only if your sure there is nothing wrong with your discs.
 
  


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
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM
Format hard drive uzerfrendly Linux - Hardware 9 02-24-2005 10:07 PM
Can't format hard drive aisphording Linux - Hardware 5 06-14-2004 04:02 PM
format hard drive trackrat Linux - General 3 02-25-2004 10:40 PM
how to format Hard drive?? QuTaR Linux - Newbie 3 09-22-2003 11:23 PM

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

All times are GMT -5. The time now is 02:23 PM.

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