Re: Un Installing a hard drive in a Centos 5.1 box

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 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/ )

OK this is what I have when I run mount - does it appear that
I have both drives on one volume?:

/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)

proc on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

devpts on /dev/pts type devpts (rw,gid=5,mode=620)

/dev/sda1 on /boot type ext3 (rw)

tmpfs on /dev/shm type tmpfs (rw)

none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)




Looking for last minute shopping deals? Find them fast with Yahoo! Search.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux