From Dual Boot to Single Boot (Windows + Ubuntu) to Ubuntu
Hi,
I have a strange setup situation. I have a HDD with 2 primary partitions. My first OS was Windows 7 64 bit and I then installed Ubuntu as Dual Boot with GRUB bootloader.
After lot of server based configuration on my Ubuntu Server, I am required to create multiple environments with similar setups on my other server.
Can I make a TI back up of Ubuntu and then restore it as Main OS on new machine? If yes, can anybody please explain how it can be done.
Thanks,
Binoy

- Log in to post comments

Hello Binoy,
Let me assist you.
Yes, you can back up your Ubuntu installation with Acronis True Image and later restore it to a different hardware. However, you will need to configure the restored system before you can boot it, at least, you'll have to reactivate GRUB.
- Boot from Linux installation CD and enter rescue mode;
- Mount all partitions and change root from the temporary root to the root partition of the installed system:
- #mkdir /mnt/tmp
- #mount /dev/sdXY /mnt/tmp (/dev/sdXY is the root partition)
- #chroot /mnt/tmp
- Generate /etc/mtab:
- #grep -v rootfs /proc/mounts > /etc/mtab
- Check if the GRUB configuration file is correct:
GRUB stores its configuration in either /boot/grub/grub.conf or /boot/grub/menu.lst depending on the distribution you are using.
- Reactivate GRUB automatically:
Run the following command:
where /dev/[device name] is the name of disk/partition where you are going to install GRUB.
- #grub-install /dev/[device name]
#grub-install /dev/sda
- Reactivate GRUB manually in case Step 5 fails:
You will receive a prompt:
Please issue the commands (4 is the root partition in this example):
You will see the output:
- #/sbin/grub
- Reboot.
If the restored system still can't boot, please rebuild Ramdisk as described at this KB article.
Please reply to this thread if you have any additional questions.
Thank you.
- Log in to post comments