From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Grub boots to command prompt
Date: Thu, 24 Dec 2009 17:52:08 +0200 [thread overview]
Message-ID: <200912241752.08379.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <200912240852.37144.ddjones@riddlemaster.org>
On Thursday 24 December 2009 15:52:37 Daniel D Jones wrote:
> Just did a stage 3 install following a HD crash on a new HD. The initial
> install went without issue and I booted from the HD normally. I then went
> through and installed a bunch of packages - xorg, kde, etc. I installed
> genkernel, compiled a custom kernel, and updated /boot/grub/menu.lst.
>
> Upon rebooting, I ended up at a grub command line. I can setup the hard
> drive without errors:
>
> grub> root (hd0,0)
> Filesystem type is ext2fs, partition type 0x83
>
> grub> setup (hd0)
> Checking if "/boot/grub/stage1" exists... yes
> Checking if "/boot/grub/stage2" exists... yes
> Checking if "/boot/grub/e2fs_stage1_5" exists... yes
> Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are
> embedded. succeeded
> Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p
> (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
> Done.
>
> No errors, says everything's good. Reboot and I'm right back at the
> command line.
>
> I can do
>
> root (hd0,0)
> kernel = /vmlinuz-blah
> boot
>
> and boot into the system, so I know the system and hd0,0 is bootable. (I'm
> writing this message on it after doing the above.)
>
> There are three hard drives in the system. I've verified that the BIOS is
> set to boot from the first hard drive, which grub sees as hd0. I've also,
> just to test it out, setup grub on hd1 and hd2, with hd0,0 set as root. I
^^^^^^^^^^^^^^^^^^
> still get the same thing.
Your next paragraph indicates that (hd0,0) is not in fact root, but (what will
eventually be) /boot.
Your root is likely to be (hd0,2)
>
> Grub package version 0.97-r9 installed. /boot is mounted to sda1, an ext2
> partition. / is mounted to sda3, an ext3 partition.
>
> I'm not seeing any error messages on bootup or in grub. I have no idea
> where to go with this and so far, web searches haven't been helpful.
> Anyone have a clue?
>
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2009-12-24 16:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-24 13:52 [gentoo-user] Grub boots to command prompt Daniel D Jones
2009-12-24 15:52 ` Alan McKinnon [this message]
2009-12-24 16:32 ` Daniel D Jones
2009-12-25 10:39 ` Alan McKinnon
2009-12-24 16:24 ` [gentoo-user] Grub boots to command prompt - solved Daniel D Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200912241752.08379.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox