ok. Thank you very much. On 11/28/06, Andrei E. Warkentin <[EMAIL PROTECTED]> wrote:
Shouldn't have done that. I'm assuming "sys" here is from Win9X or DOS. The bootsector provided by NT looks for a file in the root of the partition called "ntldr", which in turn looks for "boot.ini" "ntdetect.com", and (obviously) ntoskrnl.exe and the initial drivers loaded. Basically, if you didn't "sys a: c:", it would have worked just fine (the way you chainload from grub looks right). But you overwrote the NT bootsector with a DOS/Win9X one that looks for io.sys/msdos.sys. Go boot from a Windows installation disk and tell it to repair your system. Andrei Evgenievich Warkentin [EMAIL PROTECTED] Cell: (+1) (847) 321-15-55 On 27.11.2006, at 17:46, zhihang wang wrote: Hi ,Coly: Thank you for your answer. I have used the command sys a: c: then when I boot from the harddisk, an error occure "missing operation system" Then I boot from my flash disk and enter the grub grub>root (hd0,0) grub>makeactive grub>chainloader +1 grub>boot then I entered the DOS. How can I load the ntldr? On 11/27/06, colyli <[EMAIL PROTECTED]> wrote: > > Wang: > > in the grub shell, type: > > >chainloader +1 > >boot > > this will help you to boot the xp. BTW, maybe you need to re-install the > grub in your ubuntu. > > Coly > > 在 2006-11-27一的 18:06 +0800,zhihang wang写道: > > Nobody? > > > > On 11/23/06, zhihang wang <[EMAIL PROTECTED]> wrote: > > There are something wrong with my mbr information. > > I installed xp on (hd0,0), ubuntu on (hd0,1). Now I can't boot > > > my pc directly from the hardisk. I can only boot it from my > > flash (u) disk. > > Because there is a grub for dos on my flash disk, I can use > > the grub. > > Then I can type > > kernel (hd0,1)/vmlinuz root=/dev/hda2 > > initrd (hd0,1)/initrd.img > > boot > > So that I can boot my pc and entered the ubuntu. > > But how can I enter the xp? > > Is it possible? > > > > -- > > Best Regards > > zhihang wang > > > > > > > > -- > > Best Regards > > zhihang wang > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > http://lists.gnu.org/mailman/listinfo/grub-devel > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Best Regards zhihang wang _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
-- Best Regards zhihang wang
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel