public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Re: Grub problems
@ 2006-10-29 19:22 Jeff Cranmer
  2006-10-29 19:48 ` Joe Menola
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Cranmer @ 2006-10-29 19:22 UTC (permalink / raw
  To: gentoo-user

Update.

After a little bit of surfing, I tried the command grub-install --recheck /dev/sda
That changed the device map file so that the /dev/sda drive mapped to hd2

The full /boot/grub/device.map listing is now
(fd0)   /dev/fd0
(hd0)  /dev/hde
(hd1)  /dev/hdh
(hd2)  /dev/sda

I edited the grub.conf file so that the splash image and root lines reference (hd2,5), then re-ran grub-install /dev/sda.  Still no joy.  On boot up, the screen stays blank for a while, then every 10 seconds or so, it adds another " GRUB" text element to the screen.  No sign of any boot-up activity.

Jeff

-----Original Message-----
>From: Jeff Cranmer <jcranmer01@earthlink.net>
>Sent: Oct 29, 2006 1:47 PM
>To: gentoo-user@gentoo.org
>Subject: Grub problems
>
>I am trying to bring up a new Linux unit (my old desktop died on Thursday).
>My hardware is an ASUS M2NPV-VM motherboard, running an Athlon X2 3800+ Dual core processor.
>
>I have a serial ATA 250GB hard drive which I am attempting to install my OS into.  The hard drive maps in the bios to SATA4, and maps within Linux to /dev/sda.  
>
>I also have two other parallel IDE dard drives, connected via a raid controller (though not configured for RAID) to Drive numbers 0 and 3 on the RAID controller.  These drives map to hde and hdh respectively, with a DVD writer mapping to both /dev/hda and /dev/dvdrw.
>
>The bios is configured to boot first from the DVD (primary IDE master) then from the 250GB SATA hard drive.
>
>swapspace is on /dev/sda2,  /boot is on /dev/sda1, and root is on /dev/sda6
>
>I am running genkernel
>
>After I configure grub, and install grub to the mbr using grub-install, the reboot fails, with GRUB doing nothing but display the text 'GRUB'.
>
>Evidently, either I am doing something wrong at the grub-install stage, or there is a problem with grub.  I have had a similar lack of success with Fedora Core 6 and Mandriva installs (same problem).
>
>The boot partition is an ext3 filesystem
>
>My grub.conf file is as follows:
>
>default=0
>timeout=30
>splashimage=(hd0,5)/boot/grub/splash.xpm.gz
>title=Gentoo Linux 2.6.17-r8
>  root (hd0,5)
>  kernel /boot/kernel-genkernel-x86_64-2,6,17-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 udev vga=0x318 video=vesafb:mtrr:3,ywrap doscsi
>  initrd /boot/initramfs-genkernel-x86_64-2.6.17-gentoo-r8
>
>When I run grub-install /dev/sda, it reports no errors.  
>
>The device.map file contains the following
>(hd0)      /dev/sda
>This file was generated by the fedora installation (possibly the source of the problem?).
>
>Any suggestions gratefully received, as I'm trying to get this system working by the end of the weekend.
>
>Thanks in advance
>
>Jeff

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: Grub problems
  2006-10-29 19:22 [gentoo-user] Re: Grub problems Jeff Cranmer
@ 2006-10-29 19:48 ` Joe Menola
  0 siblings, 0 replies; 8+ messages in thread
From: Joe Menola @ 2006-10-29 19:48 UTC (permalink / raw
  To: gentoo-user

On Sunday 29 October 2006 1:22 pm, Jeff Cranmer wrote:
> Update.
>
> After a little bit of surfing, I tried the command grub-install --recheck
> /dev/sda That changed the device map file so that the /dev/sda drive mapped
> to hd2
>
> The full /boot/grub/device.map listing is now
> (fd0)   /dev/fd0
> (hd0)  /dev/hde
> (hd1)  /dev/hdh
> (hd2)  /dev/sda
>
> I edited the grub.conf file so that the splash image and root lines
> reference (hd2,5), then re-ran grub-install /dev/sda.  Still no joy.  On
> boot up, the screen stays blank for a while, then every 10 seconds or so,
> it adds another " GRUB" text element to the screen.  No sign of any boot-up
> activity.

Try running grub, then at the grub command line:
>root (hd2,5)
>setup /dev/sda
>quit

-jm

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: Grub problems
@ 2006-10-29 19:53 Jeff Cranmer
  0 siblings, 0 replies; 8+ messages in thread
From: Jeff Cranmer @ 2006-10-29 19:53 UTC (permalink / raw
  To: gentoo-user

I am trying to bring up a new Linux unit (my old desktop died on Thursday).
My hardware is an ASUS M2NPV-VM motherboard, running an Athlon X2 3800+ Dual core processor.

I have a serial ATA 250GB hard drive which I am attempting to install my OS into.  The hard drive maps in the bios to SATA4, and maps within Linux to /dev/sda.  

I also have two other parallel IDE dard drives, connected via a raid controller (though not configured for RAID) to Drive numbers 0 and 3 on the RAID controller.  These drives map to hde and hdh respectively, with a DVD writer mapping to both /dev/hda and /dev/dvdrw.

The bios is configured to boot first from the DVD (primary IDE master) then from the 250GB SATA hard drive.

swapspace is on /dev/sda2,  /boot is on /dev/sda1, and root is on /dev/sda6

I am running genkernel

After I configure grub, and install grub to the mbr using grub-install, the reboot fails, with GRUB doing nothing but display the text 'GRUB'.

Evidently, either I am doing something wrong at the grub-install stage, or there is a problem with grub.  I have had a similar lack of success with Fedora Core 6 and Mandriva installs (same problem).

The boot partition is an ext3 filesystem

My grub.conf file is as follows:

default=0
timeout=30
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title=Gentoo Linux 2.6.17-r8
  root (hd0,5)
  kernel /boot/kernel-genkernel-x86_64-2,6,17-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 udev vga=0x318 video=vesafb:mtrr:3,ywrap doscsi
  initrd /boot/initramfs-genkernel-x86_64-2.6.17-gentoo-r8

When I run grub-install /dev/sda, it reports no errors.  

The device.map file contains the following
(hd0)      /dev/sda
This file was generated by the fedora installation (possibly the source of the problem?).

Update:
>After a little bit of surfing, I tried the command grub-install --recheck /dev/sda
>That changed the device map file so that the /dev/sda drive mapped to hd2
>
>The full /boot/grub/device.map listing is now
>(fd0)   /dev/fd0
>(hd0)  /dev/hde
>(hd1)  /dev/hdh
>(hd2)  /dev/sda
>
>I edited the grub.conf file so that the splash image and root lines reference (hd2,5), then re-ran grub-install /dev/sda.  Still no joy.  On boot up, the screen stays blank for a while, then every 10 seconds or so, it adds another " GRUB" text element to the screen.  No sign of any boot-up activity.

Any suggestions gratefully received, as I'm trying to get this system working by the end of the weekend.

Thanks in advance

Jeff
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: Grub problems
@ 2006-10-29 19:56 Jeff Cranmer
  2006-10-29 20:11 ` Joe Menola
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Cranmer @ 2006-10-29 19:56 UTC (permalink / raw
  To: gentoo-user

>Try running grub, then at the grub command line:
>>root (hd2,5)
>>setup /dev/sda
>>quit
>
>-jm

When I run setup /dev/sda, I get the error 
"Error 11: Unrecognised device string"

Jeff

>
>-- 
>gentoo-user@gentoo.org mailing list
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: Grub problems
  2006-10-29 19:56 Jeff Cranmer
@ 2006-10-29 20:11 ` Joe Menola
  2006-10-31 17:13   ` Mick
  0 siblings, 1 reply; 8+ messages in thread
From: Joe Menola @ 2006-10-29 20:11 UTC (permalink / raw
  To: gentoo-user

On Sunday 29 October 2006 1:56 pm, Jeff Cranmer wrote:
> >Try running grub, then at the grub command line:
> >>root (hd2,5)
> >>setup /dev/sda
> >>quit
> >
> >-jm
>
> When I run setup /dev/sda, I get the error
> "Error 11: Unrecognised device string"

Try setup "(hd2)"...also I think the root command needs to be adjusted to your 
partition that contains /boot.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: Grub problems
       [not found] <6886922.1162153151682.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net>
@ 2006-10-29 23:23 ` Richard Fish
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Fish @ 2006-10-29 23:23 UTC (permalink / raw
  To: gentoo-user

On 10/29/06, Jeff Cranmer <jcranmer01@earthlink.net> wrote:
> So, since the real ordering of the drives during the boot cycle is /dev/hda (the DVD drive) then /dev/sda, does that mean that the correct sequence is
> (hd0)  /dev/dvdrw
> (hd1)  /dev/sda
> (hd2)  /dev/hde
> (hd3)  /dev/hdh,

Nope.  /dev/dvdrw isn't a "hd" device, it's cd.  If you wanted to you
could add this as "(cd0) /dev/dvdrw", but it isn't necessary assuming
you only have a single CD device.

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: Grub problems
  2006-10-29 20:11 ` Joe Menola
@ 2006-10-31 17:13   ` Mick
  0 siblings, 0 replies; 8+ messages in thread
From: Mick @ 2006-10-31 17:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

On Sunday 29 October 2006 20:11, Joe Menola wrote:
> On Sunday 29 October 2006 1:56 pm, Jeff Cranmer wrote:
> > >Try running grub, then at the grub command line:
> > >>root (hd2,5)
> > >>setup /dev/sda
> > >>quit

> Try setup "(hd2)"...also I think the root command needs to be adjusted to
> your partition that contains /boot.

Tab completion helps in this case:

grub> setup (        <--press tab here

This should list suitable devices.  If need be try them in turn.  The one with 
the OS in it should boot.  Also, if you are unsure where Grub's root is 
(typically your /boot partition) then before running the setup command you 
can run:

grub> find /boot/grub/stage1

HTH
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: Grub problems
@ 2006-10-31 17:41 Jeff Cranmer
  0 siblings, 0 replies; 8+ messages in thread
From: Jeff Cranmer @ 2006-10-31 17:41 UTC (permalink / raw
  To: gentoo-user

Thanks Mick.

The problem turned out to be hardware related.  I moved the primary SATA hard drive cable from SATA4 to SATA1, and that fixed the problem.  One fresh install later and I was up and running.

Jeff


-----Original Message-----
>From: Mick <michaelkintzios@gmail.com>
>Sent: Oct 31, 2006 12:13 PM
>To: gentoo-user@lists.gentoo.org
>Subject: Re: [gentoo-user] Re: Grub problems
>
>On Sunday 29 October 2006 20:11, Joe Menola wrote:
>> On Sunday 29 October 2006 1:56 pm, Jeff Cranmer wrote:
>> > >Try running grub, then at the grub command line:
>> > >>root (hd2,5)
>> > >>setup /dev/sda
>> > >>quit
>
>> Try setup "(hd2)"...also I think the root command needs to be adjusted to
>> your partition that contains /boot.
>
>Tab completion helps in this case:
>
>grub> setup (        <--press tab here
>
>This should list suitable devices.  If need be try them in turn.  The one with 
>the OS in it should boot.  Also, if you are unsure where Grub's root is 
>(typically your /boot partition) then before running the setup command you 
>can run:
>
>grub> find /boot/grub/stage1
>
>HTH
>-- 
>Regards,
>Mick

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-10-31 17:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-29 19:22 [gentoo-user] Re: Grub problems Jeff Cranmer
2006-10-29 19:48 ` Joe Menola
  -- strict thread matches above, loose matches on Subject: below --
2006-10-29 19:53 Jeff Cranmer
2006-10-29 19:56 Jeff Cranmer
2006-10-29 20:11 ` Joe Menola
2006-10-31 17:13   ` Mick
     [not found] <6886922.1162153151682.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net>
2006-10-29 23:23 ` Richard Fish
2006-10-31 17:41 Jeff Cranmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox