hard drive detection

ABrady xunil at kc.rr.com
Thu Aug 12 17:08:59 UTC 2004


On Thu, 12 Aug 2004 11:33:43 -0500
Steve Buehler <steve at ibapp.com> wrote:

> Thanks.  That really bites.  I didn't want to have to reinstall the 
> operating system.  Since the problem is on hda2 and the /boot is on
> hda1, it looks like I will have to

No you don't. Install hdd (remove a CD drive or whatever is there),
fdisk it, creating 2 partitions, copy /boot to hda1 and /Monday to hda2,
shut down, take out hda, place hdd in it's place and boot. Just make a
bootdisk first and reinstall the bootloader once finished. You'll also
have to play with the master/slave jumpers on the new drive to make it a
slave to copy and a master to replace.

There are also ways to do it a little quicker and easier using a rescue
disk or a livecd, such as knoppix. That way you could even chroot to
sda2 and reinstall the bootloader without having to use a bootdisk.

>.  Kind of weird that I have an hdb2, but no 
> hdb1...unless the hdb1 is the swap drive.

That's the most likely reason. You can find out with 'fdisk -l /dev/hdb'
and you'll see one marked 'linux swap' if that's the case.

> Thanks
> Steve
> 
> At 11:19 AM 8/12/2004, Jason Staudenmayer wrote:
> 
> >It would be a partition on hda, looks like you have 2 scsi drives and
> >3 ide right?
> >So ide drive one/primary needs to be fixed.
> >
> >Jason
> >
> > > -----Original Message-----
> > > From: Steve Buehler [mailto:steve at ibapp.com]
> > > Sent: Thursday, August 12, 2004 12:14 PM
> > > To: redhat-list at redhat.com
> > > Subject: hard drive detection
> > >
> > >
> > > Ok.  Here is a real simple if not stupid question.  I have
> > > some hard drives
> > > in a machine and here is the layout:
> > > /dev/sda2              35G  304M   32G   1% /
> > > /dev/sdb1             113G   96G   12G  90% /Friday
> > > /dev/hda2             112G  2.4G  104G   3% /Monday
> > > /dev/sda1             113G   70G   38G  66% /Thursday
> > > /dev/hdb2             111G   96G  9.4G  92% /Tuesday
> > > /dev/hdc1             113G   96G   12G  90% /Wednesday
> > > /dev/hda1            1004M   22M  931M   3% /boot
> > >
> > > No I know I don't have 7 hard drives in the machine.
> > > /dev/hda2 is having
> > > some problems and needs to be replaced.  Is it a different
> > > partition on
> > > /dev/hda1, /dev/hdb2 or neither?
> > >
> > > Thanks
> > > Steve





More information about the redhat-list mailing list