LinHES Forums
http://forum.linhes.org/

GRUB entry
http://forum.linhes.org/viewtopic.php?f=14&t=11814
Page 1 of 1

Author:  Andruk Tatum [ Mon Sep 25, 2006 1:22 am ]
Post subject:  GRUB entry

so, i have Knoppmyth R5D1 installed on hda1. lilo is installed on the same. I have an old grub installed on the mbr. so, how do i chainload from grub into lilo? i need these questions answered:

*** what kernel is R5D1?
*** what should initrd be?

Here is my existing entry (doesnt work):
Code:
# This entry is added by me.  Knoppmyth section.
title      Knoppmyth
root      (hd0,0)
rootnoverify (hd0,0)
makeactive
chainloader   +1

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
#title      Microsoft Windows XP Home Edition
#root      (hd0,0)
#savedefault
#makeactive
#chainloader   +1


knoppmyth replaced the XP partition.

Author:  mjl [ Mon Sep 25, 2006 3:57 pm ]
Post subject: 

Hi,
Don't know how you have grub however you will need to edit menu.lst

Mine looks like this:

title KnoppMyth (on /dev/sda5)
root (hd0,2)
kernel /boot/vmlinuz-2.6.17-chw-8 root=/dev/sda5 ro splash=silent apm=power-off nomce
initrd /boot/initrd.gz
savedefault
boot

notice the (hd0,#) is one less than the actual partition. Watch out for the line wrap. You could have setup dual boot.
Mike

Author:  Andruk Tatum [ Mon Sep 25, 2006 10:47 pm ]
Post subject:  Cool

I actually figured it out, and it looks pretty much like that, thanks!

I am actually trying to chainload. GRUB boots first, and would be my ubuntu instal, and then it would turn over stuff to lilo (if i wanted knoppmyth) which would only handle knoppmyth, and be set to just load knoppmyth.

However, as I (and you) have it, grub can fire up whatever it feels like booting (completely skipping lilo).

Author:  mjl [ Mon Sep 25, 2006 10:54 pm ]
Post subject: 

Hi,
Yes, I really like grub.. If you upgrade in the future, besure to do it as a manual install and save lilo to partition or it will hose grub. I don't know how to recover from that oop :(

Then you can simply edit /boot/grub/menu.lst to reflect the changes as in kernel numbers.

Best of luck and enjoy KM!
Mike

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/