LinuxQuestions.org
Help answer threads with 0 replies.
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 08-30-2004, 09:28 AM   #1
david4
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
linux & BIOS ????


Hi there.
My friend has the following problem, he has two hard disks, he disabled one of them from BIOS.
After that he started to install RHEL 3.0 , he used Disk Druid for partitioning . after that he discoverd that he has formated the second HDD (the one which he disabled by BIOS).
how that can happened??.
and can he restore the data (windows Fat32)?...
 
Old 08-30-2004, 09:51 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I don't think it's possible to "disable" a hard drive via BIOS. He might have removed it from the boot order, or asked it not to autodetect, but Linux is going to see whatever drives are attached to the IDE cables - period.

Can he mount the drive in RedHat? Once RedHat is loaded, open a terminal window and type "mount" without the quotes. That will show you which drives are mounted, and how much data is on them. If it shows data is still there, maybe he can get it back. If not, then it depends upon how important the data might be, and how much he wants to pay to get it.

This is what the output of the command "mount" should produce:
Code:
mingdao@paul:~$ mount
/dev/hdc6 on / type reiserfs (rw)
proc on /proc type proc (rw)
/dev/hdc1 on /boot type reiserfs (rw)
/dev/hdc2 on /home type reiserfs (rw)
/dev/hdc3 on /usr type reiserfs (rw)
/dev/hdc5 on /var type reiserfs (rw)
/dev/hdc7 on /tmp type reiserfs (rw)
/dev/hdc8 on /distro type reiserfs (rw)
/dev/hda1 on /XP type ntfs (ro,noexec,nosuid,nodev,umask=1000)
/dev/hda2 on /PROGRAMS type ntfs (ro,noexec,nosuid,nodev,umask=1000)
/dev/hda3 on /DATA type vfat (rw,noexec,nosuid,nodev,umask=1000)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /mnt/sda1 type vfat (rw,noexec,nosuid,nodev,umask=1000,user=mingdao)
or something similar. This was produced from Konsole, KDE de in Slackware 10.0 - ymmv...

Edit: If nothing shows from the mount command, then issue "df -h" and then login as root and issue
"fdisk -l" (lower case L) and post the output.

Last edited by Bruce Hill; 08-30-2004 at 09:54 AM.
 
Old 08-30-2004, 01:13 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Well you can disable IDE controllers in the BIOS, in which case no OS should detect the drives attached to that controller (i.e. there are usually a primary and secondary controller, and you could disable one).

As for recovering the data, at this point you'll probably need to use something like The Coronor's Toolkit (TCT) to try to get it back.

Oh by the way, this question doesn't have anything to do with running Linux in an Enterprise Business, so I'm moving it to a more appropriate forum.

Last edited by chort; 08-30-2004 at 01:14 PM.
 
Old 08-30-2004, 02:24 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The best way is to disable a hard drive or an storage device is disconnect it from the cable, so no confusion will occure during making partitions and formatting. I have used diskdruid. Its very easy to pick the wrong drive. Mandrake's diskdrake does not have this problem because each hard drive is seperated by tabs, so you can concentrate on one hard drive at a time. The possibility of getting the data back is very low after you have formatted and put files on it. If it was only a partition table change, it will be very easy to get the data back.
 
Old 09-06-2004, 12:31 PM   #5
david4
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Original Poster
Rep: Reputation: 0
thank you all

thank you for answering..................
 
  


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
Strange problem with BIOS, XP wont install, Linux & 2000 will crazytigger General 5 10-15-2005 05:45 AM
Getting a laptop: touchpad locking & bios conflicts & other possible laptop problems? mandrakemikael Linux - Laptop and Netbook 2 12-09-2004 07:15 AM
formatting harddisk & flash BIOS.. aaru_ali Linux - Hardware 3 10-07-2004 01:06 AM
Need help with BIOS & shot CD-ROM drive... Ausar Linux - Newbie 3 06-29-2004 09:11 PM
Sleuth & other tools for bios virus suguru Linux - Security 1 03-14-2004 03:18 PM

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

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