Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Mar 21 '11 at 8:48

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

  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.