Windows boot
----- Original Message ----
From: Javier Martín <[email protected]>
To: The development of GRUB 2 <[email protected]>
Sent: Friday, 8 August, 2008 3:56:35 AM
Subject: Re: Windows boot
Hi again,
2008/8/7 Viswesh S <[email protected]>:
Quoted 17 lines
Hi,
I installed ubuntu in the same harddisk(hda) as windows.
After installing ubuntu, using grub legacy, I was able to log in to windows, using the entries, rootnoverify and chainloader +1.
But when I install grub2 and then modify the grub.cfg with the following, statements, it is not working, says ...A disk read error occurred ,Press Ctrl+Alt+Del .
This is my grub.cfg
menuentry "Windows" {
set root=(hd0,3)
chainloader +1
Quoted 8 lines
}
My windows file sytem is in NTFS and not vfat
One more thing to check with is, the need of ntfs mod present as part of grub2.So where exactly that is getting used,though I have tried to load the module ntfs and ntfscomp in grub using insmod in grub menu,...but no positive results.
The FS only matters if you try to access files on the volume, but chainloader just reads raw sectors from disk, so the FS module does not matter: you could have an SFS partition for the sake of it and it would work if the superblock was executable.
Quoted 2 lines
What might be in grub2, which prevents windows to boot.
Hmm... you could try booting (hd1) instead of (hd1,1), i.e. Windows'
MBR instead of its boot sector directly. I'll be back in town tomorrow
night and then I'll be able to look at my own GRUB config file, but
Windows has always been a wild beast to master. For the record, my
tests were with Windows XP Home in an Athlon X2 and with Windows XP
x64 on an Athlon 64. Thus, I don't know if Intel CPUs triple-fault on
my code (improbable, because it runs on QEMU) or if Windows Vista
(which has a changed boot process) works with it.
Hi,
Windows I am trying to boot is Windows Server 2003, but anyway that doesnt matter, as from legacy grub,I am able to boot.This makes it more interesting, as I feel we are missing some small intricacy in grub2 in this case. Let me also have a look.
Viswesh
Quoted 4 lines
Viswesh
Quoted 8 lines
________________________________
Unlimited freedom, unlimited storage. Get it now
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/
Quoted 54 lines · Viswesh S
----- Original Message ----
From: Javier Martín <[email protected]>
To: The development of GRUB 2 <[email protected]>
Sent: Friday, 8 August, 2008 3:56:35 AM
Subject: Re: Windows bootHi again,
2008/8/7 Viswesh S <[email protected]>:
Quoted 20 lines
Hi,
I installed ubuntu in the same harddisk(hda) as windows.
After installing ubuntu, using grub legacy, I was able to log in to windows,
using the entries, rootnoverify and chainloader +1.But when I install grub2 and then modify the grub.cfg with the following, statements, it is not working, says ...A disk read error occurred ,Press Ctrl+Alt+Del .
This is my grub.cfg
menuentry "Windows" { set root=(hd0,3) chainloader +1}
Quoted 7 lines
My windows file sytem is in NTFS and not vfat
One more thing to check with is, the need of ntfs mod present as part of grub2.So where exactly that is getting used,though I have tried to load the
module ntfs and ntfscomp in grub using insmod in grub menu,...but no positive results.The FS only matters if you try to access files on the volume, but chainloader just reads raw sectors from disk, so the FS module does not matter: you could have an SFS partition for the sake of it and it would work if the superblock was executable.
Quoted 2 lines
What might be in grub2, which prevents windows to boot.
Hmm... you could try booting (hd1) instead of (hd1,1), i.e. Windows' MBR instead of its boot sector directly. I'll be back in town tomorrow night and then I'll be able to look at my own GRUB config file, but Windows has always been a wild beast to master. For the record, my tests were with Windows XP Home in an Athlon X2 and with Windows XP x64 on an Athlon 64. Thus, I don't know if Intel CPUs triple-fault on my code (improbable, because it runs on QEMU) or if Windows Vista (which has a changed boot process) works with it.
Quoted 8 lines
Hi,
Windows I am trying to boot is Windows Server 2003, but anyway that doesnt matter, as from legacy grub,I am able to boot.This makes it more interesting, as I feel we are missing some small intricacy in grub2 in this case.
Let me also have a look.
Hi,
What's the command you use in grub legacy ?
BTW, you should know that device number of grub2 is not the same as grub legacy, the first partition is (hd0,1) instead of (hd0,0). Anyway, you can use ls to list the current devices.
Signature · 1 line
Bean