I have an USB thumb stick with the following partition scheme:
sdb
sdb1 -> root partition '/'
sdb2 -> /home partition
If I boot from a live CD, or just from my current Ubuntu OS located on my computer's hardware, I am able to chroot this way:
mount /dev/sdb1 /mnt
mount /dev/sdb2 /mnt/home
chroot /mnt /bin/bash
In this instance, my prompt is something like [root@archiso]. The thing is I would like to log in my user account which is in /mnt/home/me, but I don't know how to do it?
A further goal would be to launch X (and any dektop manager) from this user session.
So the questions that I need to be addressed are the following:
1) How do I log into my user session once I am chrooted?
2) Once I am logged in, would it be possible to start X startx, even if I am initially logged in my computer Ubunu OS, with a gnome session already running?