bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A Question about GRUB Chainloading


From: sina khaknezhad
Subject: A Question about GRUB Chainloading
Date: Mon, 10 Apr 2006 16:57:49 +0430

Hello,
I have a question about GRUB that has confused me for quite a while.

I have installed Windows XP on my first (C:)  Partition. After that, I installed
SuSE Linux 9.3, and chose GRUB to be installed on MBR.
There is no problem with booting. Windoz is booted by chainloading (hd0,0), and Linux kernel is
loaded by GRUB.

But when I make an image of my MBR ( dd if=/dev/hda1 of=/tmp/MBR )
and issue the linux "file" command on it, file says that it is a Windows XP boot partition.

Here are my two questions:

1) I have installed GRUB on MBR, right?
so "file" should say something like it is a X86 boot sector not a Window XP  boot sector!. what is
 wrong here? Where is GRUB stage 1 installed then?

2) When I manually install  GRUB on MBR, chainloading (hd0,0) would bring up
the GRUB menu again, and not the Windows, which is quite logical in my opinion because GRUB is sitting
in the boot sector of my (hd0,0) and by chainloading, reloads itself.
so how the version of GRUB installesd by SuSE on MBR boots windowz?

I have searched the web quite for a while for this confusing issue, but found nothing.
It would be great and I would appreciate if you could help me.

Thank you very much

Sina
reply via email to

[Prev in Thread] Current Thread [Next in Thread]