From: BandiPat <magicpage91@earthlink.net>
To: grub-devel@gnu.org
Subject: Help with Grub2
Date: Sat, 31 Jan 2009 23:32:53 -0500 [thread overview]
Message-ID: <498525F5.7060609@earthlink.net> (raw)
Ok, I've poured over this for 2 days now, so find myself needing some
expert help! Let me go over what I have done. I'll try to give as much
details as possible. If you don't see it, just ask.
Compiled and installed grub2. Remove LILO from MBR. Ran grub-install
/dev/sda. Run grub-setup /dev/sda. Ran update-grub to let it create a
grub.cfg file. So far, so good and checking everything, it all looks
great according to the instructions I have been able to find. By the
way, I have done a lot of researching these past 2 days! That's how I
came to find this mail list, but wanted to wait to finish my testing
before using it.
Rebooted the computer which gave me the Welcome to Grub, then the grub
rescue prompt. I tried several things there without any success. Here
are some of the things I checked. Tried setting some things there, then
boot, but no luck. Checked with the "set" command:
prefix=(hd0,2)/boot/grub
root=hd0,2
All looks good so far. Tried "boot", got error: no loaded kernel
Tried "insmod linux", got error: out of partition (I think this might
be needed for the kernel with Zenwalk)
Did "ls", got (hd0) (hd0,1) (hd0,2) (hd0,3) (hd0,4)
Used "qemu -hda /dev/sda" once which corrupted my sda2 partition, so did
a fresh install of Zenwalk. Upsetting, but no harm, no foul. Acted
like it was working, but things moved so fast, it was booting before I
could stop it. I thought it just tested, but didn't boot. That didn't
seem to be the case. After the fresh install, used it again, but it
went right back to the "grub rescue>" prompt.
Here's my provided grub.cfg:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/local/sbin/update-grub using
templates
# from /usr/local/etc/grub.d and settings from /usr/local/etc/default/grub
#
### BEGIN /usr/local/etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,2)
terminal console
### END /usr/local/etc/grub.d/00_header ###
### BEGIN /usr/local/etc/grub.d/10_hurd ###
### END /usr/local/etc/grub.d/10_hurd ###
### BEGIN /usr/local/etc/grub.d/10_linux ###
menuentry "GNU/Linux, linux 2.6.27.10" {
linux (hd0,2)/boot/vmlinuz-2.6.27.10 root=/dev/sda2 ro
}
menuentry "GNU/Linux, linux 2.6.27.10 (single-user mode)" {
linux (hd0,2)/boot/vmlinuz-2.6.27.10 root=/dev/sda2 ro single
}
### END /usr/local/etc/grub.d/10_linux ###
================
Only thing I added to try was the "insmod linux" in the upper part.
Here is my setup on the HD:
sda1=swap
sda2=/
sda3=/home
sda4
My head hurts, so I might have left something out. Just ask and I'll
try to supply it. :-)
Ok, thanks in advance. Would love to figure this out and get it
working. I'm sure it's just something small, something I'm overlooking,
but I'm just not seeing it. After I get this running, I'll be writing a
small manual to include in the Zenwalk package I've built as well as
detailed instructions on our Wiki!! ;-)
Pat
--
---Zenwalk v5.4--Linux 2.6.27---
Registered Linux User #225206
"Ever tried Zen computing?" http://www.zenwalk.org
next reply other threads:[~2009-02-01 4:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-01 4:32 BandiPat [this message]
2009-02-01 8:47 ` Help with Grub2 Vesa Jääskeläinen
2009-02-01 15:05 ` BandiPat
2009-02-01 15:23 ` Felix Zielcke
2009-02-01 16:11 ` BandiPat
2009-02-01 16:13 ` Felix Zielcke
2009-02-01 18:00 ` BandiPat
2009-02-01 18:16 ` Felix Zielcke
2009-02-01 19:09 ` BandiPat
2009-02-01 19:10 ` Felix Zielcke
2009-02-01 22:17 ` BandiPat
2009-02-02 7:26 ` Felix Zielcke
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=498525F5.7060609@earthlink.net \
--to=magicpage91@earthlink.net \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.