Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

migrated from stackoverflow.com Mar 21 '11 at 8:48

This question came from our site for professional and enthusiast programmers.

1 Answer 1

  1. Reconfigure GRUB for the new boot partition:

    info grub

    The GRUB configuration file is /boot/grub/menu.lst. Backup that file.

  2. Backup your /etc/fstab and change it to reflect the changes:


  3. Reboot.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.