$ mount /dev/sda1 /mnt
$ vgscan
(You will know your LVM group name, say $volgroupname)
$ vgchange -ay $volgroupname
(Activate the LVM group)
$ mount /dev/$volgroupname/<YOUR_ROOTFS_LVM> /mnt
$ cd /mnt/etc/
$ rm ld.so.cache
$ vi ld.so.conf (...Do some edit or removal)
$ cd ld.so.conf.d/ (...Do some edit or removal)