Re: Grub installation

Jeremy Whetzel <[email protected]> Tue, 22 Oct 2002 19:57:05 -0400
Newsgroups gmane.linux.gentoo.newbies
Message-ID <[email protected]>
On Tue, 22 Oct 2002 13:15:23 -0700
"Steve White" <[email protected]> wrote:

> I was reading through he archives and found several posts regarding
> grub installation problems.  I too have this problem and am in search
> of what I need to do different to fix this.  My first drive (hd0,0) is
> a win2000 disk and the second drive (hd1,0) is the gentoo disk.  when
> running grub I got an error about unrecognized partition.  This
> occurred when I tried to run root(hd0,0).

I'm guessing, from the location you're trying to run root on, that
you're wanting to boot into windows?  One thing to try would be
"rootnoverify (hd0,0)".  This would keep grub from trying to actually do
any reading of the partition in question.  Then after you enter that,
you'd do "chainloader +1" to boot it.  
 
> What do I need to change here?  My partitions are ext3 /dev/hdb1,3 and
> swap on /dev/hdb2.

It sounds here like you are trying to boot into Linux.  If so, then
you'd need to do "root (hd1,0)", and then load your kernel from there.

> I think I'll have to boot from the installation CD and do the chroot
> commands listed in the install docs - right?

Only if you wish to change the menu.lst file directly.  If you want to
do a temproary change (ie, just enough to get gentoo booted from the hd
and then work from there), then you can edit the commands directly in
grub when your computer boots up and presents you with the menu.  The
commands to do so should be at the bottom of the screen when it comes
up.

> Should I be running root (hd1,0) in grub instead?  The install docs
> seemed to lead me install on the MBR of the first disk.  The archived
> messages seem to back this up.

Running "root" doesn't install, but "setup" does.  "root" just says,
"okay, this is where I have my kernel to my system I want to boot up". 
"rootnoverify" is more like "I have my kernel or system here, but I
don't want you looking at it because you wouldn't understand it anyway."
 When/if you run "setup (hd0)", it installs grub to your MBR of your
first hard drive.  

I hope this helps you out somewhat.  Happy Gentooing!

Jeremy