I notice you said you tried "setup (hd0,0)". That would be the first partition on the first hard drive (/dev/hda1). To install Grub into the master boot record the command would be "setup (hd0)".
Hope this helps. On Thu, 2003-03-06 at 13:04, Ajay Sharma wrote: > hey everyone, > > I just finished rebuilding my machine and I repartitioned my box so that > it looks like: > > /dev/hda1 = windows xp (ntfs) > /dev/hda2 = linux swap > /dev/hda3 = gentoo (ext3) > > no, I don't have a separate /boot partition. Anyway, I followed the > installation instructions (excellent btw!) and I'm having problems > getting grub to install on my MBR. In the grub prompt, when I type in > "root(hd0,0)" it would come back with something like "unrecognized file > type". After that it's pretty obvious that the "setup(hd0,0)" wasn't > going to work. I then ran root(hd0,2) and that went over fine but now > when I boot up it goes right into windows xp and not the grub boot > loader because it's not installed on the MBR. > > I'd appreciate any help. > > Thanks, > Ajay > > -------------------------------------------------------------------- > Satyajot (Ajay) Sharma > [EMAIL PROTECTED] > -------------------------------------------------------------------- > > > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
