I believe you need to look at the "set root" option
mine is
"set root='(hd0,4)'"
I think for yours it would be something like
"set root='(hd3,X)'" {where X is would be the partition number 0=sda1 1=sda2
2=sda3 and so forth
Now correct me if I'm wrong or there is more to this process. Iv never migrated
my install like so. Ioperate from a laptop with only one hardrive so I just
migrate data between the installs. sda1-3 are for my main encrypted install.
and sda4 is used for my temp install. Then I migrate between the main and temp
install back to the main install. Yeah it's a pain. But I really don't have the
extra hardware to try what you are doing.
--[Witty Signature Goes
Below]---------------------------------------------------------------------------------------------------------------------
--[....]------
http://www.linkedin.com/profile/view?id=53668912&trk=tab_pro - linked in profile
http://www.facebook.com/skrapsrwt - feel free to add me on facebook.
http://www.ipetitions.com/petition/foodstamps/
http://www.ipetitions.com/petition/nodeaddawgs/
http://www.ipetitions.com/petition/mcdlunch/
http://www.causes.com/causes/633686-no-dead-dawgs
http://www.phonesnake.com - looking for support by sharing and liking our page
and also sponsors to help with the project.
http://www.communicationslibrary.info - taking the knowlege outside the
classroom so anyone can be a technician
http://chunkhost.com/r/getachunk - Support my VPS host sign up now
http://www.facebook.com/profile.php?ref=profile&id=100000140654932
https://www.scriptlance.com/cgi-bin/freelancers/feedback.cgi?p=rwtskraps
http://twitter.com/#!/skraps_foo
http://twitter.com/#!/phonesnake
http://skraps.pastebin.com
> Subject: Configuring grub2 on a backup disk
> From: [email protected]
> To: [email protected]
> Date: Sun, 16 Oct 2011 19:46:52 -0500
>
>
> I'm running Ubuntu 10.04, and planning to upgrade. Before I do, though,
> I want to make sure my backup/restore processes work. My backups, of
> course, have been running since I first installed 10.04, but it's only a
> restore that can demonstrate that they have been running successfully.
>
> And I've found a problem. I don't know how to get grub2 configured
> correctly, on the restored disk.
>
> Currently, my running system is on /dev/sda, with /boot on /dev/sda1
> and / on /dev/mapper/desktop-root. (I'm using logical volumes.) This
> configuration has been running successfully for several years.
>
> My restore is on /dev/sdb, with /boot on /dev/sdb1 and /
> on /dev/mapper/desktop2-root.
>
> All of the files have been restored, and /etc/fstab has been edited, on
> the restored drive, to reflect the changed logical volume name.
>
> But I only have grub installed on /dev/sda, so /dev/sdb is not bootable.
>
> I'm not looking to do anything fancy. I'm not trying to dual boot, I
> just want to be able to boot from /dev/sdb, using /dev/sdb1 as /boot,
> and /dev/mapper/desktop2-root as /. In other words, I want to do
> to /dev/sdb exactly what running update-grub would do to /dev/sda, when
> I was booted off of /dev/sda.
>
> Any ideas?
>
>
>
>
>
> _______________________________________________
> Help-grub mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-grub
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub