Tuesday, July 16, 2013

Mount Encrypted LVM Partition - RHEL

I  accidentally delete  RHEL6.4 libc.so.6 link file. The system don't work anymore.
Here is the command I use to mount that partition using ubuntu 12.04 live CD.

0. open terminal
1. sudo su -
2. fdisk -lu
   a. for finding /dev/sda2
3. cd /mnt
4. mkdir enc
5. cryptsetup luksOpen /dev/sda2 encrypted
    a. typing password
6. apt-get install lvm2
7. lvscan
    a. it will show lv inactive
8.vgchange -ay
   a. change lv to active
9.mount /dev/VolGroup00/LogVol101 /mnt/enc

Now you could workin on the /mnt/enc folder

Here is the source.
http://wiki.sabayon.org/index.php?title=HOWTO:_Mount_Encrypted_Partition
http://www.nixetra.com/mount-unknown-filesystem-type-lvm2-member/



Wednesday, July 3, 2013

WARNING: Remote desktop does not support colour depth 16; falling back to 8

I suddenly got this warning when I use rdesktop. It turn out I use full-screen mode and I just add  one more display.  So maybe my display card or X-Windows setting don't have enough RAM. Anyway, just change it not to use full-screen fixed this issue.