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
- Previous message: FromTheRafters: "Re: What is the difference between a worm and a trojan ?"
- In reply to: Ann: "Linux server brought down by Elite on 31337 port and also how to install 2 hard disks on the same linux machine"
- Next in thread: T. Sean Weintz: "Re: Linux server brought down by Elite on 31337 port and also how to install 2 hard disks on the same linux machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Previous message: FromTheRafters: "Re: What is the difference between a worm and a trojan ?"
- In reply to: Ann: "Linux server brought down by Elite on 31337 port and also how to install 2 hard disks on the same linux machine"
- Next in thread: T. Sean Weintz: "Re: Linux server brought down by Elite on 31337 port and also how to install 2 hard disks on the same linux machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|