[vox-tech] grub questions
Peter Jay Salzman
p at dirac.org
Tue Aug 10 05:39:46 PDT 2004
On Mon 09 Aug 04, 4:43 PM, Matt Roper <matt at .com> said:
> On Mon, Aug 09, 2004 at 06:12:50PM -0400, Peter Jay Salzman wrote:
> > On Mon 09 Aug 04, 3:03 PM, Matt Roper <matt at mattrope.com> said:
> > > On Mon, Aug 09, 2004 at 05:41:03PM -0400, Peter Jay Salzman wrote:
> > > ...
> > > > title Windows NT/2000/XP
> > > > root (hd1,0)
> > > > savedefault
> > > > makeactive
> > > > chainloader +1
> > > >
> > > > I'd like to put "boot" at the end of the Win2k stanza, but when I type
> > > > "boot" at the grub prompt, it tells me that the kernel needs to load
> > > > before booting (huh?).
> > >
> > > I don't think you want "boot" at the end of Win2K because, despite
> > > the appearance, GRUB does not really boot windows. It doesn't know
> > > anything about starting up the Windows kernel, so it just delegates this
> > > responsibility the windows boot loader which is (in your example) on
> > > the boot sector of (hd1,0). The Windows boot loader then takes care of
> > > figuring out what/where the Windows kernel is, how to launch it, what
> > > filesystems to use, and other stuff like that.
> >
> > Sounds simple enough. But how do I get the Win bootloader to do its
> > stuff? When choosing "Win2k" from Grub's menu list, I just get the grub
> > prompt.
> >
> > Any idea how to get Grub to pass control to whatever is sitting in the
> > MBR of (hd1,0)?
>
> Your config already looks like it *should* be passing control to the
> boot sector of (hd1,0).
>
> I have no experience with SATA or its drive naming/numbering scheme so I
> wonder if Grub could be numbering things differently than you expect.
> Can you double check the mappings in /boot/grub/device.map?
I didn't know about this file. Thanks! Unfortunately, it looks good:
(hd0) /dev/hda
(hd1) /dev/hde
(hd2) /dev/hdg
and the Windows grub entry wants to access (hd1,0). Which is correct.
> Also, at the grub prompt, try typing "root (" and then using tap
> completion to select the drive and partition; that might give you some
> clues about what Grub thinks it's loading.
I see:
grub> root (<TAB>
Possible disks are: fd0 hd0 hd1 hd2
So I completed it:
grub> root (hd1,0)
but not much happened. :(
Thanks!
Pete
More information about the vox-tech
mailing list