From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Gentoo failed to start
Date: Thu, 31 Aug 2006 11:56:50 -0700 [thread overview]
Message-ID: <7573e9640608311156t1b3aed4fr719642f443374187@mail.gmail.com> (raw)
In-Reply-To: <20060831155624.16557.qmail@web35203.mail.mud.yahoo.com>
On 8/31/06, Stephen Liu <satimis@yahoo.com> wrote:
> # grub install /dev/hda
> df: Warning: cannot read table of mounted filesystems
> df: Warning: cannot read table of mounted filesystems
> Could not find device for /boot: Not found or not a block device.
> * end *
I assume you meant grub-install /dev/hda?
Try instead:
cat << EOF | grub
root (hd0,0)
setup (hd0)
EOF
You should see a line that says:
Running "install /grub/stage1 (hd0) (hd0)1+18 p (hd0,0)/grub/stage2
/grub/menu.lst"... succeeded
(It is okay if the paths above are /boot/grub/foo instead of /grub/foo)
> Should I put (hd0,1) for my case? I followed the sample in the guide
> book.
No, that would be equivalent to /dev/hda2. Grub partition numbers
start at 0. Your grub.conf is correct, although I would probably use:
title=Gentoo linux 2.6.17.-r7
kernel (hd0,0)/kernel-2.6.17-gentoo-r7 root=/dev/hda2
> On reboot only a black screen displayed. Please advise how to fix the
> problem. TIA
What do you mean? Do you not even get the grub boot prompt? If so,
try my grub setup instructions above...
-Richard
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-08-31 19:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-31 15:56 [gentoo-user] Gentoo failed to start Stephen Liu
2006-08-31 16:27 ` Jarry
2006-08-31 17:57 ` Neil Bothwick
2006-09-01 1:54 ` Stephen Liu
2006-09-01 2:25 ` Richard Fish
2006-09-01 2:51 ` Stephen Liu
2006-09-01 4:35 ` Stephen Liu
2006-09-01 4:51 ` Richard Fish
2006-09-01 6:50 ` Stephen Liu
2006-09-01 9:32 ` Richard Fish
2006-08-31 18:56 ` Richard Fish [this message]
[not found] <20060901144037.98416.qmail@web35206.mail.mud.yahoo.com>
2006-09-01 16:01 ` Stephen Liu
2006-09-01 19:11 ` Richard Fish
2006-09-01 23:46 ` Stephen Liu
2006-09-02 1:52 ` Richard Fish
2006-09-03 8:56 ` Nick Rout
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=7573e9640608311156t1b3aed4fr719642f443374187@mail.gmail.com \
--to=bigfish@asmallpond.org \
--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