[ Thanks to Falko
Timme for this link. ]
“The following tutorial describes, how this is achieved
by using Systemrescue-CD. SysRescCD is (as the name says) a kind of
minimal Rescue Linux, often used as bootable CD or bootable USB
Stick, or also usable as a bootable ISO Image directly in VMware
ESX/Server, Virtualbox or similar virtualizers. It has a lot of
useful stuff which could be used for maintenance tasks (to be
honest, it is NOT minimal as written above).“Disclaimer
“As installations may differ widely, this tutorial could only be
a kind of cooking recipe, a rough guide, and has to be adapted to
the concrete setup. This procedure has been developed for a system
running as VM under VMware ESX, the root filesystem being LVM2
based ext3, inside a SAN. Operating System was CentOS 5.“Be careful with all you are doing, all actions are performed
with root permission. So make a full backup before you do anything
other. You should also be familiar working in a shell. Also do
whenever possible “dry-runs” before you do real modifications, and
carefully inspect all messages whether they correspond with your
expectations.”