[CentOS] Un Installing a hard drive in a Centos 5.1 box

Sun Mar 16 22:21:12 UTC 2008
Karanbir Singh <mail-lists at karan.org>

Pam Astor wrote:
> When I physically removed the drive and restarted the PC, centos would
> not boot up and went into a kernel panic.  I'm sure I'm supposed to
> somehow unmount the thing before I do this, and that's my question - how
> do I un-install the hard drive - software wise - so that on next boot
> up, centos don't go crazy looking for it?

If the machine panics at boot time, there is a good chance that you
installed with LVM and its got both the drives into one volume. You will
need to reinstall that second harddrive, then work out the process of
shrinking the filesystem down to only 1 drive, then remove the second
drive. The scope of this work might be too much for an email, so I can
best point you at the LVM HowTo. There are also some good lvm tips in
the CentOS5 docs ( http://www.centos.org/docs/5/ )

-- 
Karanbir Singh : http://www.karan.org/ : 2522219 at icq