I am using AWS EC2 instance with Ubuntu 10.04 installed on it. I start with the instace which has its root partition at /dev/sda1. Later I want to attch a new EBS volume at /dev/sdb1 and want to get rid of the volume at /dev/sda1.
I then want to reboot the instance so that after the reboot the instance starts using the volume at /dev/sdb1 as its root partition and I can delete the volume at /dev/sda1.
Can anyone please tell me what commands I need to execute for this.