On Sun, 16 Mar 2014 11:07:49 +0200 Matti Nykyri <[email protected]> wrote:
> On Mar 15, 2014, at 19:17, »Q« <[email protected]> wrote: > > > On Mon, 10 Mar 2014 13:33:20 +0000 > > Mick <[email protected]> wrote: > > > >> On Saturday 08 Mar 2014 20:22:12 »Q« wrote: > >>> On Sat, 08 Mar 2014 08:23:21 +0100 > > > >>> grub booted Gentoo just fine, but Windows booting failed, > >>> something about not finding partitions or files. Instead of > >>> troubleshooting that, I disabled os probing for grub > >>> (GRUB_DISABLE_OS_PROBER=true in /etc/default/grub) and added > >>> Windows via /etc/grub.d/40_custom , like so: > > > >> If you moved the MSWindows OS or boot partitions then the UUIDs > >> would have changed. > > > > I moved the OS partition, and it's UUID did indeed change. > > > > I have swaped the hard drive from my dual boot box and ran into the > same problem trying get windows 7 to boot. As you also quite fast > realice by reading different forums that changing windows boot > parameters is a quite big hassle. I would not go that way! You have > another simpler solution. > > Change the hard disk device ID to the same value as the old disk. It > is written on MBR. Change the UUID of the windows partition to the > same as on the old partition. UUID on NTFS partition is written at > the beginning of the partition at 0x48-4F. > > So by changing 2x16 bytes of data your machine should boot again > correctly. Also if you grub is not on the same physical disk as > windows then you need trick windows by changing the order with grub > before booting (see map command) Thanks. That is a lot simpler, but I'm too scared I'd screw it up.

