View previous topic :: View next topic |
Author |
Message |
divisionbyzero n00b
Joined: 27 Apr 2010 Posts: 11
|
Posted: Tue Sep 25, 2012 2:48 am Post subject: Grub Theory Question (Dual Boot Windows 7) |
|
|
Hey guys, I have a theorycraft type question.
Say I have this partition layout:
sda1 = windows 7 boot partition (that 100mb partition)
sda2 = windows 7 root partition
sda3 = linux /boot (bootable partition containing grub)
sda4 = linux root
(forget about swap)
Assuming /dev/sda3 is setup as the Bootable partition, when you're setting up grub.conf to dual boot, should you reference /dev/sda1 OR /dev/sda2?
In other words, should grub.conf contain this:
Code: | title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1 |
OR
Code: | title Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1 |
As I understand it, you should reference /dev/sda1 (hd0,0) in grub, because that partition contains the code necessary to boot into the Windows root partition on /dev/sda2.
Is this understanding correct? |
|
Back to top |
|
|
DawgG l33t
Joined: 17 Sep 2003 Posts: 871
|
Posted: Tue Sep 25, 2012 8:33 am Post subject: |
|
|
Quote: | As I understand it, you should reference /dev/sda1 (hd0,0) in grub, because that partition contains the code necessary to boot into the Windows root partition on /dev/sda2.
Is this understanding correct? |
i think this is correct.
for testing you could write two different grub menu-entries with (hd0,0) and (hd0,1) and see what happens.
GOOD LUCK! _________________ DUMM KLICKT GUT. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|