Run the following commands to mount the hard drive
Servers without software RAID, which are also still using the old IDE drivers, must use /dev/hda2 instead of /dev/md2
cd /mnt mkdir rescue mount -o ro /dev/md2 /mnt/rescue
The disc is now mounted in "read only" mode. If you wish to write to the disc, it must be mounted as follows:
mount /dev/md2 /mnt/rescue
If you want to do something more than just to get to your data, like changing the kernel or something similar, additional (virtual) filesystems should be mounted:
mount --bind /dev /mnt/rescue/dev/ mount --bind /proc /mnt/rescue/proc/ mount --bind /sys /mnt/rescue/sys/ # or shorter with a script chroot-prepare /mnt/rescue
now it is possible to enter the installed system with
chroot /mnt/rescue /bin/bash