LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-10-2006, 11:38 AM   #1
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Rep: Reputation: 30
Need a program to format my hard drive


Hi everyone,

I need a boot floppy that comes with a program that I can use to format my hard drive. I just tried doing an HDD install of DamnSmall right over a Windows 95 system (this is an old computer), it seems to have installed fine (I installed GRUB too), but when it rebooted, it said "missing operating system". My next plan of attack is to get some formatting program, format my HDD into fs2, and install DamnSmall over again.

Thanks.
 
Old 04-10-2006, 11:58 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
It sounds as if you did not install Grub to the Master Boot Record.. did you install it somewhere else by chance ? (possibly /dev/hda1 instead of /dev/hda ?)

grub-install /dev/hda

http://www.damnsmalllinux.org/wiki/i...nstalling_Grub

I would boot from teh DSL CD again and try that command, it may fix your boot issue.
 
Old 04-10-2006, 12:24 PM   #3
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
I booted to DSL, runlevel 2 (text mode), punched in grub-install /dev/hda, and got "/dev/cloop does not have any corresponding BIOS drive"...any ideas?
 
Old 04-10-2006, 02:57 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
What type of Hard drive is your boot drive ?

IDE, SATA, SCSI, Other ?
 
Old 04-10-2006, 08:00 PM   #5
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
IDE...i believe...
 
Old 04-10-2006, 11:10 PM   #6
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Rep: Reputation: 15
If you have a Debian CD available, it does a pretty good job reformatting your HD (at least for creating free space). If you don't want Debian, you can abandon the installer after the partitioner is finished.
 
Old 04-11-2006, 07:52 PM   #7
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Well, to make matters worse, I can't boot off any Linux CD (except, suprisingly, Knoppix 3.2). Everything else gives me and ISOlinux BIOS error (something about my BIOS being so damaged, that I should just junk my PC and not bother with it (paraphrasing of course )). I booted DSL off a floppy, after which it started reading the CD fine...so I come back to my original question...I need a floppy off which I can format and partition my drive.

Thanks.
 
Old 04-11-2006, 08:10 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Partitioning and format can be done using Knoppix 3.2.

Last edited by Emerson; 04-11-2006 at 08:12 PM.
 
Old 04-11-2006, 09:05 PM   #9
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Can you please elabourate? Keep in mind, I can't use tools such as KDE and Gnome (because it's a P133 with 24MB RAM), so I'd have to use text mode...
 
Old 04-11-2006, 10:17 PM   #10
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
4 programs to look at, read the manual pages, and examples..

man fdisk
man parted
man mke2fs
man tune2fs


if the drive is the Master Drive on the Primary IDE Controller

fdisk /dev/hda
follow menus to create partitions, etc..

mke2fs -j /dev/hda1 to format partition 1 on the drive as ext3

If you just plan to install linux on the machine it may be bnest to just delete all the partitions, thenboot the instal CD for the version of linux you wish to install and allow it to create and format the partitions it needs..



If you have multiple drives in your sytem be careful what you do, if you delete the partitions on the wrong drive you will not be recovering data from it later on..

Last edited by farslayer; 04-11-2006 at 10:19 PM.
 
Old 04-12-2006, 12:29 PM   #11
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Thanks all for your help. I was trying to format a completely broken drive. I would have been better off hitting it with a giant mallet. Anyway, I pulled out another HD out of my closet, and everything is peachy. Thanks everyone.
 
  


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
format hard drive mav69_1999 Linux - Newbie 5 07-08-2004 04:53 PM
Can't format hard drive aisphording Linux - Hardware 5 06-14-2004 04:02 PM
how to format Hard drive?? QuTaR Linux - Newbie 3 09-22-2003 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:42 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