Re: Linux server brought down by Elite on 31337 port and also how to install 2 hard disks on the same linux machine

From: Kevin D. Snodgrass (nobody_at_spamcop.net)
Date: 05/26/04


Date: Tue, 25 May 2004 22:54:40 -0500

Ann wrote:
> Hi,

Cross-posting to 5 newsgroups is a bit much, eh?

> I removed this hard disk and tried to make this a secondary hard drive
> on another redhat linux machine(whose hard disk will serve as the

IDE? SCSI? SATA?

> primary hard disk.) in the hope that i can mount the second hard disk
> and browse the contents and make backups..After i install the
> corrupted hard disk along with the good redhat linux hard disk, and
> restart it, it shows the primary hard disk(the good redhat disk) info
> and then it just hangs. I read some where that the second hard disk

Sounds like IDE. Did you install the "bad" disk on the same
IDE channel as the "good" disk? If so you need to make the
"bad" disk a slave disk, by setting a jumper (or two) on the
drive itself. Most drives have this info printed on them
somewhere. If you installed the "bad" drive on the
secondary IDE channel, and there is no other drive on that
channel, then the "bad" drive will need to be the master for
that channel, which is probably the way it is configured.

> should be automatically be detected by the redhat machine, but it
> doesn't get there..Does it matter if the hard disks on both the
> machine are named hda? Is there a way to rename one of them to hdb? I
> know all these must be stupid questions..I am kind of new at this..

That can't happen. /dev/hda is the master drive on the
primary IDE channel. /dev/hdb is the slave drive on the
primary IDE channel. /dev/hdc is the master and /dev/hdd is
the slave on the secondary IDE channel.

> Can anyone please help me? I'll be eternally grateful..
>
> Thanks,
> Ann

One problem you may be having is duplicate partition labels.
  This was (IMO) a major F-up by someone, Red Hat or other.
  Labels are bad and I fix them on every install to prevent
just such a situation. If you have partitions labeled
"/boot" and "/" on both disks, likely if both are Red Hat,
when the kernel reads /etc/fstab and sees it is supposed to
mount the partition labeled "/" as the root partition and
the one labeled "/boot" as the boot partition, it will find
two of each, one of each on /dev/hda and the other on
/dev/hdb. Not sure what the kernel will do there. Panic,
freeze, try to mount the wrong one, ??

Try booting your "good" drive without the "bad" drive
installed, edit /etc/fstab and fix it to something sane,
i.e. use partitions instead of labels. If you don't know
how post the contents of /etc/fstab and the output of the
command "mount".

Having a known good boot floppy might be a reasonable thing
to do first. (Hint: mkbootdisk)

I'll be off to the country to kill diseased vermin for a few
days. I might be able to continue by Friday afternoon.
Maybe...

And consider trimming the newsgroups list to
comp.os.linux.redhat, since security doesn't really apply,
at least to what I'm dealing with. Someone else will have
to comment on the compromise.



Relevant Pages

  • Re: Error Loading OS
    ... I take it that you have 4 IDE devices in there and that they are connected on 2 IDE controllers on the motherboard. ... The reason your computer doesn't boot when all the devices are attached to the motherboard is because the IDE chain is not correctly setup or that the Boot Order in the BIOS is set to pass the boot to the wrong drive. ... Then reset BIOS to boot from Hard Disk - I got the same Error LOading OS ... When you paste the contents of the file here also tell us how many drives and partitions you have in the computer. ...
    (microsoft.public.windowsxp.help_and_support)
  • CD drives will not install (code 37)
    ... single 40GB hard disk as master on primary IDE channel, ... User had an IDE CD-RW drive working fine as secondary master. ... I have tried different and known good CD drives on both primary and ...
    (microsoft.public.windowsxp.perform_maintain)
  • Clone Backup and restore Thinkpad R40 with DFSEE?
    ... I have used DFSEE 7.0.6 latest to successfully clone entire hard disks from desktop boxes both SCSI and IDE to at least equal or larger drives from the raw image. ... I can take the cloned hard disk and then pop it in the box and it boots and runs just fine, provided I do a CDHKDSK and have told DFSEE to handle the synchronization like Will Hartzell suggests, if it is needed. ...
    (comp.os.os2.setup.misc)
  • Re: I give up...........
    ... The underlying problem is he's trying to use old technology IDE drives in a ... > what type of ide cable was used for the hard disk, what bios revisions, if ... > running dell diagnostics were, ...
    (alt.sys.pc-clone.dell)
  • RE : Re: [RFC] ATA host-protected area (HPA) device mapper?
    ... they are not IDE register compatible. ... interface copying exercise that caught on. ... provide ATA taskfiles but afaik not the boot loader unfortunately. ... It is mainly to increase the bandwidth of the pipe linking the hard disk to the ...
    (Linux-Kernel)