Gentoo Archives: gentoo-user

From: "»Q«" <boxcars@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [OT] LENOVO Z510 + Dual Boot + Gentoo == True ?
Date: Tue, 25 Mar 2014 19:55:38
Message-Id: 20140325145438.1cc42530@sepulchrave.remarqs
In Reply to: Re: [gentoo-user] Re: [OT] LENOVO Z510 + Dual Boot + Gentoo == True ? by Matti Nykyri
1 On Sun, 16 Mar 2014 11:07:49 +0200
2 Matti Nykyri <matti.nykyri@×××.fi> wrote:
3
4 > On Mar 15, 2014, at 19:17, »Q« <boxcars@×××.net> wrote:
5 >
6 > > On Mon, 10 Mar 2014 13:33:20 +0000
7 > > Mick <michaelkintzios@×××××.com> wrote:
8 > >
9 > >> On Saturday 08 Mar 2014 20:22:12 »Q« wrote:
10 > >>> On Sat, 08 Mar 2014 08:23:21 +0100
11 > >
12 > >>> grub booted Gentoo just fine, but Windows booting failed,
13 > >>> something about not finding partitions or files. Instead of
14 > >>> troubleshooting that, I disabled os probing for grub
15 > >>> (GRUB_DISABLE_OS_PROBER=true in /etc/default/grub) and added
16 > >>> Windows via /etc/grub.d/40_custom , like so:
17 > >
18 > >> If you moved the MSWindows OS or boot partitions then the UUIDs
19 > >> would have changed.
20 > >
21 > > I moved the OS partition, and it's UUID did indeed change.
22 > >
23 >
24 > I have swaped the hard drive from my dual boot box and ran into the
25 > same problem trying get windows 7 to boot. As you also quite fast
26 > realice by reading different forums that changing windows boot
27 > parameters is a quite big hassle. I would not go that way! You have
28 > another simpler solution.
29 >
30 > Change the hard disk device ID to the same value as the old disk. It
31 > is written on MBR. Change the UUID of the windows partition to the
32 > same as on the old partition. UUID on NTFS partition is written at
33 > the beginning of the partition at 0x48-4F.
34 >
35 > So by changing 2x16 bytes of data your machine should boot again
36 > correctly. Also if you grub is not on the same physical disk as
37 > windows then you need trick windows by changing the order with grub
38 > before booting (see map command)
39
40 Thanks. That is a lot simpler, but I'm too scared I'd screw it up.