I had an Ubuntu Lucid 10.04 instance running on an m1.small in AWS us-east region. A while back it had some issues (I think it was an AWS problem) anyway we started up a new one, attached our separate data volumes to the new instance and everything was back to normal.
There were some files on the boot volume of the old instance that I wanted to get access to so I stopped the old instance detached the boot volume and mounted this old boot volume to the new instance on /dev/sdg to get access to it. Unfortunately I didn't tidy up afterwards and the volume remained attached and mounted.
Yesterday I had to reboot the new instance (AWS said that some scheduled maintenance required this and I could do it manually before they did it)
Once it was rebooted I noticed some problems with it. ie: new users added recently are not shown in /etc/passwd only older users are there.
From what I can tell it seems that the instance has rebooted from the old boot drive.
So how do I…
1) Determine which volume I'm actually booted from to confirm my suspicions?
2) Tell the instance which volume to boot from (if I'm right)?