All of lore.kernel.org
 help / color / mirror / Atom feed
* Help with Grub2
@ 2009-02-01  4:32 BandiPat
  2009-02-01  8:47 ` Vesa Jääskeläinen
  0 siblings, 1 reply; 12+ messages in thread
From: BandiPat @ 2009-02-01  4:32 UTC (permalink / raw)
  To: grub-devel

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





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

end of thread, other threads:[~2009-02-02  7:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-01  4:32 Help with Grub2 BandiPat
2009-02-01  8:47 ` 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

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.