Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Dual booting Dell with Windows 7
Date: Tue, 02 Mar 2010 14:33:10
Message-Id: 358eca8f1003020631ta2b88e6p8af38f851030c27d@mail.gmail.com
In Reply to: Re: [gentoo-user] Dual booting Dell with Windows 7 by Mick
1 On 1 March 2010 18:09, Mick <michaelkintzios@×××××.com> wrote:
2 > On 1 March 2010 15:04, Peter Ruskin <peter.ruskin@×××××××××.com> wrote:
3
4 >> Thanks for the howto, Mick.  I followed it on my Windows Vista Home
5 >> Premium 64; got "The operation completed successfully" all the way
6 >> through, but on reboot I don't get a boot menu.
7 >
8 > Can you please post your partition table (cfdisk, or parted will do),
9 > let me know which is your Gentoo /boot partition if it is not obvious
10 > and the drive letters as understood by Vista when it is running.  A
11 > screenshot of gparted will help (email off list to keep the bandwidth
12 > down) because it also shows the Labels.
13
14 OK, from your partition scheme (received off list) I can see that
15 Vista is the first primary partition and your installation does not
16 have a separate boot partition for bootmgr.exe and BCD. This makes
17 things easier for multibooting and upgrading to Win7.
18
19 >> This doesn't matter much to me at the moment, as I use Acronis OSS
20 >> Selector for boot manager, but this doesn't work on Windows 7, so
21 >> my free update to Windows 7 is gathering dust.
22 >
23 > As long as the upgrade to Windows 7 does not mess up the MS boot
24 > partition then achieving this in Vista will be a good dry run for when
25 > you install Windows 7.  However, I am not sure that you will be able
26 > to achieve this test run while Acronis is managing your boot session.
27 > My method implies that you use the native MSWindows boot manager.
28
29 I'ved had a quick look at the Acronis OSS product. There is one thing
30 worse than the MSWindows boot managers and that is other proprietary
31 boot managers which follow the Microsoft design philosophy! Ha, ha!
32 :-) Unfortunately, Acronis OSS is rather intrusive in how it manages
33 the boot process. It moves all Vista boot files into a separate
34 folder and then it takes over the boot process with its own
35 (undocumented?) mechanisms. Also, it does the same with other OS'
36 boot partitions (i.e. writes files in their partitions and moves
37 things around).
38
39 If you wish to move on from Vista to Win7, or want to first try out my
40 suggested boot method, then I suspect that the safest approach would
41 be to first uninstall the Acronis OSS. Hopefully, it will
42 sympathetically restore the original Vista boot files and MBR and get
43 itself out of the way. If not, which is what I suspect will happen,
44 then you may end up with an unbootable Vista. Either way, I wouldn't
45 worry about your Linux system because it will be easily made bootable
46 again by installing GRUB in the MBR with a Live CD.
47
48 I can see the following options open to you:
49
50 1. Repair Vista:
51
52 Essentially you want to restore Vista to its original condition as it
53 was before you installed Acronis OSS. Follow the Acronis instructions
54 and uninstall Acronis, then boot into Vista. If Acronis uninstalls
55 cleanly and restore the MBR you should be able to boot into Vista and
56 follow my instructions for setting up multibooting. If the Acronis
57 instructions ask you to use a Vista CD and run Startup Repair then it
58 means that it will probably need to reinstall the Vista bootloader
59 code (IPL) in the MBR and I suspect it may also rebuild its BCD file.
60 If not and Vista does not boot, then you need to use your Vista CD to
61 auto-repair your Vista boot system as detailed here:
62
63 http://support.microsoft.com/kb/927391
64
65 or use bootrec.exe as described here:
66
67 http://support.microsoft.com/kb/927392
68
69 or if you know what you need to do, run bootrec.exe /fixmbr,
70 bootrec.exe /fixboot and finally BCDedit.exe to do it manually.
71
72 Then follow my instructions and you should be able to multiboot fine.
73 BTW, because your Vista partition is both your MSWindows boot and
74 system partition, your do not need to redefine the boot device with a
75 drive letter C: as in my last step. Just define it once only as per:
76
77 bcdedit /set {fda5ebf7-119b-11df-969c-f924691e8117} device boot
78
79 and thereafter Vista bootmgr.exe should know where to look into to
80 find boot.lnx, i.e. in your first NTFS partition.
81
82 2. Upgrade straight to Win7:
83
84 If you ask it to do a clean installation in your first partition
85 (rather than back up all Vista files to allow you to downgrade to
86 Vista later should you wish to) then it will format the Vista
87 partition, blow away everything including the Acronis boot code from
88 the MBR and install Win7. If Win7 asks you to create a separate boot
89 partition, then you say No (because you haven't any spare partitions
90 and it may decide to wipe one of your Linux partitions and use that
91 instead!) When it completes installing Win7 in your first primary
92 partition you boot into it and follow my instructions with the bcdedit
93 command.
94
95 3. If you are not worried about warranty claims and what not, then
96 you can install GRUB in the MBR and chainload Vista or Win7 from it,
97 after you repair Vista or install Win7.
98
99 BTW, disabling/deactivating Acronis OSS won't work, because Vista
100 requires to access the original MBR code with partition IDs to know
101 which partition to jump to. I am not entirely sure what deactivating
102 the Acronis OSS does, because it is still running from the MBR and it
103 may or may not be able to interpret the BCD partition IDs. Hope this
104 helps.
105 --
106 Regards,
107 Mick

Replies

Subject Author
Re: [gentoo-user] Dual booting Dell with Windows 7 Peter Ruskin <peter.ruskin@×××××××××.com>