Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
09-04-2003, 09:27 PM
|
#1
|
|
Member
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425
Rep:
|
dd: /dev/hda: No such device or address
Hey people,
I would like to know how I can fix a problem with my HDD or software. I have a 30GB HDD on a 400MHz x86 Processor. Recently I had Windows installed on it (we all know how insecure it is). Well... I had my anti-virus software disabled because I did not configure it (msconfig) to start at boot time. I forgot to re-enable it, heh. I opened up the file mIRC.exe (I was going to install mIRC client) and all-of-a-sudden, my computer restarted. Weird I thought to myself and the next thing on my screen were 2 lines.
Non-System disk or disk error
replace and strike any key when ready
I did not know what to do. So I took my Windows XP Professional Disk out and it did not want to work. So I asked my friend and he recommened me to use linux because it is much more reliable. I agreed. So I downloaded Slackware 9.0 from my friends system. I put it in and it booted up fine.
Then I put the command in " cfdisk ". It gave me this output.
FATAL ERROR: Cannot open disk drive
Press any key to exit cfdisk
 Even more upset with this huge problem... I asked my friend again that it didn't want to install and it gave me the "FATAL ERROR..." He said the partition was corrupt so I use the " dd " command.
root@slackware:/# dd if=/dev/zero of=/dev/hda
dd: /dev/hda: No such device or address
It did not work.. my friend told me it should work
Now I am depending on you Linux  Geniuses to help me out please  I am very desperate and any help with be very helpful. Thank you all you wonderful people  .
Sincerely,
Abid Kazmi
|
|
|
|
09-04-2003, 11:16 PM
|
#2
|
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
Does your BIOS recognise your system at boot?
|
|
|
|
09-05-2003, 04:41 AM
|
#3
|
|
Moderator
Registered: Aug 2002
Posts: 10,689
|
Non-System disk or disk error
replace and strike any key when ready
This means the PC could not find a bootable drive. If the BIOS does not detect the drive on boot I suspect it has crashed.
|
|
|
|
09-05-2003, 06:20 AM
|
#4
|
|
Member
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288
Rep:
|
I'm not sure if this suggestion will help but you could try the Knoppix bootable CD its a full Linux Distro that runs from CD and it may help to diagnose any HDD problems
|
|
|
|
09-05-2003, 06:34 AM
|
#5
|
|
Member
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425
Original Poster
Rep:
|
Thank you all soo much. I do have the Knoppix CD and I will try it today. Yes, the BIOS does recognize my system at boot time. So I guess it did crash. Thank you all =)
|
|
|
|
09-05-2003, 03:22 PM
|
#6
|
|
Member
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425
Original Poster
Rep:
|
Hello,
Well I had downloaded Knoppix and put it into my CD-ROM drive. It did not boot up. It still gave me the error:
Non-System disk or disk error
replace and strike any key when ready
I asked my friend and he said that it was for Windows FAT FS and/or NTFS FS, heh. So I wanted to know If I downloaded the Wrong Version Of Knoppix =/.
I got the .iso 726,974,464 KNOPPIX_V3.2-2003-07-25-EN.iso from
ftp://raven.cslab.vt.edu/pub/linux/knoppix/
Thank you for all your help =)
Sincerely,
Abid Kazmi
|
|
|
|
09-06-2003, 06:48 AM
|
#7
|
|
Member
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288
Rep:
|
Is your BIOS set to boot from CDROM? 1st boot device floppy 2nd decice CDROM then third device IDE-0 or something similar
|
|
|
|
09-06-2003, 09:39 AM
|
#8
|
|
Member
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425
Original Poster
Rep:
|
Hello again,
I am not too sure about my BIOS. I think it is from the CD-ROM because I had put in a Slackware and also a WinXP disc in the CDROM and they came up on the screen. Meaning the instructions but both of them kept saying CANNOT READ DISK DRIVE. By the way.. today I tried the Slackware CD again. I looked closely and lots of stuff came up... It said something like:
Drive Status {Not Ready} 0x50
Drive Error {Not Ready} 0x50
Drive Status {Not Ready} 0x50
Drive Error {Not Ready} 0x50
Drive Status {Not Ready} 0x50
Drive Error {Not Ready} 0x50
I believe it was something similar to that.
Thank you for all your help =)
Sincerely,
Abid Kazmi
|
|
|
|
09-06-2003, 12:21 PM
|
#9
|
|
Member
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573
Rep:
|
Excuse My ignorance... but shouldn't you use /dec/hda1?? you want to dd the partition.... right
|
|
|
|
09-06-2003, 03:29 PM
|
#10
|
|
Member
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425
Original Poster
Rep:
|
Hey,
Hehe, anything accepted. I'm just here for help =).
Well... I don't want to do specific things. I just need to get my computer up anyway possible. The file corrupted everything I guess... so I was thinking of cleaning up everything.
I did try your help Ciccio, I put in:
root@slackware:/# dd if=/dev/zero of=/dev/hda1
dd: /dev/hda1: No space left on device
Any suggesstions?
Thank you,
Sincerely,
Abid Kazmi
|
|
|
|
09-06-2003, 04:56 PM
|
#11
|
|
Member
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573
Rep:
|
can't you mount /dev/hda1กกก Can't you format /dev/hda1? if you can't even format /dev/hda1, then probably it's problem is phisical.
|
|
|
|
09-06-2003, 08:40 PM
|
#12
|
|
Member
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425
Original Poster
Rep:
|
Hello Ciccio,
No as a matter of fact, I did try to format /dev/hda1 in this format:
root@slackware:/# mount /dev/hda1
mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab
So I wondered. I simply typed in mount and got this:
root@slackware:/# mount
/dev/fd2 on / type ext2 (rw)
proc on /proc type proc (rw)
Thank you,
Sincerely,
Abid Kazmi
|
|
|
|
09-06-2003, 08:45 PM
|
#13
|
|
Member
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425
Original Poster
Rep:
|
I am sorry, I meant I tried to MOUNT it not format it. I did try to format it by doing dd if=/dev/zero of=/dev/hda. Is that the proper way of formating?
Thank you,
Sincerely,
Abid Kazmi
|
|
|
|
09-07-2003, 01:25 PM
|
#14
|
|
Moderator
Registered: Aug 2002
Posts: 10,689
|
Using /dev/zero will wipeout everything on the drive. To format you need to use (example for ext3):
mke2fs -j /dev/hda1
See man pages mkfs for more details.
The command fdisk -l /dev/hda will show how the drive is partitioned.
|
|
|
|
09-07-2003, 03:07 PM
|
#15
|
|
Member
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573
Rep:
|
mount -t vfat /dev/hda1 /mnt/windows should be the command...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:10 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
|
|