l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
April 21: Google Glass
Next Installfest:
TBD
Latest News:
Mar. 18: Google Glass at LUGOD's April meeting
Page last updated:
2004 Aug 10 08:38

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] grub questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] grub questions



On Mon 09 Aug 04,  4:43 PM, Matt Roper <matt@.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@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
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!