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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-10-2006, 12:38 PM
|
#1
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Rep:
|
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. 
|
|
|
04-10-2006, 12:58 PM
|
#2
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep: 
|
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.
|
|
|
04-10-2006, 01:24 PM
|
#3
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
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?
|
|
|
04-10-2006, 03:57 PM
|
#4
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep: 
|
What type of Hard drive is your boot drive ?
IDE, SATA, SCSI, Other ?
|
|
|
04-10-2006, 09:00 PM
|
#5
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
IDE...i believe...
|
|
|
04-11-2006, 12:10 AM
|
#6
|
Member
Registered: Nov 2005
Posts: 123
Rep:
|
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.
|
|
|
04-11-2006, 08:52 PM
|
#7
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
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.
|
|
|
04-11-2006, 09:10 PM
|
#8
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Partitioning and format can be done using Knoppix 3.2.
Last edited by Emerson; 04-11-2006 at 09:12 PM.
|
|
|
04-11-2006, 10:05 PM
|
#9
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
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...
|
|
|
04-11-2006, 11:17 PM
|
#10
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep: 
|
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 11:19 PM.
|
|
|
04-12-2006, 01:29 PM
|
#11
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
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. 
|
|
|
All times are GMT -5. The time now is 07:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|